From 52a14da027966458c44b1e7899f6c9f155ee1c44 Mon Sep 17 00:00:00 2001 From: Jezz_X Date: Sun, 29 May 2011 06:38:22 +1000 Subject: Added: [Confluence] TvTunes support --- addons/skin.confluence/720p/DialogVideoInfo.xml | 7 ++++++ .../720p/IncludesBackgroundBuilding.xml | 1 + addons/skin.confluence/720p/MyVideoNav.xml | 25 +++++++++++++++++++++- .../720p/custom_SkinSetting_1111.xml | 13 +++++++++++ addons/skin.confluence/720p/includes.xml | 2 +- 5 files changed, 46 insertions(+), 2 deletions(-) (limited to 'addons/skin.confluence/720p') 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 @@ PlayMedia($INFO[ListItem.Trailer],1) !IsEmpty(ListItem.Trailer) + Skin.HasSetting(WindowedTrailer) + + Fetch TvTunes stuff + ButtonInfoDialogsCommonValues + + XBMC.RunScript(script.tvtunes,mode=solo&tvpath=$INFO[ListItem.FilenameAndPath]&tvname=$INFO[ListItem.TVShowTitle]) + Skin.HasSetting(ActivateTvTunes) + System.HasAddon(script.tvtunes) + Container.Content(TVShows) + 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 @@ 1280 720 Player.HasAudio + !Skin.HasSetting(ShowBackgroundVis) + !SubString(Window(videolibrary).Property(TvTunesIsAlive),True) 0 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 @@ - 50 + 9999 no 50,51,500,550,551,560,501,508,504,503,505,511 + + TvTunes trigger + -10 + -10 + 1 + 1 + XBMC.RunScript(script.tvtunes,backend=True&loop=False) + SetFocus(50) + - + - + Skin.HasSetting(ActivateTvTunes) + System.HasAddon(script.tvtunes) + + + Don't trigger TvTunes if its not installed or active (Saves log errors) + -10 + -10 + 1 + 1 + SetFocus(50) + - + - + !Skin.HasSetting(ActivateTvTunes) | !System.HasAddon(script.tvtunes) + CommonVideoBackground CommonMediaPlayingBackground ContentPanelBackgrounds 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 @@ Skin.ToggleSetting(TVShowsUsePosters) Skin.HasSetting(TVShowsUsePosters) + + 750 + 40 + font13 + + grey2 + white + MenuItemFO.png + MenuItemNF.png + Skin.ToggleSetting(ActivateTvTunes) + Skin.HasSetting(ActivateTvTunes) + System.HasAddon(script.tvtunes) + 750 45 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 @@ - Player.HasMedia + Player.HasMedia + !SubString(Window(videolibrary).Property(TvTunesIsAlive),TRUE) VisibleFadeEffect Window_OpenClose_Animation -- cgit v1.2.3