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


- Babal - 2011-05-13

Ok, sorry, I'm out of the thread, Confused

Thks Nod


- fawzib - 2011-05-15

I'm using this script with cirrus extended and they have a button to run it for all the shows (bulk mode?), I notice that in 'solo mode' it can load posters but in bulk mod it is not, just gets logo,clear art, banner.

Can it load posters in bulk mode?


- ppic - 2011-05-15

yes depend on what skinner have pass in parameter in his button


- choobs - 2011-05-17

Apologies if this is the wrong thread, but it seems like the right place to start. I have two instances of XBMC, one on my computer and one on an Apple TV. Both point to an SMB share. I've used the computer to download all the logos and clearart and whatnot, but on the ATV, I have to use the Nighly version so this download script isn't working. My question is, since the logo.png and clearart.png and so forth are already, can I make somehow force the skin to see them? Or am I just screwed until the script gets updated.


- isamu.dragon - 2011-05-17

choobs Wrote:Apologies if this is the wrong thread, but it seems like the right place to start. I have two instances of XBMC, one on my computer and one on an Apple TV. Both point to an SMB share. I've used the computer to download all the logos and clearart and whatnot, but on the ATV, I have to use the Nighly version so this download script isn't working. My question is, since the logo.png and clearart.png and so forth are already, can I make somehow force the skin to see them? Or am I just screwed until the script gets updated.

if your skin can use logo.png, landscape.jpg, or clearart.png. And they are already present in the TV Show Folders (i.e. Futurama\logo.png) then they should be read automatically.


- choobs - 2011-05-17

isamu.dragon Wrote:if your skin can use logo.png, landscape.jpg, or clearart.png. And they are already present in the TV Show Folders (i.e. Futurama\logo.png) then they should be read automatically.
Huh. Guess I'll have to check the debug logs to see why they aren't then.

Thanks for the answer!


- hendoben - 2011-05-25

Hi. I keep getting a script failed error.

Here's the debug log http://pastebin.com/4QM2ym6z


- ppic - 2011-05-25

problem with your python version as i see.


- john.doe - 2011-06-01

so... exists a manual method to repair it?


- ppic - 2011-06-01

john.doe Wrote:so... exists a manual method to repair it?

repair what?


- skoj - 2011-06-02

I believe I've found a bug in the script.

In bulk mode the script only downloads the XML for a series from fanart.tv if "logo=True" parameter is passed and logo.png file does not exist in the series folder.

Problem is that the script continues to run and when it tries to process clearart and showthumb it generates a python error because that section of code assumes that the XML has already been downloaded.

debug log: http://pastebin.com/YjJvHYAA

The relevant code is in the bulk_mode() routine. I've made a quick fix which fixes the problem for me. I'd be glad to send you a copy of the script with my changes if you want.

Quick summary of the code
====================
Code:
for currentshow in self.TVlist:
                if self.logo:
                        self.get_lockstock_xml()        
                        self.search_logo()              
                if self.clearart:
                        self.search_clearart():
                if self.show_thumb:
                        self.search_show_thumb():

My solution
=========
Code:
for currentshow in self.TVlist:
                if self.log or self.clearart or self.showthumb:
                    self.get_lockstock_xml()        
                if self.logo:
                            self.search_logo()              
                if self.clearart:
                        self.search_clearart():
                if self.show_thumb:
                        self.search_show_thumb():



- ppic - 2011-06-02

ho yes, already corrected that but forget to push, sorry !


- ppic - 2011-06-02

i've just pushed the correction to addons list


- rendered - 2011-06-07

Where about is this script in the Addons on XBMC?


- ppic - 2011-06-07

automatically downloaded by skins that use it !