[RELEASE] script.extrafanartdownloader - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151) +---- Thread: [RELEASE] script.extrafanartdownloader (/showthread.php?tid=111031) |
[RELEASE] script.extrafanartdownloader - paddycarey - 2011-09-26 Hi, this script automates the process of downloading extrafanart for your tv and movies. In order for this script to work, each TV and movie in your library must be in their own folder. You can enable/disable downloading each type of fanart in the addon settings. Current Features: - TV fanart - Movie fanart - Bulk mode (download all extrafanart for every tv show/movie) - Solo mode (download all extrafanart for only one tv show/movie) - Centralised fanart directories (Copy all tv/movie fanart to central directories which can then be used as multi image backdrops) - Limit number of fanart downloaded per item. - Limit fanart by rating - Limit fanart by language - Download fanart with or without text - Eden support (requires an xbmc nightly build of September 21st or later) - Dharma support. (If you use a protected smb:// share you need to add your user/pass in the addon settings)) - Run script in background Todo: - Music Fanart The latest stable version can now be downloaded from the official repo for both Dharma and Eden. If you would like to help us test you can download the current git version at: Github project page: https://github.com/paddycarey/script.extrafanartdownloader If anyone finds any bugs or has any suggestions please add them to issues on github or let me know here. We'd also really appreciate any translations anyone'd like to help us out with. putneyj is also working on the script so hopefully bugfixes and improvements should be coming even quicker now. Thanks also to Machine-Sanctum for translations, documentation and other help - butchabay - 2011-09-26 paddycarey Wrote:Hi, I've been writing a script to automate the process of downloading extrafanart for tv and movies. I've gotten the script to a point where I think it'll be useful for other people so I'm posting here in the hopes that it'll get more users for testing. It's still in the early stages of development but works well enough for tv fanart (for me at least). Great work ! Working perfect for TV Shows. Looking forward to see it working for movies. Cheers - Martijn - 2011-09-26 Works great so far. Also when using smb:// sources. Will check my logs for possible error later. BTW: Send you something on github. See if you like it. - paddycarey - 2011-09-27 Machine-Sanctum Wrote:BTW: Send you something on github. See if you like it. Cheers, pull request merged. Still new to git so I hope i did it right. Like the icon, but think it needs changed to fit the official guidelines. I don't believe it's allowed to have any transparency. I'll have a look at it tomorrow if I get a chance. - emmahudson88 - 2011-09-27 paddycarey Wrote:Cheers, pull request merged. Still new to git so I hope i did it right. I also think so. __________________ Watch 50/50 Movie Online Free - Martijn - 2011-09-27 paddycarey Wrote:Cheers, pull request merged. Still new to git so I hope i did it right. Ok. Didn't know that. Will fix that. EDIT: Fixed and send PR - butchabay - 2011-09-27 Would be nice to see a notification bar, see the progress of downloaded fanarts. For some reason i don't get any extrafanarts with the latest nightly (26. Sep.) I start the script, Downloading, 0 extrafanarts Downloaded. I'll try this evening again, someone else having issues ? - Martijn - 2011-09-27 butchabay Wrote:Would be nice to see a notification bar, see the progress of downloaded fanarts. Better is an option to enable/disable the current download status notification. Nightly sept.24 worked ok so think there where some code changes. - butchabay - 2011-09-27 Machine-Sanctum Wrote:Better is an option to enable/disable the current download status notification. An option would be better, yes. It worked fine with the build of 25. Sep. ... let's wait and hope ... - flobbes - 2011-09-27 At first the script didn't work for me. I looked into the logs and realized that the script wanted to copy the files to an not existing dir. After I created the "script.extrafanartdownloader/temp/" directory it worked fine. Although I found the line in the script to create the folder, something must have gone wrong. Thanks for the great script! - butchabay - 2011-09-27 flobbes Wrote:At first the script didn't work for me. I looked into the logs and realized that the script wanted to copy the files to an not existing dir. As said, yesterday it worked fine. Extrafanart folder in the TV Show root has been created by the script itself. - paddycarey - 2011-09-27 butchabay Wrote:Would be nice to see a notification bar, see the progress of downloaded fanarts. Script still seems to be working fine for me with a nightly of 26th September. The downloading code is still a bit fragile and doesn't time out properly sometimes when there are errors causing the script to take ages to complete. It will eventually complete, there's just no feedback as to what the script's doing so you can't really tell if it's crashed or not. Got some ideas on how to fix it though. - ronie - 2011-09-27 Code: tempdir = xbmc.translatePath('special://profile/addon_data/%s/temp/' % __addonid__) creating the initial directories will fail (at least on linux) for 2 reasons: - there shouldn't be a slash at the end of the path - you can't create a temp dir if the parent folder doesn't exist (yet). other than that, the script runs fine on my end, both local and smb shares. :-) - Martijn - 2011-09-27 ronie Wrote:First time i ran the script had the same. Seccond time it work great. so this is the same on windows i think. Tried tried yesterday to shutdown xbmc while running scipt. I think it keeps running until finished. Maybe adding a abortrequest to the code. So when xbmc tries to shutdown it first closes the script. - paddycarey - 2011-09-27 New version posted which should hopefully solve the directory creation and timeout issues. Link in OP. |