zeltak wrote:Hi again (and good morning?

)
where do you live btw? i live in Boston, so by the time zone diffrences i guess you live somewhere very east of here

早上好呀!刚起床了。。。haha, yep, over in Beijing studying the mandarin. 哈哈
zeltak wrote:oh before i forget, is there a roadmap you have for the project? i can add that to the FAQ or other area or in the documentaion file? (and it also will stop users like me from bugging you with request you already plan on implementing

)
The roadmap I got is "Subtitle Upload" but noboby ever seems to request that one, so I don't much work on that. But it's like with banners/nfo, the internal code is basically all there. Just not tested. Making a simple & smart GUI is the hard part anyway.
zeltak wrote:
i have tried to modify the script as you said but as always i failed misrably

..here is how it looks after i changed it:
right now it just hangs there kinda stuck and dosent seem to dl either the fanart or the nfo file
That looks good. You realize that the point of console.readLine() is to read user input? It will wait for you to enter something. So after "Enter Query:". It's waiting for you to type and enter something, which will then be used as query.
zeltak wrote:
Note to myself..start learning some basic java
Read up on some Groovy, it's like Java on steroids.
zeltak wrote:
Also regarding the downloaded files..would it be possible: a)to specify that the fanart and general series image (banner) go to the root folder of the series? (currently the script sticks it in the season 1 folder). i personally dont need the per season images (although some users might like that) but these can stay in the season folder.
So the seasons parent folder is always the series folder? Then it's no problem.
Code: Select all
// fetch series banner, fanart, posters, etc
fetchBanner(dir, "../folder", series, "poster", "680x1000")
fetchBanner(dir, "../banner", series, "series", "graphical")
// fetch highest resolution fanart
["1920x1080", "1280x720"].findResult{ bannerType2 -> fetchBanner(dir, "../fanart", series, "fanart", bannerType2) }
// fetch season banners
seasons.each { s ->
fetchBanner(dir, "folder", series, "season", "season", s)
fetchBanner(dir, "banner", series, "season", "seasonwide", s)
}
Notice how I just added a "../" to the filename parameter of fetchBanner(). That means go down to the parent folder and then put the file there.
zeltak wrote:
Btw currently the nfo file the script dloads isnt formated to the XBMC xml format so it dosent help much but i guess its cool its in the code as in the future it can be uses that to extend the filebot features
That can easly be changed. Paste me a sample xml and I'll change the format to that.