[RELEASE] Artwork Downloader - Skin support

  Thread Rating:
  • 3 Votes - 4.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Martijn Offline
Team-XBMC
Posts: 10,963
Joined: Jul 2011
Reputation: 158
Location: Dawn of time
Post: #211
fmronan Wrote:for me when I try to find something that's good but Xbmc Freeze when artwork downloader try to clean files.
I use
Code:
<onclick condition="Container.Content(tvshows)">XBMC.RunScript(script.artwork.downloader,mode=custom, mediatype=tvshow, medianame=$INFO[ListItem.TVShowTitle],poster,seasonposter,clearart,clearlogo,tvthumb,banner,seasonbanner,characterart​)</onclick>

You might just as well use:
Code:
<onclick condition="Container.Content(tvshows)">XBMC.RunScript(script.artwork.downloader, mediatype=tvshow, medianame=$INFO[ListItem.TVShowTitle])</onclick>
Because when you specify multiple items the image selection box is never showing up. Running it like above just downloads what's enabled in settings

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first

For your mediacenter artwork go to
[Image: fanarttv.png]
find quote
fmronan Offline
Fan
Posts: 600
Joined: Dec 2010
Reputation: 4
Post: #212
yes but if I don't specify is download extrafanart too, and I don't want that
I use two buttons
Code:
<control type="button" id="204">
                        <description>Run Logo Downloader</description>
                        <include>ButtonMediaSubCommonValues</include>
                        <label>Artwork Download</label>
                        <onclick condition="Container.Content(tvshows)">XBMC.RunScript(script.artwork.downloader,mode=custom, mediatype=tvshow, medianame=$INFO[ListItem.TVShowTitle],poster,seasonposter,clearart,clearlogo,tvthumb,banner,seasonbanner,characterart​)</onclick>
                        <onclick>SetFocus(50)</onclick>
                        <visible>Container.Content(tvshows)+System.HasAddon(script.artwork.downloader)+!String​Compare(ListItem.Label,..)</visible>
                    </control>
                    <control type="button" id="205">
                        <description>Run Logo Downloader</description>
                        <include>ButtonMediaSubCommonValues</include>
                        <label>Download extrafanarts</label>
                        <onclick condition="Container.Content(tvshows)">XBMC.RunScript(script.artwork.downloader,mode=custom, mediatype=tvshow, medianame=$INFO[ListItem.TVShowTitle],fanart,extrafanart,extrathumbs)</onclick>
                        <onclick>SetFocus(50)</onclick>
                        <visible>Container.Content(tvshows)+System.HasAddon(script.artwork.downloader)+!String​Compare(ListItem.Label,..)</visible>
                    </control>
find quote
Martijn Offline
Team-XBMC
Posts: 10,963
Joined: Jul 2011
Reputation: 158
Location: Dawn of time
Post: #213
fmronan Wrote:yes but if I don't specify is download extrafanart too, and I don't want that
I use two buttons

OK Smile

Thought I'd just mention it.

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first

For your mediacenter artwork go to
[Image: fanarttv.png]
find quote
Martijn Offline
Team-XBMC
Posts: 10,963
Joined: Jul 2011
Reputation: 158
Location: Dawn of time
Lightbulb  New RC including movie artwork
Post: #214
Since today the new http://fanart.tv is up and running (still some minor issues) the movie artwork has become available.
There isn't yet that much available but this is just a matter of time.

So new things included are:
- Added: TV Show Season Posters
- Added: TV Show Season Banners
- Added: TV Show Season Thumb 16:9
- Added: Movie Clearlogo
- Added: Movie Clearart
- Added: Movie Discart

If there are no reported issues this will be added to repo next week.
You can get the version for testing here: downloads

Important notice!
Due to the same reason as for several other addons it is important that you change
PHP Code:
$INFO 
to
PHP Code:
$ESCINFO 
once the new version is added to the repo. This due to the comma in the path/title of the media.

How-to use:
For more info check Add-on:Artwork_Downloader

Some screenies:

[Image: screenshot085.png]
[Image: screenshot086w.png]
[Image: screenshot087t.png]

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first

For your mediacenter artwork go to
[Image: fanarttv.png]
(This post was last modified: 2012-03-18 15:10 by Martijn.)
find quote
mikebzh44 Offline
Posting Freak
Posts: 1,699
Joined: Nov 2011
Reputation: 47
Location: Nantes - France
Post: #215
I have installed the RC9 version and I'm trying to download disc.png for Avatar movie.

I'm running Glass skin but I supppose that the way to get Discart and other stuff is the same :
- from library, go to Avatar movie
- press i to display informations
- use extrafanart button
- artwork downloader clean up then I have a message "0 item were found"

Artwork downloader was configured to scan only discart.

But on fanart.tv, discart for Avatar is available : http://fanart.tv/movie/19995/avatar/

And where do I have to change $INFO to $ESCINFO ?

Thanks.

Sorry for my english, but, you know, I'm French so ...

find quote
Martijn Offline
Team-XBMC
Posts: 10,963
Joined: Jul 2011
Reputation: 158
Location: Dawn of time
Post: #216
Glass needs to add the 'discart' tag to the run command.
Don't know how Glass start the script so better ask @fmroman how he does that. I sent a PM to all skinnners with the notification because not all read this thread or it may be overlooked.

