From 96b6fee4fdab02f125821e7a5eb5a647a6598f8e Mon Sep 17 00:00:00 2001 From: HitcherUK Date: Mon, 29 Aug 2016 11:51:35 +0100 Subject: [PATCH] [skin.confluence] v3.0.36 - Added customisable home submenus that use library nodes - Added news feature --- 720p/DialogAddonInfo.xml | 27 +++++++++- 720p/Home.xml | 39 ++++++++++++++ 720p/Includes.xml | 1 + 720p/IncludesHomeMenuItems.xml | 92 +++++++++++++++++++--------------- addon.xml | 3 +- changelog.txt | 5 ++ 6 files changed, 124 insertions(+), 43 deletions(-) diff --git a/720p/DialogAddonInfo.xml b/720p/DialogAddonInfo.xml index 4c9bb76..dc83ab2 100644 --- a/720p/DialogAddonInfo.xml +++ b/720p/DialogAddonInfo.xml @@ -45,7 +45,7 @@ 270 - 130 + 115 Type txt 10 @@ -143,6 +143,31 @@ false 2000 + + News txt + 10 + 120 + 140 + 25 + + right + center + font13 + blue + + + News Value + 160 + 120 + 440 + 25 + + left + center + font13 + false + 2000 + 0 160 diff --git a/720p/Home.xml b/720p/Home.xml index 63c9586..537f4e0 100644 --- a/720p/Home.xml +++ b/720p/Home.xml @@ -6,6 +6,45 @@ ClearProperty(VideosDirectLink) ClearProperty(MusicDirectLink) + + -10 + -10 + 1 + 1 + list + + + + + library://video/movies/ + Library.HasContent(Movies) + + + -10 + -10 + 1 + 1 + list + + + + + library://video/tvshows/ + Library.HasContent(TVShows) + + + -10 + -10 + 1 + 1 + list + + + + + library://music/ + Library.HasContent(Music) + CommonBackground DepthFloor diff --git a/720p/Includes.xml b/720p/Includes.xml index 76bf04d..a777cdb 100644 --- a/720p/Includes.xml +++ b/720p/Includes.xml @@ -338,6 +338,7 @@ font12 grey2 white + true HomeSubFO.png HomeSubNF.png false diff --git a/720p/IncludesHomeMenuItems.xml b/720p/IncludesHomeMenuItems.xml index 2377816..bd71348 100644 --- a/720p/IncludesHomeMenuItems.xml +++ b/720p/IncludesHomeMenuItems.xml @@ -54,34 +54,38 @@ ButtonHomeSubCommonValues - - ActivateWindow(Videos,RecentlyAddedMovies,return) + + ActivateWindow(Videos,$INFO[Container(90160).ListItemNoWrap(0).FileNameAndPath],return) ButtonHomeSubCommonValues - - ActivateWindow(Videos,MovieSets,return) - Library.HasContent(MovieSets) + + ActivateWindow(Videos,$INFO[Container(90160).ListItemNoWrap(1).FileNameAndPath],return) + !String.IsEmpty(Container(90160).ListItemNoWrap(1).Label) ButtonHomeSubCommonValues - - ActivateWindow(Videos,MovieTitles,return) + + ActivateWindow(Videos,$INFO[Container(90160).ListItemNoWrap(2).FileNameAndPath],return) + !String.IsEmpty(Container(90160).ListItemNoWrap(2).Label) ButtonHomeSubCommonValues - - ActivateWindow(Videos,MovieGenres,return) + + ActivateWindow(Videos,$INFO[Container(90160).ListItemNoWrap(3).FileNameAndPath],return) + !String.IsEmpty(Container(90160).ListItemNoWrap(3).Label) ButtonHomeSubCommonValues - - ActivateWindow(Videos,MovieYears,return) + + ActivateWindow(Videos,$INFO[Container(90160).ListItemNoWrap(4).FileNameAndPath],return) + !String.IsEmpty(Container(90160).ListItemNoWrap(4).Label) ButtonHomeSubCommonValues - - ActivateWindow(Videos,MovieActors,return) + + ActivateWindow(Videos,$INFO[Container(90160).ListItemNoWrap(5).FileNameAndPath],return) + !String.IsEmpty(Container(90160).ListItemNoWrap(5).Label) 35 @@ -97,33 +101,38 @@ ButtonHomeSubCommonValues - - ActivateWindow(Videos,RecentlyAddedEpisodes,return) + + ActivateWindow(Videos,$INFO[Container(90170).ListItemNoWrap(0).FileNameAndPath],return) ButtonHomeSubCommonValues - - ActivateWindow(Videos,InProgressTvShows,return) + + ActivateWindow(Videos,$INFO[Container(90170).ListItemNoWrap(1).FileNameAndPath],return) + !String.IsEmpty(Container(90170).ListItemNoWrap(1).Label) ButtonHomeSubCommonValues - - ActivateWindow(Videos,TVShowTitles,return) + + ActivateWindow(Videos,$INFO[Container(90170).ListItemNoWrap(2).FileNameAndPath],return) + !String.IsEmpty(Container(90170).ListItemNoWrap(2).Label) ButtonHomeSubCommonValues - - ActivateWindow(Videos,TVShowGenres,return) + + ActivateWindow(Videos,$INFO[Container(90170).ListItemNoWrap(3).FileNameAndPath],return) + !String.IsEmpty(Container(90170).ListItemNoWrap(3).Label) ButtonHomeSubCommonValues - - ActivateWindow(Videos,TVShowYears,return) + + ActivateWindow(Videos,$INFO[Container(90170).ListItemNoWrap(4).FileNameAndPath],return) + !String.IsEmpty(Container(90170).ListItemNoWrap(4).Label) ButtonHomeSubCommonValues - - ActivateWindow(Videos,TVShowActors,return) + + ActivateWindow(Videos,$INFO[Container(90170).ListItemNoWrap(5).FileNameAndPath],return) + !String.IsEmpty(Container(90170).ListItemNoWrap(5).Label) 35 @@ -139,37 +148,38 @@ ButtonHomeSubCommonValues - - ActivateWindow(Music,Artists,return) - Library.HasContent(Music) + + ActivateWindow(Music,$INFO[Container(90110).ListItemNoWrap(0).FileNameAndPath],return) ButtonHomeSubCommonValues - - ActivateWindow(Music,Albums,return) - Library.HasContent(Music) + + ActivateWindow(Music,$INFO[Container(90110).ListItemNoWrap(1).FileNameAndPath],return) + !String.IsEmpty(Container(90110).ListItemNoWrap(1).Label) ButtonHomeSubCommonValues - - ActivateWindow(Music,Songs,return) - Library.HasContent(Music) + + ActivateWindow(Music,$INFO[Container(90110).ListItemNoWrap(2).FileNameAndPath],return) + !String.IsEmpty(Container(90110).ListItemNoWrap(2).Label) ButtonHomeSubCommonValues - - ActivateWindow(Music,Files,return) + + ActivateWindow(Music,$INFO[Container(90110).ListItemNoWrap(3).FileNameAndPath],return) + !String.IsEmpty(Container(90110).ListItemNoWrap(3).Label) ButtonHomeSubCommonValues - - ActivateWindow(Music,Root) - Library.HasContent(Music) + + ActivateWindow(Music,$INFO[Container(90110).ListItemNoWrap(4).FileNameAndPath],return) + !String.IsEmpty(Container(90110).ListItemNoWrap(4).Label) ButtonHomeSubCommonValues - - ActivateWindow(Music,Addons,return) + + ActivateWindow(Music,$INFO[Container(90110).ListItemNoWrap(5).FileNameAndPath],return) + !String.IsEmpty(Container(90110).ListItemNoWrap(5).Label) 35 diff --git a/addon.xml b/addon.xml index c9093fd..60d4285 100644 --- a/addon.xml +++ b/addon.xml @@ -1,5 +1,5 @@ - + @@ -136,5 +136,6 @@ resources/icon.png resources/fanart.jpg + Customisable home submenus using the Library Node Editor addon diff --git a/changelog.txt b/changelog.txt index eb60d5a..d708ebb 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,8 @@ +[B]3.0.36[/B] + +- Added customisable home submenus that use library nodes +- Added news feature + [B]3.0.35[/B] - Updated language files from Transifex