Kodi Community Forum
[RELEASE] Logo Downloader Script - 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] Logo Downloader Script (/showthread.php?tid=74912)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45


- stoli - 2011-03-23

ppic Wrote:yes, of course, you haven't done what i tell you!
you have to replace the commented code by the one i gaved !

This is line 241- 251:

Code:
else:
                        if DEBUG: print "### %s already exist, skipping" % self.filename
                        self.logo_found = self.logo_found + 1
                    self.image_url = False
                    self.filename = False
                    
                if self.clearart or self.show_thumb and not self.lockstock_xml:
                    if DEBUG: print "### get xbmcstuff xml"
                    self.get_xbmcstuff_xml()
                
                if self.clearart:

The whole file is here: http://pastebin.com/1yAN7AW1

Thanks,


- ppic - 2011-03-23

Code:
self.get_lockstock_xml()

is not what you have:
Code:
self.get_xbmcstuff_xml()



- stoli - 2011-03-23

ppic Wrote:
Code:
self.get_lockstock_xml()

is not what you have:
Code:
self.get_xbmcstuff_xml()

Well damn. Sorry about that - all seems good now.

Thanks for the help!


Automatically download - CMellor - 2011-03-26

Hello,

My apologies if this has already been answered, but I couldn't find it.

I use Aeon MQ 2 as my skin.

Can this script be set-up to automatically download the logo's when a new Show is added to XBMC?

Thanks for any help.

- Chris


- ppic - 2011-03-26

no, it can't


- newphreak - 2011-03-28

Hi, nice script. I have a small question tho, as all my media is on a read only samba share, would it be possible to store logo's locally on the htpc instead? like all the other fanart etc? If not, will this possibly be added in the future? I really dont wanna bloat my media archive with different fanart/logo's, i prefer to keep that stuff separated on the htpc.


- ppic - 2011-03-28

i haven't planned to do it.


- newphreak - 2011-03-28

Aww. Guess i'll have to skip logo's then. Cause I'm not gonna bloat my media archive with all this. Smile thanks for the quick response anyhow.


- boston85 - 2011-04-02

Is this site down for good?


- ossman - 2011-04-02

newphreak Wrote:Hi, nice script. I have a small question tho, as all my media is on a read only samba share, would it be possible to store logo's locally on the htpc instead? like all the other fanart etc? If not, will this possibly be added in the future? I really dont wanna bloat my media archive with different fanart/logo's, i prefer to keep that stuff separated on the htpc.

Same issue here. Would be nice if logos are handled the same way as thumbnails and fanart, neither of which requires write access to where the media is stored.


- newphreak - 2011-04-02

I actually enabled writeaccess and used a script to sort the tv with symlinks so i could use this, but then i got errors instead. Sad
I have tested and the writeaccess works fine, but the logo downloader gets this:
Quote:22:19:52 T:140053655275264 M:1760636928 NOTICE: ### download :http://fanart.tv/fanart/73141/clearlogo/americandad-73141.png
22:19:52 T:140053655275264 M:1760636928 NOTICE: problem with path: smb://PINKPARADISE/pink_paradise/tv-sorted/American Dad!/
How could i debug this?


- stoli - 2011-04-09

ppic Wrote:and i believe that i will work just if you add logo in both, that's my error, i've forgot to change that so script isn't getting xml from lockstock if logo are deactivated, should work with that, please try and report.

line 247 in default.py :
Code:
if self.clearart or self.show_thumb and not self.lockstock_xml:
                    if DEBUG: print "### get xbmcstuff xml"
                    self.get_lockstock_xml()

replace the commented part in the script.

ppic - has this been updated in the repo version of the script or does it still need to be manually changed by users?

Thanks,


- ppic - 2011-04-10

no, i'll try to push it tomorrow


- bobrap - 2011-04-20

Is this script broken or the site down?


- stoli - 2011-04-21

The script works - what's the problem you are encountering?