2017-03-18, 23:51
(2017-03-17, 01:33)KODser Wrote: Is it possible to make a button on a custom window that has the same funcition as the "select artwork..." like skinners can do with the "artwork downloader"?
...
There sure is: replace "script.artwork.downloader" with "script.artwork.beef". Artwork Beef doesn't support music videos so you can remove that line, but you will want to add new lines with "mediatype=set" and "mediatype=episode". "mode=auto" runs the automatic process.
PHP Code:
<control type="button" id="9001">
<label>$LOCALIZE[31203]</label>
<onclick condition="Container.Content(tvshows)">XBMC.RunScript(script.artwork.downloader, mode=gui, mediatype=tvshow, dbid=$INFO[ListItem.DBID])</onclick>
<onclick condition="Container.Content(movies)">XBMC.RunScript(script.artwork.downloader, mode=gui, mediatype=movie, dbid=$INFO[ListItem.DBID])</onclick>
<onclick condition="Container.Content(sets)">XBMC.RunScript(script.artwork.downloader, mode=gui, mediatype=set, dbid=$INFO[ListItem.DBID])</onclick>
<onclick condition="Container.Content(episodes)">XBMC.RunScript(script.artwork.downloader, mode=gui, mediatype=episode, dbid=$INFO[ListItem.DBID])</onclick>
<description>Get Artwork</description>
</control>