[RELEASE] Artwork Downloader - Skin support

  Thread Rating:
  • 3 Votes - 4.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Martijn Online
Team-XBMC
Posts: 7,674
Joined: Jul 2011
Reputation: 114
Location: Dawn of time
Post: #41
Repo update:
Version 1.0.1 should be in there with 'mode=custom' goodies.

Without
Quote:So like Jeroen asked if you run it for let's say 'clearlogo' it pop-up the dialog when it finds more than one? If only one just download

I will take some time for this to make it properly coded.

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: 584
Joined: Dec 2010
Reputation: 4
Post: #42
I try to add your script to my skin "Glass", all works well for tvshow but not for movies.
I use
Code:
                    <control type="button" id="193">
                        <description>Run Logo Downloader</description>
                        <include>ButtonMediaSubCommonValues</include>
                        <label>Download extrafanarts</label>
                        <onclick condition="Container.Content(movies)">XBMC.RunScript(script.artwork.downloader,mode=custom, mediatype=movie, medianame=$INFO[ListItem.Title],extrafanart)</onclick>
                        <onclick>SetFocus(50)</onclick>
                        <visible>Container.Content(movies)+system.hasaddon(script.artwork.downloader)+!StringC​ompare(ListItem.Label,..)</visible>
                    </control>
Where is the problem? the script run , but it don't find extrafanart

[Image: 1323016778-screenshot002.png]

