Kodi Community Forum
[RELEASE] Artwork Downloader - Skin support - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+---- Forum: Skin helper addons (https://forum.kodi.tv/forumdisplay.php?fid=300)
+---- Thread: [RELEASE] Artwork Downloader - Skin support (/showthread.php?tid=115682)

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


RE: [RELEASE] Artwork Downloader - Skin support - fmronan - 2012-03-18

ubuntu 11.10 xbmc rc2
http://paste.ubuntu.com/889577/


RE: [RELEASE] Artwork Downloader - Skin support - Martijn - 2012-03-18

(2012-03-18, 20:52)fmronan Wrote: ubuntu 11.10 xbmc rc2
http://paste.ubuntu.com/889577/

Can you try again with the latest in downloads

You also didn't run it in your log.


RE: [RELEASE] Artwork Downloader - Skin support - fmronan - 2012-03-18

same problem, I try with
Code:
<onclick condition="Container.Content(movie)">XBMC.RunScript(script.artwork.downloader, mediatype=movie, medianame=$ESCINFO[ListItem.Title], mediapath=$ESCINFO[ListItem.Path])</onclick>
http://paste.ubuntu.com/889609/
and my dialogvideoinfo.xml
http://paste.ubuntu.com/889614/


RE: [RELEASE] Artwork Downloader - Skin support - BigNoid - 2012-03-18

Container.Content(movie) should be Container.Content(movies). And that group with id 5050 looks very familiar Wink


RE: [RELEASE] Artwork Downloader - Skin support - fmronan - 2012-03-18

Sure that's your for my test.


RE: [RELEASE] Artwork Downloader - Skin support - fmronan - 2012-03-18

ok, now I have a error and after that xbmc freeze.

Code:
22:30:49 T:2725858160   DEBUG: Artwork Downloader: -----------------
22:30:49 T:2725858160   DEBUG: Artwork Downloader: Debugging type: movie
22:30:49 T:2725858160   DEBUG: Artwork Downloader: Debugging name: Avatar
22:30:49 T:2725858160   DEBUG: Artwork Downloader: Debugging path: /media/Disq500GO/Mes vidéos/FILM/Avatar
22:30:49 T:2725858160   DEBUG: Artwork Downloader: -----------------
22:30:49 T:2725858160   DEBUG: Artwork Downloader: ## Solo mode: movie...
22:30:50 T:2725858160   DEBUG: Artwork Downloader: Retrieving fanart for: Avatar
22:30:50 T:2725858160    INFO: -->Python script returned the following error<--
22:30:50 T:2725858160   ERROR: Error Type: <type 'exceptions.UnicodeDecodeError'>
22:30:50 T:2725858160   ERROR: Error Contents: 'ascii' codec can't decode byte 0xc3 in position 24: ordinal not in range(128)
22:30:50 T:2725858160   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 71, in __init__
                                                self.solo_mode(self.mediatype, self.medianame, self.mediapath)
                                              File "/home/guevel/.xbmc/addons/script.artwork.downloader/default.py", line 312, in solo_mode
                                                if itempath in currentitem['path'] or itempath == '':
                                            UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 24: ordinal not in range(128)
22:30:50 T:2725858160    INFO: -->End of Python script error report<--



RE: [RELEASE] Artwork Downloader - Skin support - Martijn - 2012-03-19

(2012-03-18, 23:33)fmronan Wrote: ok, now I have a error and after that xbmc freeze.

ok now try the new .zip


RE: [RELEASE] Artwork Downloader - Skin support - fmronan - 2012-03-19

ok, work , but xbmc freeze when it clean files
http://paste.ubuntu.com/889949/


RE: [RELEASE] Artwork Downloader - Skin support - Martijn - 2012-03-19

(2012-03-19, 01:02)fmronan Wrote: ok, work , but xbmc freeze when it clean files
http://paste.ubuntu.com/889949/

At least that is something and the script is functioning Smile

Is it possible that you can custom build a XBMC version including a possible fix for this?
Include the patch file to the latest master branch found on github.
patch file:
http://pastebin.com/yT9d3N4d




RE: [RELEASE] Artwork Downloader - Skin support - fmronan - 2012-03-19

I don't want, for me it must work for everybody.
thanks


RE: [RELEASE] Artwork Downloader - Skin support - Martijn - 2012-03-19

(2012-03-19, 10:17)fmronan Wrote: I don't want, for me it must work for everybody.
thanks

Yeah well if you don't wanna try we can't fix it. We need some one who has that issue to test if that fixes it. So I guess it won't be resolved for Eden11.0 final


RE: [RELEASE] Artwork Downloader - Skin support - mikebzh44 - 2012-03-19

I have this issue some times on Windows 7 32 bits.

But I don't know how to compile XBMC Sad


RE: [RELEASE] Artwork Downloader - Skin support - Martijn - 2012-03-19

(2012-03-19, 11:50)mikebzh44 Wrote: I have this issue some times on Windows 7 32 bits.

But I don't know how to compile XBMC Sad

I can compile a windows for you Smile
Will PM you the link when I build one


RE: [RELEASE] Artwork Downloader - Skin support - mikebzh44 - 2012-03-19

Some more tests.

When using this addon as program, it's work :

http://paste.ubuntu.com/890459/

When refreshing discart from Movie Information Windows in Glass with modified XML :

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

It could work :

http://paste.ubuntu.com/890463/

or not :

http://paste.ubuntu.com/890464/


RE: [RELEASE] Artwork Downloader - Skin support - mikebzh44 - 2012-03-19

OK. I think that the issue is due to Glass skin and not to your addon.

On my PC, everything is OK with Aeon Nox. I have modifie DialogVideoInfo.xml this way :

Code:
<item id="8">
            <description>Get Extrafanart</description>
            <label>Extra+</label>
            <onclick condition="Container.Content(movies)">XBMC.RunScript(script.artwork.downloader,mode=gui,mediatype=movie,medianame=$ESCINFO[ListItem.Title],mediapath=$ESCINFO[ListItem.Path])</onclick>
            <onclick condition="Container.Content(tvshows)">XBMC.RunScript(script.artwork.downloader,mode=custom,mediatype=tvshow,medianame=$INFO[ListItem.TVShowTitle],extrafanart)</onclick>            
            <visible>[Container.Content(movies)|Container.Content(tvshows)] + system.hasaddon(script.artwork.downloader)</visible>
          </item>

In Glass, XBMC freeze and it's due to DialogSelect.xml

If I take DialogSelect.xml from Aeon Nox directory and copy it to Glass directory, addon can work in mode=gui but display is quite stange (normal because it's Aeon's DialogSelect Big Grin).

I will explain this to fmronan in French Wink

Thanks for your help (XBMC custom compile).