[RELEASE] Logo Downloader Script

  Thread Rating:
  • 3 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
ppic Offline
Skilled Python Coder
Posts: 2,711
Joined: Feb 2009
Reputation: 11
Location: France idf
Post: #16
ok, i'll check that

[Image: widget]
Passion-XBMC Repository Download your SVN skins and addons
TvTunes Addon Download Play your theme while browsing library
TVshow Next Aired display next aired infos from tvrage.com
Logo Downloader Script download Logo/clearart/show thumbs/poster/banner
Bande-Annonce Allociné plugin watch trailers in french and vo
SportLive Script Live score match info in XBMC (not compatible dharma)
find quote
Waffa Offline
Posting Freak
Posts: 1,163
Joined: May 2008
Reputation: 7
Location: Netherlands
Post: #17
Hmm getting an error... ("ERROR" , "site unreacheable")
Code:
18:49:15 T:1944 M:739119104    INFO: -->Python script returned the following error<--
18:49:15 T:1944 M:739119104   ERROR: Error Type: exceptions.NameError
18:49:15 T:1944 M:739119104   ERROR: Error Contents: global name 'dialog' is not defined
18:49:15 T:1944 M:739119104   ERROR: Traceback (most recent call last):
                                              File "C:\Documents and Settings\Rick\Application Data\XBMC\scripts\Logo Downloader\default.py", line 121, in ?
                                                base_info = get_html_source( BASE_URL )
                                              File "C:\Documents and Settings\Rick\Application Data\XBMC\scripts\Logo Downloader\default.py", line 57, in get_html_source
                                                dialog.ok("ERROR" , "site unreacheable")
                                            NameError: global name 'dialog' is not defined
18:49:15 T:1944 M:739119104    INFO: -->End of Python script error report<--
find quote
ppic Offline
Skilled Python Coder
Posts: 2,711
Joined: Feb 2009
Reputation: 11
Location: France idf
Post: #18
Hum that part of code is used if you don't manage to download the web page, there an error in my dialog call.

i'll check that , i leave my work now.

[Image: widget]
Passion-XBMC Repository Download your SVN skins and addons
TvTunes Addon Download Play your theme while browsing library
TVshow Next Aired display next aired infos from tvrage.com
Logo Downloader Script download Logo/clearart/show thumbs/poster/banner
Bande-Annonce Allociné plugin watch trailers in french and vo
SportLive Script Live score match info in XBMC (not compatible dharma)
find quote
Irish2685 Offline
Junior Member
Posts: 47
Joined: Sep 2008
Reputation: 0
Post: #19
It works... sort of... it downloaded some logos, but they aren't the right ones. It downloaded 2 logos for the 6 shows I have in my library right now. The logos downloaded were for 07-ghost, which is not in the library. I'm positive my TVDB ids are correct.

EDIT: It got one right so far, which is Dexter.

nMediaPC 5000B w/ Pro LCD | ASUS P5G43T-M Pro | Intel C2D E7500 | 2GB Crucial Ballistix DDR3 1333 | Intel G43 | 1.5TB Seagate | Se7en x64 | XBMC w/ Aeon65
34,736 Songs | 543 Movies
find quote
ppic Offline
Skilled Python Coder
Posts: 2,711
Joined: Feb 2009
Reputation: 11
Location: France idf
Post: #20
i updated the download link. for your problems mcborzu and waffa .

Irish2685 Wrote:It works... sort of... it downloaded some logos, but they aren't the right ones. It downloaded 2 logos for the 6 shows I have in my library right now. The logos downloaded were for 07-ghost, which is not in the library. I'm positive my TVDB ids are correct.

EDIT: It got one right so far, which is Dexter.

i can't do anything if you don't provide a debug log, thanks.

[Image: widget]
Passion-XBMC Repository Download your SVN skins and addons
TvTunes Addon Download Play your theme while browsing library
TVshow Next Aired display next aired infos from tvrage.com
Logo Downloader Script download Logo/clearart/show thumbs/poster/banner
Bande-Annonce Allociné plugin watch trailers in french and vo
SportLive Script Live score match info in XBMC (not compatible dharma)
(This post was last modified: 2010-06-01 20:19 by ppic.)
find quote
Waffa Offline
Posting Freak
Posts: 1,163
Joined: May 2008
Reputation: 7
Location: Netherlands
Post: #21
It still gives me an script error.Frown
http://pastebin.org/299213
find quote
ppic Offline
Skilled Python Coder
Posts: 2,711
Joined: Feb 2009
Reputation: 11
Location: France idf
Post: #22
your still on old version waffa
the line on your error isn't like that in today code, sorry but you haven't updated.

[Image: widget]
Passion-XBMC Repository Download your SVN skins and addons
TvTunes Addon Download Play your theme while browsing library
TVshow Next Aired display next aired infos from tvrage.com
Logo Downloader Script download Logo/clearart/show thumbs/poster/banner
Bande-Annonce Allociné plugin watch trailers in french and vo
SportLive Script Live score match info in XBMC (not compatible dharma)
find quote
Waffa Offline
Posting Freak
Posts: 1,163
Joined: May 2008
Reputation: 7
Location: Netherlands
Post: #23
I did update and I did remove it again now and downloaded ... same errror.