[Image: 1323016878-screenshot003.png]
find quote
`Black Offline
Skilled Skinner
Posts: 1,998
Joined: Apr 2009
Reputation: 49
Location: Germany
Post: #43
That was a bug and should be fixed now.

[Image: xp1080.png]
find quote
fmronan Offline
Fan
Posts: 584
Joined: Dec 2010
Reputation: 4
Post: #44
I have the last revision 1.0.1
find quote
Martijn Online
Team-XBMC
Posts: 7,674
Joined: Jul 2011
Reputation: 114
Location: Dawn of time
Post: #45
fmronan Wrote:I have the last revision 1.0.1

I copy/paste you script run and it's working fine for me.
Got 29 for avatar.

Even with all add-on settings to off (tvshow/movie/limiter)

EDIT:
I'm no skinner so I only test this modifying DialogVideoInfo.xml

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: 2011-12-04 19:19 by Martijn.)
find quote
fmronan Offline
Fan
Posts: 584
Joined: Dec 2010
Reputation: 4
Post: #46
ok that's limit but now xbmc crach.I'm with Ubuntu 11.10 and the last pre eden
Code:
18:24:18 T:5539040   DEBUG: SDLKeyboard: scancode: 24, sym: 000d, unicode: 000d, modifier: 1000
18:24:18 T:5539040   DEBUG: OnKey: return (f00d) pressed, action is Select
18:24:18 T:5539040   DEBUG: ExecuteXBMCAction : Translating XBMC.RunScript(script.artwork.downloader,mode=custom, mediatype=movie, medianame=$INFO[ListItem.Title],extrafanart)
18:24:18 T:5539040   DEBUG: ExecuteXBMCAction : To XBMC.RunScript(script.artwork.downloader,mode=custom, mediatype=movie, medianame=Avatar,extrafanart)
18:24:18 T:5539040    INFO: initializing python engine.
18:24:18 T:5539040   DEBUG: new python thread created. id=20
18:24:18 T:2740702064   DEBUG: Thread XBPyThread start, auto delete: 0
18:24:18 T:2740702064   DEBUG: Python thread: start processing
18:24:18 T:5539040   DEBUG: ExecuteXBMCAction : Translating SetFocus(50)
18:24:18 T:5539040   DEBUG: ExecuteXBMCAction : To SetFocus(50)
18:24:18 T:2740702064  NOTICE: -->Python Interpreter Initialized<--
18:24:18 T:2740702064   DEBUG: Process - The source file to load is /home/guevel/.xbmc/addons/script.artwork.downloader/default.py
18:24:18 T:2740702064   DEBUG: Process - Setting the Python path to /home/guevel/.xbmc/addons/script.artwork.downloader:/home/guevel/.xbmc/addons/script.module.dialogaddonscan/lib:/home/guevel/.xbmc/addons/script.module.beautifulsoup/lib:/home/guevel/.xbmc/addons/script.common.plugin.cache/lib:/home/guevel/.xbmc/addons/script.module.simplejson/lib:/usr/share/xbmc/addons/script.module.pil/lib:/home/guevel/.xbmc/addons/script.module.rssengine/lib:/home/guevel/.xbmc/addons/script.module.parsedom/lib:/home/guevel/.xbmc/addons/script.module.elementtree/lib:/usr/share/xbmc/addons/script.module.pysqlite/lib:/usr/local/lib/python2.7/dist-packages/setuptools-0.6c11-py2.7.egg:/usr/local/lib/python2.7/dist-packages/Domogik-0.1.0-py2.7.egg:/usr/local/lib/python2.7/dist-packages/MySQL_python-1.2.3-py2.7-linux-i686.egg:/usr/local/lib/python2.7/dist-packages/psutil-0.4.0-py2.7-linux-i686.egg:/usr/local/lib/python2.7/dist-packages/django_pipes-0.2-py2.7.egg:/usr/local/lib/python2.7/dist-packages/SQLAlchemy-0.6.5-py2.7.egg:/usr/local/lib/python2.7/dist-packages/Django-1.2-py2.7.egg:/usr/lib/python2.7:/usr/lib/python2.7/plat-linux2:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages/PIL:/usr/lib/python2.7/dist-packages/gst-0.10:/usr/lib/python2.7/dist-packages/gtk-2.0:/usr/lib/pymodules/python2.7:/usr/lib/pymodules/python2.7/libubuntuone:/usr/lib/python2.7/dist-packages/ubuntu-sso-client:/usr/lib/python2.7/dist-packages/ubuntuone-client:/usr/lib/python2.7/dist-packages/ubuntuone-control-panel:/usr/lib/python2.7/dist-packages/ubuntuone-couch:/usr/lib/python2.7/dist-packages/ubuntuone-installer:/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol:
18:24:18 T:2740702064   DEBUG: Process - Entering source directory /home/guevel/.xbmc/addons/script.artwork.downloader
18:24:18 T:2740702064   DEBUG: Instantiating addon using automatically obtained id of "script.artwork.downloader" dependent on version 2.0 of the xbmc.python api
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ######## Extrafanart Downloader: Initializing...............................
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## Add-on ID   = script.artwork.downloader
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## Add-on Name = Artwork Downloader
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## Authors     = paddycarey, putneyj, Machine-Sanctum
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## Version     = 1.0.1
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## Settings...
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## Language Used           = en
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## Background Run          = False
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## - Notify                = False
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## Run at startup / login  = False
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## Run as service          = False
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## - Time interval         = 24
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## Overwrite all files     = False
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ##
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## Movie Artwork           = True
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## - Poster                = True
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## - Fanart                = True
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## - ExtraFanart           = True
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## - ExtraThumbs           = True
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## - Logo                  = False
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## - DiscArt               = False
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## - Default Thumb         = True
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ##
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## TV Show Artwork         = True
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## - Poster                = True
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## - Season Poster         = False
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## - Fanart                = True
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## - ExtraFanart           = True
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## - Clearart              = True
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## - Logo                  = True
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## - Showbanner            = True
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## - Seasonbanner          = False
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## - Thumb                 = True
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## - Show Seasonthumbs     = False
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## - Show Characterart     = True
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## - Default Thumb         = True
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## - Default Thumb Type    = Poster
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ##
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## Centralize Extrafanart  = False
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## - Movies Folder         =
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## - TV Shows Folder       =
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ##
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## Limit Artwork           = False
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## - Extrafanart Max       = 100
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## - Fanart Rating         = 10
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## - Movie Fanart Size     = 720
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## - TV Show Fanart Size   = 720
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## - Extrathumbs           = true
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## - Extrathumbs Max       = 4
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## - Language              = True
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## - Fanart with no text   = True
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ##
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## XBMC caching enabled    = False
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ##
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## End of Settings...
18:24:18 T:2740702064   DEBUG: unable to load /home/guevel/.xbmc/addons/script.artwork.downloader/resources/language/French/strings.xml: Failed to open file at line 0
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## Checking for starting arguments used by skins
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## arg 0: script.artwork.downloader
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## arg 1: mode=custom
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## arg 2: mediatype=movie
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## arg 3: medianame=Avatar
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## arg 4: extrafanart
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## no arg5
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## no arg6
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## no arg7
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## no arg8
18:24:18 T:2740702064   DEBUG: Previous line repeats 2 times.
18:24:18 T:2740702064   DEBUG: Artwork Downloader: ## Checking for downloading mode...
18:24:18 T:2740702064   DEBUG: Artwork Downloader: Setting up fileops
18:24:18 T:2740702064   DEBUG: unable to load /home/guevel/.xbmc/addons/script.artwork.downloader/resources/language/French/strings.xml: Failed to open file at line 0
18:24:40 T:2616920944   DEBUG: Thread Jobworker 2616920944 terminating (autodelete)
18:24:40 T:2656775024   DEBUG: Thread Jobworker 2656775024 terminating (autodelete)
18:24:40 T:2776603504   DEBUG: Thread Jobworker 2776603504 terminating (autodelete)
18:24:40 T:2608528240   DEBUG: Thread Jobworker 2608528240 terminating (autodelete)
find quote
Martijn Online
Team-XBMC
Posts: 7,674
Joined: Jul 2011
Reputation: 114
Location: Dawn of time
Post: #47
fmronan Wrote:ok that's limit but now xbmc crach.I'm with Ubuntu 11.10 and the last pre eden

This happens everytime?

I tried with latest nightly build using windows (have no other) also no error. Even in French 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: 584
Joined: Dec 2010
Reputation: 4
Post: #48
yes almost every time.and if xbmc does not block it finds nothing, and after it freeze
find quote
paddycarey Offline
Senior Member
Posts: 246
Joined: Sep 2009
Reputation: 8
Post: #49
fmronan Wrote:ok that's limit but now xbmc crach.I'm with Ubuntu 11.10 and the last pre eden

your log doesn't seem to show any script errors at all and doesn't seem to give any indication that anything has crashed, the script hasn't finished running at this point.

What are the symptoms of the crash? freezing? script error message?
find quote
fmronan Offline
Fan
Posts: 584
Joined: Dec 2010
Reputation: 4
Post: #50
I tried with another skin "convergence" and xbmc does not Crasch, but it never finds anything
find quote
Post Reply