diff options
author | Jezz_X <jezzx2@gmail.com> | 2011-05-29 06:38:22 +1000 |
---|---|---|
committer | Jezz_X <jezzx2@gmail.com> | 2011-08-09 17:55:14 +1000 |
commit | 52a14da027966458c44b1e7899f6c9f155ee1c44 (patch) | |
tree | a786bb24273fb985fa75f4987ed6fae4e3d67b05 /addons/skin.confluence/720p | |
parent | 1d9a8e099595ec723b3b897d6bb02d6bf9e1ed8d (diff) |
Added: [Confluence] TvTunes support
Diffstat (limited to 'addons/skin.confluence/720p')
-rw-r--r-- | addons/skin.confluence/720p/DialogVideoInfo.xml | 7 | ||||
-rw-r--r-- | addons/skin.confluence/720p/IncludesBackgroundBuilding.xml | 1 | ||||
-rw-r--r-- | addons/skin.confluence/720p/MyVideoNav.xml | 25 | ||||
-rw-r--r-- | addons/skin.confluence/720p/custom_SkinSetting_1111.xml | 13 | ||||
-rw-r--r-- | addons/skin.confluence/720p/includes.xml | 2 |
5 files changed, 46 insertions, 2 deletions
diff --git a/addons/skin.confluence/720p/DialogVideoInfo.xml b/addons/skin.confluence/720p/DialogVideoInfo.xml index 190863b0c7..d6509b3f33 100644 --- a/addons/skin.confluence/720p/DialogVideoInfo.xml +++ b/addons/skin.confluence/720p/DialogVideoInfo.xml @@ -1128,6 +1128,13 @@ <onclick>PlayMedia($INFO[ListItem.Trailer],1)</onclick> <visible>!IsEmpty(ListItem.Trailer) + Skin.HasSetting(WindowedTrailer)</visible> </control> + <control type="button" id="100"> + <description>Fetch TvTunes stuff</description> + <include>ButtonInfoDialogsCommonValues</include> + <label>31127</label> + <onclick>XBMC.RunScript(script.tvtunes,mode=solo&tvpath=$INFO[ListItem.FilenameAndPath]&tvname=$INFO[ListItem.TVShowTitle])</onclick> + <visible>Skin.HasSetting(ActivateTvTunes) + System.HasAddon(script.tvtunes) + Container.Content(TVShows)</visible> + </control> </control> </control> </control> diff --git a/addons/skin.confluence/720p/IncludesBackgroundBuilding.xml b/addons/skin.confluence/720p/IncludesBackgroundBuilding.xml index a5ef48fb89..a1122d07ee 100644 --- a/addons/skin.confluence/720p/IncludesBackgroundBuilding.xml +++ b/addons/skin.confluence/720p/IncludesBackgroundBuilding.xml @@ -14,6 +14,7 @@ <width>1280</width> <height>720</height> <visible>Player.HasAudio + !Skin.HasSetting(ShowBackgroundVis)</visible> + <visible>!SubString(Window(videolibrary).Property(TvTunesIsAlive),True)</visible> </control> <control type="videowindow"> <posx>0</posx> diff --git a/addons/skin.confluence/720p/MyVideoNav.xml b/addons/skin.confluence/720p/MyVideoNav.xml index 4acbd6a315..1e93c96da1 100644 --- a/addons/skin.confluence/720p/MyVideoNav.xml +++ b/addons/skin.confluence/720p/MyVideoNav.xml @@ -1,8 +1,31 @@ <window id="25"> - <defaultcontrol always="true">50</defaultcontrol> + <defaultcontrol always="true">9999</defaultcontrol> <allowoverlay>no</allowoverlay> <views>50,51,500,550,551,560,501,508,504,503,505,511</views> <controls> + <control type="button" id="9999"> + <description>TvTunes trigger</description> + <posx>-10</posx> + <posy>-10</posy> + <width>1</width> + <height>1</height> + <onfocus>XBMC.RunScript(script.tvtunes,backend=True&loop=False)</onfocus> + <onfocus>SetFocus(50)</onfocus> + <texturenofocus>-</texturenofocus> + <texturefocus>-</texturefocus> + <visible>Skin.HasSetting(ActivateTvTunes) + System.HasAddon(script.tvtunes)</visible> + </control> + <control type="button" id="9999"> + <description>Don't trigger TvTunes if its not installed or active (Saves log errors)</description> + <posx>-10</posx> + <posy>-10</posy> + <width>1</width> + <height>1</height> + <onfocus>SetFocus(50)</onfocus> + <texturenofocus>-</texturenofocus> + <texturefocus>-</texturefocus> + <visible>!Skin.HasSetting(ActivateTvTunes) | !System.HasAddon(script.tvtunes)</visible> + </control> <include>CommonVideoBackground</include> <include>CommonMediaPlayingBackground</include> <include>ContentPanelBackgrounds</include> diff --git a/addons/skin.confluence/720p/custom_SkinSetting_1111.xml b/addons/skin.confluence/720p/custom_SkinSetting_1111.xml index 0e377992ea..bdb3882e7c 100644 --- a/addons/skin.confluence/720p/custom_SkinSetting_1111.xml +++ b/addons/skin.confluence/720p/custom_SkinSetting_1111.xml @@ -292,6 +292,19 @@ <onclick>Skin.ToggleSetting(TVShowsUsePosters)</onclick> <selected>Skin.HasSetting(TVShowsUsePosters)</selected> </control> + <control type="radiobutton" id="115"> + <width>750</width> + <height>40</height> + <font>font13</font> + <label>31126</label> + <textcolor>grey2</textcolor> + <focusedcolor>white</focusedcolor> + <texturefocus>MenuItemFO.png</texturefocus> + <texturenofocus>MenuItemNF.png</texturenofocus> + <onclick>Skin.ToggleSetting(ActivateTvTunes)</onclick> + <selected>Skin.HasSetting(ActivateTvTunes)</selected> + <visible>System.HasAddon(script.tvtunes)</visible> + </control> <control type="label" id="106"> <width>750</width> <height>45</height> diff --git a/addons/skin.confluence/720p/includes.xml b/addons/skin.confluence/720p/includes.xml index 3f09909b87..a19908d9e2 100644 --- a/addons/skin.confluence/720p/includes.xml +++ b/addons/skin.confluence/720p/includes.xml @@ -171,7 +171,7 @@ </include> <include name="CommonNowPlaying"> <control type="group"> - <visible>Player.HasMedia</visible> + <visible>Player.HasMedia + !SubString(Window(videolibrary).Property(TvTunesIsAlive),TRUE)</visible> <include>VisibleFadeEffect</include> <include>Window_OpenClose_Animation</include> <control type="image"> |