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


- ronie - 2011-07-27

solidsatras Wrote:edit2:
Well, this time everything worked fine except the logo for "Breaking Bad". debug
This doesn´t feel script related, maybe problems with my internet connection or with fanart.tv or my nas-hdd is failing. Who knows.

have you actually checked your drive if the logo was downloaded?
it could be there, but for reason not show up in xbmc...

according to the log, the logo was downloaded and i'm not seeing any errors:
Quote:15:12:23 T:3260 M:2650882048 NOTICE: ### download :http://fanart.tv/fanart/81189/clearlogo/breakingbad-81189.png
15:12:23 T:3260 M:2650882048 DEBUG: ### path: smb://STORAGE/Multimedia/Videos/Serien/Breaking Bad/logo.png
15:12:25 T:3260 M:2650886144 DEBUG: ### logo downloaded for Breaking Bad



- Hudson_Hawk04 - 2011-07-28

@ ronnie

is there an issue with the downloader only grabbing the first or last item? I seem to be having an issue along those lines, still working out a way to change the icons. Thanks for your help and the script.

http://www.megaupload.com/?d=4997HRPS (sorry for the size of the log, attempted to use the downloader)


- solidsatras - 2011-07-28

ronie Wrote:have you actually checked your drive if the logo was downloaded?
it could be there, but for reason not show up in xbmc...

according to the log, the logo was downloaded and i'm not seeing any errors:
Of course I checked the drive, there was no logo downloaded. Don´t loose your hair over this, since it´s working for other people, i´m thinking there is something else going on within my network. I will investigate this next week.
Big thanks for all your scripts and help you provide.


- isamu.dragon - 2011-07-28

solidsatras Wrote:Of course I checked the drive, there was no logo downloaded. Don´t loose your hair over this, since it´s working for other people, i´m thinking there is something else going on within my network. I will investigate this next week.
Big thanks for all your scripts and help you provide.

check your read/write permissions on the share


- solidsatras - 2011-07-28

isamu.dragon Wrote:check your read/write permissions on the share

checked them, couldn´t see anything wrong.

Just to prove it´s not a permission problem, i deleted the logo.png, clearart.png and folder.jpg for 3 shows on each of my two network shares.
Here is the result:

- First search:
share1:
Breaking Bad | downloaded all three
Mad Men | downloaded all three
Two and a Half Men | cleart missing (actually not found, fanart.tv problem?)
share2:
Burn Notice | logo missing
Dexter | downloaded all three
Modern Family | downloaded all three

- Second search:
Burn Notice | logo downloaded

Both searches are in this debug log.

I don´t see any explanation why the Burn Notice logo wasn´t picked up during the first run.(since in the log it is...)
Overall it´s working and honestly I don´t mind running the script a few times, still way better than
downloading everything manually. I´m just nosy.

btw: looks like today´s nightly is breaking the window´s smb-support again. debug

Code:
15:40:32 T:3836 M:2788835328  NOTICE: Starting XBMC, Platform: Windows 7, 64-bit (WoW) Service Pack 1 build 7601. Built on Jul 28 2011 (Git:20110727-30a9070, compiler 1600)
15:41:04 T:3264 M:2680729600  NOTICE: problem with path: smb://STORAGE/Serien_D3/Alphas/
If some other window´s user could please confirm...so we could reopen #11591



- j0cke - 2011-07-28

solidsatras Wrote:btw: looks like today´s nightly is breaking the window´s smb-support again.
If some other window´s user could please confirm...so we could reopen #11591

I'm sorry but smb seems to be working for me with XBMCSetup-20110727-30a9070-master.exe and Transparency! svn r1125.

But something is strange for me when I run this script in solo mode, I think...
I added the TV show Alphas and ran the script from skin settings and got the files folder.jpg & logo.png (white logo).
Then I open information for Alphas and click "Get logo".
I pick the blue logo and the script show no error.
But the logo.png in my Alphas folder is still the white one...

I had to delete my cached logo
Code:
c:\Users\Admin\AppData\Roaming\XBMC\userdata\Thumbnails\0\02d4229b.png
and pick the blue logo again to get it downloaded.:confused2:


- ronie - 2011-07-28

Hudson_Hawk04 Wrote:sorry for the size of the log, attempted to use the downloader

i'm sorry, i'd like to help out,
but i'm not gonna dig through a 14mb log file.

restart xbmc, reproduce the issue and pastebin it.


- ronie - 2011-07-28

j0cke Wrote:I'm sorry but smb seems to be working for me with XBMCSetup-20110727-30a9070-master.exe and Transparency! svn r1125.

But something is strange for me when I run this script in solo mode, I think...
I added the TV show Alphas and ran the script from skin settings and got the files folder.jpg & logo.png (white logo).
Then I open information for Alphas and click "Get logo".
I pick the blue logo and the script show no error.
But the logo.png in my Alphas folder is still the white one...

if you checked the image file itself and it was still the white one,
then something went wrong...

if xbmc is still showing the white one, than that's another thing
xbmc caches the images and doesn't pick up some changes right away.


- ronie - 2011-07-28

solidsatras Wrote:Burn Notice | logo missing

that sucks, the script logs it has downloaded the image,
but apparently not.

will look into it and perhaps add some more debug logging if needed.

solidsatras Wrote:btw: looks like today´s nightly is breaking the window´s smb-support again. debug

Code:
15:40:32 T:3836 M:2788835328  NOTICE: Starting XBMC, Platform: Windows 7, 64-bit (WoW) Service Pack 1 build 7601. Built on Jul 28 2011 (Git:20110727-30a9070, compiler 1600)
15:41:04 T:3264 M:2680729600  NOTICE: problem with path: smb://STORAGE/Serien_D3/Alphas/
If some other window´s user could please confirm...so we could reopen #11591

strange, i've checked the source code and the fix is still there..
will test myself as soon as i have a minute to spare.


- Hudson_Hawk04 - 2011-07-28

http://pastebin.com/0qTynhhL

hopefully this helps, I have been having trouble with the size of my logs as of late, the banner view of neon that I am using I stopped on a show that would not grab a banner icon or refresh to one. Sorry about the size of the log the last time.


- ronie - 2011-07-28

Hudson_Hawk04 Wrote:hopefully this helps

afraid not...you're not even running this script in that log.

please clearly describe your problem and post a log of the script failing to download some image(s).


- Hudson_Hawk04 - 2011-07-28

http://pastebin.com/MfR4cthW

here is a new log, when I select a banner to download it downloads correctly but I cannot change it to the correct one (either having no image present or wanting to change from one banner to another. ) I will try and add screen shots later on.

Image

Uploaded with ImageShack.us

Image

Uploaded with ImageShack.us

Image

Uploaded with ImageShack.us

Image

Uploaded with ImageShack.us


- ronie - 2011-07-29

Hudson_Hawk04 Wrote:http://pastebin.com/MfR4cthW

here is a new log

thanx, that tv show is located across multiple shares (TV2 & TV3).
the script currently does not support multipath:// paths.

will see if i can add it :-)


- Hudson_Hawk04 - 2011-07-29

thanks for looking into this and sorry again about the hoops I was making you jump through, will the logo downloader auto update or do I need to grab an updated copy as stuff is fixed.?


- Hitcher - 2011-07-29

There's a big difference between using 'banner.jpg' and 'Get Thumb' by the way.