If you start it for a single movie it is independant of how you configured the settings like disabling all. The skinner decides what is downloaded

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first

For your mediacenter artwork go to
[Image: fanarttv.png]
(This post was last modified: 2012-03-18 14:03 by Martijn.)
find quote
mikebzh44 Offline
Posting Freak
Posts: 1,699
Joined: Nov 2011
Reputation: 47
Location: Nantes - France
Post: #217
OK so in Glass, I have change DialogVideoInfo.xml and add discart to command line :

XBMC.RunScript(script.artwork.downloader,mode=custom,mediatype=movie,medianame=$​INFO[ListItem.Title],extrafanart,discart)

But artwork downloader always return no item.

Which skin are you running when you made screenshots ?

Sorry for my english, but, you know, I'm French so ...

find quote
Martijn Offline
Team-XBMC
Posts: 10,963
Joined: Jul 2011
Reputation: 158
Location: Dawn of time
Post: #218
Aeon Nox but that handles the script different.

Edit:
I might know what the problem is. You are using the passion-xbmc scraper are you?
the script searches the artwork by using IMDB id. The passion-xbmc scraper doesn't/didn't add the 'tt' in front of it so it can't can't anything.
I made a work around for it by just searching by the movie name. Maybe post the Debug Log when you are trying to run the script on http://paste.ubuntu.com might help

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first

For your mediacenter artwork go to
[Image: fanarttv.png]
(This post was last modified: 2012-03-18 14:41 by Martijn.)
find quote
mikebzh44 Offline
Posting Freak
Posts: 1,699
Joined: Nov 2011
Reputation: 47
Location: Nantes - France
Post: #219
You are right :

http://paste.ubuntu.com/889106/

Searching with movie title.

Sorry for my english, but, you know, I'm French so ...

find quote
Martijn Offline
Team-XBMC
Posts: 10,963
Joined: Jul 2011
Reputation: 158
Location: Dawn of time
Post: #220
(2012-03-18 15:02)mikebzh44 Wrote:  You are right :

http://paste.ubuntu.com/889106/

Searching with movie title.

Hmm that's another problem. Seems it can't find that movie in your library.

Avatar works perfectly for me. How's it named in your library?

Try running it this way
PHP Code:
<onclick condition="Container.Content(movies)">XBMC.RunScript(script.artwork.downloadermode=custommediatype=moviemedianame=$ESCINFO[ListItem.Title],mediapath=$ESCINFO[ListItem.Path], discart)</onclick

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first

For your mediacenter artwork go to
[Image: fanarttv.png]
find quote
fmronan Offline
Fan
Posts: 600
Joined: Dec 2010
Reputation: 4
Post: #221
the problem is fixed with scrapper passion, no problem for me with avatar
find quote
fmronan Offline
Fan
Posts: 600
Joined: Dec 2010
Reputation: 4
Post: #222
error with movie

Code:
15:26:55 T:2844932976    INFO: -->Python script returned the following error<--
15:26:55 T:2844932976   ERROR: Error Type: <type 'exceptions.KeyError'>
15:26:55 T:2844932976   ERROR: Error Contents: ('disctype',)
15:26:55 T:2844932976   ERROR: Traceback (most recent call last):
                                              File "/home/guevel/.xbmc/addons/script.artwork.downloader/default.py", line 874, in <module>
                                                Main()
                                              File "/home/guevel/.xbmc/addons/script.artwork.downloader/default.py", line 131, in __init__
                                                self.download_artwork(self.Medialist, self.musicvideo_providers)
                                              File "/home/guevel/.xbmc/addons/script.artwork.downloader/default.py", line 353, in download_artwork
                                                self.media_disctype = currentmedia["disctype"]
                                            KeyError: ('disctype',)
15:26:55 T:2844932976    INFO: -->End of Python script error report<--
find quote
Martijn Offline
Team-XBMC
Posts: 10,963
Joined: Jul 2011
Reputation: 158
Location: Dawn of time
Post: #223
(2012-03-18 16:29)fmronan Wrote:  error with movie

It was an error with musicvideos Wink

Should be fixed now: downloads

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first

For your mediacenter artwork go to
[Image: fanarttv.png]
find quote
fmronan Offline
Fan
Posts: 600
Joined: Dec 2010
Reputation: 4
Post: #224
I try to add
Code:
<onclick condition="Container.Content(tvshows)">XBMC.RunScript(script.artwork.downloader,mode=gui, mediatype=tvshow, medianame=$ESCINFO[ListItem.TVShowTitle])</onclick>
          <onclick condition="Container.Content(movie)">XBMC.RunScript(script.artwork.downloader, mode=gui, mediatype=movie, medianame=$ESCINFO[ListItem.Title], mediapath=$ESCINFO[ListItem.Path])</onclick>
works fine with tvshows, but not with movies, I don't understand?
find quote
Martijn Offline
Team-XBMC
Posts: 10,963
Joined: Jul 2011
Reputation: 158
Location: Dawn of time
Post: #225
(2012-03-18 18:58)fmronan Wrote:  I try to add

works fine with tvshows, but not with movies, I don't understand?

Works for me (on windows and SMB:// paths)
Maybe there's some OS dependancy at work here.
Can you provide the full Debug Log while trying the GUI mode and paste the log on http://paste.ubuntu.com

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first

For your mediacenter artwork go to
[Image: fanarttv.png]
find quote
Post Reply