• 1(current)
  • 2
  • 3
  • 4
  • 5
  • 15
[RELEASE] script.extrafanartdownloader
#1
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.ext...downloader

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 Big Grin
Reply
#2
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).

This script requires an xbmc nightly build of at least September 21st or later

Current Features:
- TV bulk mode (downloads all extrafanart for every tv show in your library)

Todo:
- Solo mode (download all extrafanart for only one tv show/movie)
- Movie fanart

Download: https://github.com/downloads/paddycarey/...-0.1.5.zip
Github project page: https://github.com/paddycarey/script.ext...downloader

Great work ! Working perfect for TV Shows. Looking forward to see it working for movies. Smile
Cheers
Reply
#3
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.
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
#4
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. Smile
Reply
#5
paddycarey Wrote: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. Smile



I also think so.

__________________
Watch 50/50 Movie Online Free
Reply
#6
paddycarey Wrote: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. Smile

Ok. Didn't know that. Will fix that.

EDIT:
Fixed and send PR
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
#7
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 ?
Reply
#8
butchabay Wrote: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 ?

Better is an option to enable/disable the current download status notification.
Nightly sept.24 worked ok so think there where some code changes.
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
#9
Machine-Sanctum Wrote:Better is an option to enable/disable the current download status notification.
Nightly sept.24 worked ok so think there where some code changes.

An option would be better, yes.
It worked fine with the build of 25. Sep. ... let's wait and hope ... Smile
Reply
#10
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!
Reply
#11
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.

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!

As said, yesterday it worked fine. Extrafanart folder in the TV Show root has been created by the script itself.
Reply
#12
butchabay Wrote: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 ?

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.
Reply
#13
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. :-)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#14
ronie Wrote:
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. :-)
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.
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
#15
New version posted which should hopefully solve the directory creation and timeout issues. Link in OP.
Reply
  • 1(current)
  • 2
  • 3
  • 4
  • 5
  • 15

Logout Mark Read Team Forum Stats Members Help
[RELEASE] script.extrafanartdownloader2