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 - giftie - 2012-03-20

ID 13 is a built in function, try using a higher ID number.

(2012-03-20, 05:15)Balinus Wrote: Hello!

I've added support for Artwork Downloader in Shade and there's some strange behavior. I wouldn't be surprised the problem is my implementation but who knows..! The script works, but strangely.

Here's what happen : in the info screen (DialogVideoInfo.xml), I've added the following code :

PHP Code:
<control type="button" id="13">
               <
description>Get Artwork</description>
               <include>
ButtonInfoDialogsCommonValues</include>
        <
onclick condition="Container.Content(tvshows)">XBMC.RunScript(script.artwork.downloadermode=guimediatype=tvshowmedianame=$INFO[ListItem.TVShowTitle])</onclick>
        <
onclick condition="Container.Content(movies)">XBMC.RunScript(script.artwork.downloadermode=guimediatype=moviemedianame=$INFO[ListItem.Title],mediapath=$INFO[ListItem.Path])</onclick>
        <
visible>[Container.Content(tvshows)|Container.Content(movies)]+system.hasaddon(script.artwork.downloader)</visible>
              <
label>Get Artwork</label>                                                    
 </
control

Now, when I click Get Artwork for a movie, I have a dialog where i choose the movie, but then, it's just like the "information screen" is loaded again and the window where I could chose the type of artwork is behind the information screen. It's just when I escape from the information screen and go back to movie selection that the window to chose the type of media is shown.

Thanks for any help!

edit - Skin is available here in case someone would like to test it out : here or here



RE: [RELEASE] Artwork Downloader - Skin support - jfcarroll - 2012-03-20

Please let me know if this fixes the problem. If so, I'll submit a PR:

https://github.com/jimfcarroll/xbmc/commit/eb2bfb619ccc2d7e72737a9586e0ee31b6b2ede0

EDIT: This is meant to only fix the progress dialog deadlock. Please let me know if it does that.
EDIT2: If someone isn't sure how to apply this, let me know, I'll post instructions.


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

If someone can build a xbmc.exe or an XBMC installer for Windows, I can test it.
I have Visual C++ 2010 installed, I have download dialog.cpp from your GIT repository.

How can I compile xbmc.exe or create an XBMC installer with that ?


RE: [RELEASE] Artwork Downloader - Skin support - FrostBox - 2012-03-20

(2012-03-20, 12:48)jfcarroll Wrote: Please let me know if this fixes the problem. If so, I'll submit a PR:

https://github.com/jimfcarroll/xbmc/commit/eb2bfb619ccc2d7e72737a9586e0ee31b6b2ede0

EDIT: This is meant to only fix the progress dialog deadlock. Please let me know if it does that.
EDIT2: If someone isn't sure how to apply this, let me know, I'll post instructions.

I started compile, I will back later with the result. approx. 2 hours max
thanks jfcarroll
Frost


RE: [RELEASE] Artwork Downloader - Skin support - FrostBox - 2012-03-20

It's OK for me.
I tested 10 times and no freeze append. Wink
I will retested later, but actually work perfectly.

If any guys want testing... http://passion-xbmc.org/gros_fichiers/frost/XBMC.exe

Image


thanks again jfcarroll

frost



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

Bas news.

Using xbmc.exe from Frostbox + Glass + Artwork downloader : freeze each time I call addon Sad

Maybe I will be able to produce traceback file on my PC with VC++ this evening (France time).


RE: [RELEASE] Artwork Downloader - Skin support - Balinus - 2012-03-20

(2012-03-20, 06:25)giftie Wrote: ID 13 is a built in function, try using a higher ID number.

Thanks! Using ID 14 solved the problem. Smile

edit - Where could I see a list of ID associated with built-in functions? Is is here? : http://wiki.xbmc.org/index.php?title=Window_IDs
This would mean that ID 14 is also associated with a built-in function? In this case "weathersettings" ?