Edit:
Ok new debug log this time from passion site.. looks different Smile
http://pastebin.org/299315
(This post was last modified: 2010-06-01 21:49 by Waffa.)
find quote
ppic Offline
Skilled Python Coder
Posts: 2,711
Joined: Feb 2009
Reputation: 11
Location: France idf
Post: #24
ok, now it's good version Big Grin

Code:
### ERROR impossible d'ouvrir la page http://www.themurrayworld.com/xbmc/logos/

seems that your htpc doesn't manage to load the page, have you a browser on it to try open the url ?

seems weird cause i really can't do something with that Sad

[Image: widget]
Passion-XBMC Repository Download your SVN skins and addons
TvTunes Addon Download Play your theme while browsing library
TVshow Next Aired display next aired infos from tvrage.com
Logo Downloader Script download Logo/clearart/show thumbs/poster/banner
Bande-Annonce Allociné plugin watch trailers in french and vo
SportLive Script Live score match info in XBMC (not compatible dharma)
find quote
Waffa Offline
Posting Freak
Posts: 1,163
Joined: May 2008
Reputation: 7
Location: Netherlands
Post: #25
On same system it's no problem to open the page in browser.
find quote
ppic Offline
Skilled Python Coder
Posts: 2,711
Joined: Feb 2009
Reputation: 11
Location: France idf
Post: #26
hum !

you can use other plugins with no problem ? you don't use proxy in xbmc options?

it's really bumping my head , i really don't know why you've got that error, i've run it on vista and linux with no problem this is really strange

can you test it on another computer ?

[Image: widget]
Passion-XBMC Repository Download your SVN skins and addons
TvTunes Addon Download Play your theme while browsing library
TVshow Next Aired display next aired infos from tvrage.com
Logo Downloader Script download Logo/clearart/show thumbs/poster/banner
Bande-Annonce Allociné plugin watch trailers in french and vo
SportLive Script Live score match info in XBMC (not compatible dharma)
find quote
Waffa Offline
Posting Freak
Posts: 1,163
Joined: May 2008
Reputation: 7
Location: Netherlands
Post: #27
Oops, sorry proxy was enabled Blush
But works like a charme now updated my logo's Big Grin
find quote
ppic Offline
Skilled Python Coder
Posts: 2,711
Joined: Feb 2009
Reputation: 11
Location: France idf
Post: #28
lool!

you own me a beer for the heat you gave me !!!

ok, i'll take a look a your part Wink

so how is your completed percentage?

[Image: widget]
Passion-XBMC Repository Download your SVN skins and addons
TvTunes Addon Download Play your theme while browsing library
TVshow Next Aired display next aired infos from tvrage.com
Logo Downloader Script download Logo/clearart/show thumbs/poster/banner
Bande-Annonce Allociné plugin watch trailers in french and vo
SportLive Script Live score match info in XBMC (not compatible dharma)
find quote
Waffa Offline
Posting Freak
Posts: 1,163
Joined: May 2008
Reputation: 7
Location: Netherlands
Post: #29
100! Lol only got 9 series most for the kids ....

But sorry did not scrape so well.. a lot of them did get updated with "07-GHOST" logo Eek

Big Grin But I did scrape those series long time ago with Media companion, need to update my nfo files probably Rofl (Missing id's)

Anyway here's my log:
http://pastebin.org/299532
find quote
ppic Offline
Skilled Python Coder
Posts: 2,711
Joined: Feb 2009
Reputation: 11
Location: France idf
Post: #30
lol ! ok with no id, it download the first, i'll prevent that



Code:
#
tt
#
22:51:02 T:3560 M:926859264  NOTICE: ### IMDB id found in database(tt0412142), checking for nfo
#
22:51:02 T:3560 M:926875648  NOTICE: thetvdb id: 73255
#
22:51:02 T:3560 M:926875648  NOTICE: ### Checking 88 TVshow: House  id: 73255
#
22:51:02 T:3560 M:926875648  NOTICE: ### logo: http://www.themurrayworld.com/xbmc/logos/House-73255.png
#
22:51:02 T:3560 M:926875648  NOTICE: ### download :http://www.themurrayworld.com/xbmc/logos/House-73255.png
#
22:51:02 T:3560 M:926875648  NOTICE: ### path: smb://LKGAA15D3/DISK 1/TV Series/House/logo.png
#
22:51:03 T:3560 M:926838784  NOTICE: ### Logo downloaded Successfully !!!

good ! modification to handle tvdbid in nfo works Big Grin

[Image: widget]
Passion-XBMC Repository Download your SVN skins and addons
TvTunes Addon Download Play your theme while browsing library
TVshow Next Aired display next aired infos from tvrage.com
Logo Downloader Script download Logo/clearart/show thumbs/poster/banner
Bande-Annonce Allociné plugin watch trailers in french and vo
SportLive Script Live score match info in XBMC (not compatible dharma)
(This post was last modified: 2010-06-01 23:03 by ppic.)
find quote
Post Reply