2014-06-03, 19:34
(2014-06-03, 12:29)jingai Wrote: capfuturo,
I've removed the loop=False when instantiating the TvTunes add-on and plan to add a button to download tunes in DialogVideoInfo. Was there more that needed to be done?
Hi Jingai,
I had a look at the new DialogVideoInfo.xml in your Github and looks Ok to me now. I'd just suggest double-checking that the MyVideoNav.xml is in line with TvTunes's wiki so it can trigger the themes whilst browsing the library if the user wanted so ;-).
Code:
<onload condition="Skin.HasSetting(ActivateTvTunes) + System.HasAddon(script.tvtunes)">
XBMC.RunScript(script.tvtunes,backend=True)</onload>
Then once you have the button designed just add to the DialogVideoInfo.xml (or any other xml you use for this purpose) the following controls, which is what Confluence is using (but adapted to Metropolis skin of course) as per TvTunes's wiki:
Code:
<control type="button" id="100">
<description>Fetch TvTunes stuff</description>
<include>ButtonInfoDialogsCommonValues</include>
<label>31127</label>
<onclick>XBMC.RunScript(script.tvtunes,mode=solo)</onclick>
<visible>Skin.HasSetting(ActivateTvTunes) + System.HasAddon(script.tvtunes) +
[Container.Content(TVShows) | Container.Content(movies) | Container.Content(musicvideos)] +
IsEmpty(Window(movieinformation).Property("TvTunes_HideVideoInfoButton"))</visible>
</control>
(2014-06-03, 12:29)jingai Wrote: VideoExtras isn't supported in Metropolis at all yet, though it's on the todo list.Wow! That will be awesome and most welcomed by many who just can't wait to have a consistent way to access, control and manage their featured material from their DVDs and Blurays from within XBMC.