RE: [RELEASE] Artwork Downloader - Skin support - jfcarroll - 2012-03-20

(2012-03-20, 13:59)FrostBox Wrote:
It's OK for me.
I tested 10 times and no freeze append. Wink
I will retested later, but actually work perfectly.

If any guys want testing... http://passion-xbmc.org/gros_fichiers/frost/XBMC.exe

frost

(2012-03-20, 14:23)mikebzh44 Wrote: Bas news.

Using xbmc.exe from Frostbox + Glass + Artwork downloader : freeze each time I call addon Sad

Maybe I will be able to produce traceback file on my PC with VC++ this evening (France time).

Ok. Did it fix it or not? Sounds like it did something. Should I submit the PR?



RE: [RELEASE] Artwork Downloader - Skin support - Wanilton - 2012-03-20

Update translate for portuguese (Brazil)
link for download here:
http://dl.dropbox.com/u/25170804/Artwork/Portuguese%20%28brazil%29/Portuguese%20%28brazil%29/strings.xml

Addon run fine for me with new xbmc.exe, don´t crash..




RE: [RELEASE] Artwork Downloader - Skin support - jfcarroll - 2012-03-20

https://github.com/xbmc/xbmc/pull/790


RE: [RELEASE] Artwork Downloader - Skin support - butchabay - 2012-03-20

(2012-03-20, 15:25)Balinus Wrote:
(2012-03-20, 06:25)giftie Wrote: ID 13 is a built in function, try using a higher ID number.

Thanks! Using ID 14 solved the problem. Smile

edit - Where could I see a list of ID associated with built-in functions? Is is here? : http://wiki.xbmc.org/index.php?title=Window_IDs
This would mean that ID 14 is also associated with a built-in function? In this case "weathersettings" ?

No these are window id's ...

here a list of built in controls ... in your case DialogVideoInfo.xml

http://wiki.xbmc.org/index.php?title=List_of_Built_In_Controls


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

1 - For XBMC freezing when using Artwork Download, it's finally a Glass problem, even if patch is usefull for other issues. Fmronan and Frostbox are working on skin.

2 - When using mode=gui, is it possible to display only valid items for the movie instead of default list :

Poster
Fanart
Logo
Clearart
Disc art

For exemple, when using Artwork Downloader in GUI mode on Avatar movie, you can only download 3 items for the moment (1 clearlogo and 2 cdart) so items list should be :

Logo
Disc art


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

(2012-03-20, 18:49)mikebzh44 Wrote: For exemple, when using Artwork Downloader in GUI mode on Avatar movie, you can only download 3 items for the moment (1 clearlogo and 2 cdart) so items list should be :

Logo
Disc art
I already thought about that Wink

Maybe next update. Need some code cleaning first


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

(2012-03-20, 15:50)Wanilton Wrote: Update translate for portuguese (Brazil)
link for download here:
http://dl.dropbox.com/u/25170804/Artwork/Portuguese%20%28brazil%29/Portuguese%20%28brazil%29/strings.xml

Addon run fine for me with new xbmc.exe, don´t crash..

XML contains English strings


RE: [RELEASE] Artwork Downloader - Skin support - Balinus - 2012-03-20

(2012-03-20, 17:49)butchabay Wrote:
(2012-03-20, 15:25)Balinus Wrote:
(2012-03-20, 06:25)giftie Wrote: ID 13 is a built in function, try using a higher ID number.

Thanks! Using ID 14 solved the problem. Smile

edit - Where could I see a list of ID associated with built-in functions? Is is here? : http://wiki.xbmc.org/index.php?title=Window_IDs
This would mean that ID 14 is also associated with a built-in function? In this case "weathersettings" ?

Great, thanks a lot! Smile

No these are window id's ...

here a list of built in controls ... in your case DialogVideoInfo.xml

http://wiki.xbmc.org/index.php?title=List_of_Built_In_Controls

Thanks!