Kodi Community Forum
Artwork Downloader - Printable Version

+- Kodi Community Forum (http://forum.kodi.tv)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (/forumdisplay.php?fid=151)
+---- Thread: Artwork Downloader (/showthread.php?tid=114633)



RE: [Release] Artwork Downloader - shaktoo - 2012-03-13 14:39

Thanks for the Quick reply , Will remained tuned in


RE: [Release] Artwork Downloader - lrusak - 2012-03-15 06:05

I have a bit of a problem. I am running xbmc on my HTPC which pulls files via SMB off my server.

it seems that sometimes the extrafanart doesn't download properly as shown in the attached picture. Is there any reason for this?

[attachment=188]


RE: [Release] Artwork Downloader - Martijn - 2012-03-15 08:08

Can you give me a full Debug Log when downloading images for those movies?


RE: [Release] Artwork Downloader - lrusak - 2012-03-16 02:52

(2012-03-15 08:08)Martijn Wrote:  Can you give me a full debug log when downloading images for those movies?

unfortunately I can't paste the whole log as it is 3MB big and pastebin only allows up to 500KB. I have included the offending parts though

http://pastebin.com/0YMwRmsk

I am also going to try and change the permissions on my files and retry to see if it helps.


RE: [Release] Artwork Downloader - Martijn - 2012-03-16 13:33

(2012-03-16 02:52)lrusak Wrote:  
(2012-03-15 08:08)Martijn Wrote:  Can you give me a full debug log when downloading images for those movies?

unfortunately I can't paste the whole log as it is 3MB big and pastebin only allows up to 500KB. I have included the offending parts though

http://pastebin.com/0YMwRmsk

I am also going to try and change the permissions on my files and retry to see if it helps.

Maybe something with the path splitting in the code. Can you add something to the media_setup.py code and test again?
add: print path
like example below to media_setup.py aournd line 138 and 145
PHP Code:
def media_path(path):
    
# Check for stacked movies
    
print path
    
try:
        
path os.path.split(path)[0].rsplit(' , '1)[1]
    
except:
        
path os.path.split(path)[0]
    
# Fixes problems with rared movies
    
if path.startswith("rar"):
        
path os.path.split(urllib.url2pathname(path.replace("rar://","")))[0]
    print 
path
    
return path 

Upload the log to http://paste.ubuntu.com
The part from where Artwork Downloader starts is enough.
They have no file size limit.


RE: [Release] Artwork Downloader - lrusak - 2012-03-16 21:01

(2012-03-16 13:33)Martijn Wrote:  Maybe something with the path splitting in the code. Can you add something to the media_setup.py code and test again?
add: print path
like example below to media_setup.py aournd line 138 and 145
PHP Code:
def media_path(path):
    
# Check for stacked movies
    
print path
    
try:
        
path os.path.split(path)[0].rsplit(' , '1)[1]
    
except:
        
path os.path.split(path)[0]
    
# Fixes problems with rared movies
    
if path.startswith("rar"):
        
path os.path.split(urllib.url2pathname(path.replace("rar://","")))[0]
    print 
path
    
return path 

Upload the log to http://paste.ubuntu.com
The part from where Artwork Downloader starts is enough.
They have no file size limit.

I added the print path lines to media_setup.py and here is the log

http://paste.ubuntu.com/886739/

I hope this helps you


RE: [Release] Artwork Downloader - Martijn - 2012-03-17 02:35

(2012-03-16 21:01)lrusak Wrote:  I added the print path lines to media_setup.py and here is the log

http://paste.ubuntu.com/886739/

I hope this helps you

Not really Tongue

Not your fault though. The data from the library was cached so it never hit that part you changed.
Tried myself and could not replicate your problem (using XBMC for Windows)

Please try this code
copy/paste it into media_setup.py and re-run the addon.
can you please add the first line of the log to that contain the XBMC version and platform.


RE: [Release] Artwork Downloader - lrusak - 2012-03-17 06:47

(2012-03-17 02:35)Martijn Wrote:  Not really Tongue

Not your fault though. The data from the library was cached so it never hit that part you changed.
Tried myself and could not replicate your problem (using XBMC for Windows)

Please try this code
copy/paste it into media_setup.py and re-run the addon.
can you please add the first line of the log to that contain the XBMC version and platform.

this is what I did, just so you know.

Code:
cd /storage/.xbmc/addons/script.artwork.downloader/resources/lib/
wget -O media_setup.py http://pastebin.com/download.php?i=NXHEWNqq

anyways, it just errors saying script failed when I try to run it on XBMC

here is my log

http://paste.ubuntu.com/887357/

thanks for all the help


RE: [Release] Artwork Downloader - Martijn - 2012-03-17 13:25

ok see the problem. It happens only with stacked movies and i didnçt try that myself.
Will see for a fix in next version.

Edit:
Try the latest version from downloads


RE: [Release] Artwork Downloader - lrusak - 2012-03-17 21:49

(2012-03-17 13:25)Martijn Wrote:  ok see the problem. It happens only with stacked movies and i didnçt try that myself.
Will see for a fix in next version.

Edit:
Try the latest version from downloads

thanks for all the help, this seems to work fine.

would you like another debug log?


Re: [Release] Artwork Downloader - Martijn - 2012-03-17 22:08

Neah, i could reproduce it and if it is fixed for you it should be ok Smile


RE: [Release] Artwork Downloader - Martijn - 2012-03-18 04:06

Since today the new http://fanart.tv is up and running (still some minor issues) the movie artwork has become available.
There isn't yet that much available but this is just a matter of time.

So new things included are:
- Added: TV Show Season Posters
- Added: TV Show Season Banners
- Added: TV Show Season Thumb 16:9
- Added: Movie Clearlogo
- Added: Movie Clearart
- Added: Movie Discart

If there are no reported issues this will be added to repo next week.
You can get the version for testing here: downloads


How-to use:
Check the add-on settings for automatic downloading.
Skin integration has NOT YET been done so do NOT go asking about this!!!!!!

Some screenies:

[Image: screenshot085.png]
[Image: screenshot086w.png]
[Image: screenshot087t.png]


RE: [Release] Artwork Downloader - Ghostdivision - 2012-03-19 15:30

I accidentally noticed i had set artwork rating to 0, now i have a bunch of backdrops that look bad, is there anyway to easily remove all these, i have xbmc set to export on startup so its all exported to the individual movie folders. Or even remove everything this app downloaded (and exported to my movie files) and i will just re download or scan all of them again..,.

I would also be curious what a good rating is to go with, if you go to high you wont get many downloaded.


RE: [Release] Artwork Downloader - Martijn - 2012-03-19 15:32

(2012-03-19 15:30)Ghostdivision Wrote:  I accidentally noticed i had set artwork rating to 0, now i have a bunch of backdrops that look bad, is there anyway to easily remove all these, i have xbmc set to export on startup so its all exported to the individual movie files

uhm well the extrafanart should be handle automaticly by the script once you raise the limiter.
These are handle by the id in the filename

The fanart.jpg is another problem. Probably best to remove them all manuelly (search on fanart.jpg and remove them) and re-run the script


RE: [Release] Artwork Downloader - Ghostdivision - 2012-03-19 16:42

Yes but i was curious how to remove the existing low quality fan art that it had already downloaded when the limiter was accidentally set to 0?

So removing them manually is the only way? Its the extra fan art, and extra thumbs im wondering about.