[RELEASE] Logo Downloader Script

  Thread Rating:
  • 3 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
mcborzu Offline
Skilled Skinner
Posts: 3,381
Joined: Feb 2009
Reputation: 15
Location: dsf
Post: #11
Unless I copied the code wrong I still got the same result. When I get back from work I try deleting the imdb id from my .nfo's and see if that works...

[Image: widget]

Check out The Carmichael - A Skin For XBMC

Check out Night - A Skin For XBMC

Check out Unfinished - A Skin For XBMC
find quote
Waffa Offline
Posting Freak
Posts: 1,163
Joined: May 2008
Reputation: 7
Location: Netherlands
Post: #12
Thank u for the script, just got home from work will test script later and probably going to add a button to infoscreen to run your script. Wink
find quote
ppic Offline
Skilled Python Coder
Posts: 2,662
Joined: Feb 2009
Reputation: 10
Location: France idf
Post: #13
no no mcborzu, it won't change !

the imdbid is in db, doesn't change if you delete it from nfo, my routine should work with a little bit change, i think the error is related to the "tt" string test as i haven't tested it while falling asleep on my keyboard, let me test it after my work, i'll post an update Wink

[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
ppic Offline
Skilled Python Coder
Posts: 2,662
Joined: Feb 2009
Reputation: 10
Location: France idf
Post: #14
Waffa Wrote:Thank u for the script, just got home from work will test script later and probably going to add a button to infoscreen to run your script. Wink

i haven't made it able to be launched for each series as the script will be abandonned when other repository will be available, but if you really want, I should be able to do a trick for you Wink

will be needed to launch : tvshow id ( tvdbid in db or in nfo ) and tvshowpath
are you able to have them when pushing the button on skin side?

[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: #15
The button would be in DialogVideoInfo.xml so yep, have id and path.
find quote
ppic Offline
Skilled Python Coder
Posts: 2,662
Joined: Feb 2009
Reputation: 10
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,662
Joined: Feb 2009
Reputation: 10
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,662
Joined: Feb 2009
Reputation: 10
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
Post Reply