From 953f19c0bf2a6d77d4877d0fcb91a14f5b6ffbfe Mon Sep 17 00:00:00 2001 From: Chris Bevan Date: Fri, 3 Jul 2015 18:35:36 +0100 Subject: [PATCH] Various --- 1080i/Includes_animations.xml | 2 +- 1080i/Includes_hubMenuItems.xml | 36 +- 1080i/Includes_hubMenuSubItems.xml | 50 --- 1080i/MyVideoNav.xml | 2 +- 1080i/View_Addons.xml | 2 + 1080i/View_Albums.xml | 2 + 1080i/View_Movies.xml | 2 + 1080i/View_MusicRecentItems.xml | 6 + 1080i/View_Photos.xml | 1 + 1080i/View_Songs.xml | 2 +- 1080i/View_TVShows.xml | 2 +- 1080i/View_VideoRecentItems.xml | 497 +++++++++++++------------ 1080i/custom_musicPlayerFullscreen.xml | 8 - language/English/strings.po | 10 +- 14 files changed, 301 insertions(+), 321 deletions(-) diff --git a/1080i/Includes_animations.xml b/1080i/Includes_animations.xml index c77aae8..4887407 100644 --- a/1080i/Includes_animations.xml +++ b/1080i/Includes_animations.xml @@ -62,7 +62,7 @@ - + diff --git a/1080i/Includes_hubMenuItems.xml b/1080i/Includes_hubMenuItems.xml index e2bc42f..7997ed7 100644 --- a/1080i/Includes_hubMenuItems.xml +++ b/1080i/Includes_hubMenuItems.xml @@ -3,13 +3,6 @@ - - - Player.HasVideo - - - action(fullscreen) - System.HasMediaDVD @@ -23,6 +16,16 @@ EjectTray() + + + System.HasAddon(script.globalsearch) + + + Skin.SetString(showRecentVideoItems,false) + activateWindow(videos,movietitles) + RunScript(script.globalsearch,movies=true&tvshows=true&episodes=true) + right + @@ -30,7 +33,7 @@ reloadskin() activateWindow(VideoLibrary) Skin.SetString(showRecentVideoItems,true) - Control.SetFocus(9000) + Control.SetFocus(9998) System.GetBool(pvrmanager.enabled) @@ -72,14 +75,6 @@ control.setfocus(50) Skin.SetString(showRecentVideoItems,false) - - - - - activateWindow(Videos,playlists,return) - control.setfocus(50) - Skin.SetString(showRecentVideoItems,false) - !isempty(Skin.String(customVideoAddon1)) @@ -198,6 +193,15 @@ EjectTray() + + + System.HasAddon(script.globalsearch) + + + RunScript(script.globalsearch,artists=true&albums=true) + Skin.SetString(showRecentMusicItems,false) + right + diff --git a/1080i/Includes_hubMenuSubItems.xml b/1080i/Includes_hubMenuSubItems.xml index ac0a985..91ff455 100644 --- a/1080i/Includes_hubMenuSubItems.xml +++ b/1080i/Includes_hubMenuSubItems.xml @@ -2,24 +2,6 @@ - - Search (videos) - [window.isactive(videolibrary) | window.isactive(videoplaylist) | window.isactive(pvr)] + System.HasAddon(script.globalsearch) - 2-row - col-7-begin - menuTitle - textActive - highlight - menuDisabled - colors/white.png - - - col-1-begin - - Skin.SetString(showRecentVideoItems,false) - activateWindow(videos,movietitles) - RunScript(script.globalsearch,movies=true&tvshows=true&episodes=true) - right - Sort by 2-row @@ -133,23 +115,6 @@ - - Search (music) - System.HasAddon(script.globalsearch) - 2-row - col-7-begin - menuTitle - textActive - highlight - menuDisabled - colors/white.png - - - col-1-begin - - RunScript(script.globalsearch,artists=true&albums=true) - Skin.SetString(showRecentMusicItems,false) - right - Sort by 2-row @@ -193,21 +158,6 @@ Skin.SetString(menuItemTypeFilter,audio) ActivateWindow(5000) - - Set recent content - 2-row - col-7-begin - menuTitle - textActive - highlight - menuDisabled - colors/white.png - - - col-1-begin - - Skin.SetString(menuItemTypeFilter,audio) - ActivateWindow(5900) - 2-row col-7-begin diff --git a/1080i/MyVideoNav.xml b/1080i/MyVideoNav.xml index 52a9654..7ee3b15 100644 --- a/1080i/MyVideoNav.xml +++ b/1080i/MyVideoNav.xml @@ -34,11 +34,11 @@ [SubString(skin.string(showRecentVideoItems),false) | !skin.string(showRecentVideoItems)] movies - files tvshows seasons episodes addons + files diff --git a/1080i/View_Addons.xml b/1080i/View_Addons.xml index 1fded3b..2560e7b 100644 --- a/1080i/View_Addons.xml +++ b/1080i/View_Addons.xml @@ -29,6 +29,7 @@ textboxInactive + !controlgroup(9000).hasfocus 12 2-row 240 @@ -40,6 +41,7 @@ + !controlgroup(9000).hasfocus 12 3-row 240 diff --git a/1080i/View_Albums.xml b/1080i/View_Albums.xml index b8ace35..95a27b2 100644 --- a/1080i/View_Albums.xml +++ b/1080i/View_Albums.xml @@ -44,6 +44,7 @@ textboxInactive + !controlgroup(9000).hasfocus 12 2-row 240 @@ -55,6 +56,7 @@ + !controlgroup(9000).hasfocus 12 3-row 240 diff --git a/1080i/View_Movies.xml b/1080i/View_Movies.xml index 44afe98..d696999 100644 --- a/1080i/View_Movies.xml +++ b/1080i/View_Movies.xml @@ -46,6 +46,7 @@ textboxInactive + !controlgroup(9000).hasfocus 12 4-row 240 @@ -57,6 +58,7 @@ + !controlgroup(9000).hasfocus 12 5-row 240 diff --git a/1080i/View_MusicRecentItems.xml b/1080i/View_MusicRecentItems.xml index 71c8460..16e3776 100644 --- a/1080i/View_MusicRecentItems.xml +++ b/1080i/View_MusicRecentItems.xml @@ -50,6 +50,7 @@ textboxInactive + !controlgroup(9000).hasfocus 12 2-row 240 @@ -61,6 +62,7 @@ + !controlgroup(9000).hasfocus 12 3-row 240 @@ -222,6 +224,7 @@ textboxInactive + !controlgroup(9000).hasfocus 12 2-row 240 @@ -233,6 +236,7 @@ + !controlgroup(9000).hasfocus 12 3-row 240 @@ -390,6 +394,7 @@ textboxInactive + !controlgroup(9000).hasfocus 12 2-row 240 @@ -401,6 +406,7 @@ + !controlgroup(9000).hasfocus 12 3-row 240 diff --git a/1080i/View_Photos.xml b/1080i/View_Photos.xml index 9375c9e..60df69d 100644 --- a/1080i/View_Photos.xml +++ b/1080i/View_Photos.xml @@ -25,6 +25,7 @@ ffFFFFFF + !controlgroup(9000).hasfocus 12 3-row 384 diff --git a/1080i/View_Songs.xml b/1080i/View_Songs.xml index c8ea5e4..20e39a2 100644 --- a/1080i/View_Songs.xml +++ b/1080i/View_Songs.xml @@ -72,7 +72,7 @@ col-10-begin row-9-begin 15-col - 18-row + 19-row 9000 60 56 diff --git a/1080i/View_TVShows.xml b/1080i/View_TVShows.xml index ff90eff..2efeae4 100644 --- a/1080i/View_TVShows.xml +++ b/1080i/View_TVShows.xml @@ -7,7 +7,7 @@ - container.content(tvshows) + container.content(tvshows) | Substring(Container.folderpath,plugin) dimensionsFullscreen stretch diff --git a/1080i/View_VideoRecentItems.xml b/1080i/View_VideoRecentItems.xml index 014677e..12bacf1 100644 --- a/1080i/View_VideoRecentItems.xml +++ b/1080i/View_VideoRecentItems.xml @@ -1,58 +1,234 @@ - - - - - - - - - - col-1-begin - 210 - 24-col - 1-row - - regularStrong - textActive - + + fadeInOut + + + + + 0 + 0 + fullscreenWidth + fullscreenHeight + stretch + $INFO[container(9998).listitem.art(fanart)] + 500 + 66ffffff + kenBurnsey + + + dimensionsFullscreen + vignette.png + ffffffff + stretch + - - !stringcompare(Window(Home).Property(Movies.UnWatched),0) + + + 0 + row-20-begin + fullscreenWidth + 15-row + stretch + colors/black.png + ccffffff + + + 0 + row-20-begin + fullscreenWidth + 6 + stretch + colors/white.png + highlight + + + + + + + + + + + + + !controlgroup(9000).hasfocus + col-17-begin + row-5-begin + + + Container(9123).HasFocus(1) + 0 + 0 + 8-col + 2-row + largeStrong + textActive + - + + + + Container(9123).HasFocus(2) + 0 + 0 + 8-col + 2-row + largeStrong + textActive + - + + + + + Container(9123).HasFocus(1) + 0 + 2-row + 8-col + 1-row + itemTitle + textActive + - + + + + Container(9123).HasFocus(2) + 0 + 2-row + 8-col + 1-row + itemTitle + textActive + - + + + + + Container(9123).HasFocus(1) + 0 + 3-row + textbox + 8-col-gutter + left + textActive + 268 + + + + + Container(9123).HasFocus(2) + 0 + 3-row + textbox + 8-col-gutter + left + textActive + 268 + + + + + + + + + + col-1-begin - row-7-begin + row-18-begin 24-col - 11-row + 2-row 9000 - 9997 - 9997 - activateWindow(home) + 9998 horizontal - - listSlideIn - - - - - plugin://script.thedeadman.functions?type=recentmovies - + + + !controlgroup(9000).hasfocus + 0 + 0 + 6-col + 2-row + colors/black.png + ccffffff + stretch + + + 12 + 0 + 6-col-gutter + 2-row + buttonTitle + center + textActive + - + + + + 0 0 - 4-col-gutter - 396 + 6-col + 2-row + colors/white.png + highlight + stretch + + + 12 + 0 + 6-col-gutter + 2-row + buttonTitle + center + textActive + - + + + + + + + 31176 + noop + + + + 31178 + noop + + + + + + + col-1-begin + row-21-begin + 24-col + 9-row + 9123 + 9000 + activateWindow(home) + horizontal + plugin://script.thedeadman.functions?type=$INFO[control.getlabel(9123)] + + + 0 + 0 + 3-col-gutter + 288 stretch colors/black.png - colors/white.png + colors/offblack.png 3 textboxInactive + !controlgroup(9000).hasfocus 12 - 4-row - 240 + 2-row + 168 2-row center center @@ -61,9 +237,10 @@ + !controlgroup(9000).hasfocus 12 - 5-row - 240 + 3-row + 168 2-row center center @@ -74,16 +251,27 @@ 0 0 - 4-col-gutter - 396 + 3-col-gutter + 288 stretch $INFO[ListItem.Art(poster)] colors/white.png 3 ffffffff + + 0 + 0 + 3-col-gutter + 288 + stretch + $INFO[ListItem.property(season_poster)] + colors/white.png + 3 + ffffffff + - + @@ -93,18 +281,19 @@ 0 0 - 4-col-gutter - 396 + 3-col-gutter + 288 stretch - $INFO[ListItem.Art(poster)] - colors/white.png + colors/black.png + colors/offblack.png 3 - ff666666 + textboxInactive + !controlgroup(9000).hasfocus 12 - 4-row - 240 + 2-row + 168 2-row center center @@ -113,9 +302,10 @@ + !controlgroup(9000).hasfocus 12 - 5-row - 240 + 3-row + 168 2-row center center @@ -123,204 +313,27 @@ textActive - - 42 - 9-row - 4-col-gutter - horizontal - - 24 - 2-row - center - symbol - textActive - - - - 1-col - 2-row - center - smallStrong - textActive - - - - 24 - 2-row - center - symbol - textActive - - - - 1-col - 2-row - center - smallStrong - textActive - - - - - - - - - - - - - - col-1-begin - 714 - 24-col - 1-row - - regularStrong - textActive - - - - !stringcompare(Window(Home).Property(Episodes.UnWatched),0) - col-1-begin - row-21-begin - 24-col - 12-row - 9000 - 9998 - 9998 - activateWindow(home) - horizontal - - listSlideIn - - - - - plugin://script.thedeadman.functions?type=recentepisodes - - - 0 - 0 - 4-col-gutter - 396 - stretch - colors/black.png - colors/white.png - 3 - textboxInactive - - - 12 - 4-row - 240 - 2-row - center - center - regularStrong - disabled - - - - 12 - 5-row - 240 - 2-row - center - center - buttonTitle - disabled - - - - 0 - 0 - 4-col-gutter - 396 - stretch - $INFO[ListItem.property(season_poster)] - colors/white.png - 3 - ffffffff - - - - - - - - - 0 0 - 4-col-gutter - 396 + 3-col-gutter + 288 stretch - $INFO[ListItem.property(season_poster)] + $INFO[ListItem.Art(poster)] colors/white.png 3 - ff666666 + ffffffff - - 12 - 4-row - 240 - 2-row - center - center - regularStrong - textActive - - - - 12 - 5-row - 240 - 2-row - center - center - buttonTitle - textActive - - - - 42 - 9-row - 4-col-gutter - horizontal - - 24 - 2-row - center - symbol - textActive - - - - 1-col - 2-row - center - smallStrong - textActive - - - - 24 - 2-row - center - symbol - textActive - - - - 1-col - 2-row - center - smallStrong - textActive - - + + 0 + 0 + 3-col-gutter + 288 + stretch + $INFO[ListItem.property(season_poster)] + colors/white.png + 3 + ffffffff diff --git a/1080i/custom_musicPlayerFullscreen.xml b/1080i/custom_musicPlayerFullscreen.xml index b506680..57b0f82 100644 --- a/1080i/custom_musicPlayerFullscreen.xml +++ b/1080i/custom_musicPlayerFullscreen.xml @@ -255,14 +255,6 @@ - PlayerControl(Random) - - Playlist - - - - - activateWindow(500) - dialog.close(5001) - Visualisation diff --git a/language/English/strings.po b/language/English/strings.po index 43dde89..e103447 100644 --- a/language/English/strings.po +++ b/language/English/strings.po @@ -46,7 +46,7 @@ msgid "Power Off" msgstr "" msgctxt "#31005" -msgid "Latest" +msgid "What's New" msgstr "" msgctxt "#31006" @@ -513,6 +513,10 @@ msgctxt "#31197" msgid "Weather Forecasts" msgstr "" +msgctxt "#31198" +msgid "unwatched" +msgstr "" + msgctxt "#31201" msgid "Record Show" msgstr "" @@ -525,6 +529,10 @@ msgctxt "#31203" msgid "Smart Playlist" msgstr "" +msgctxt "#31204" +msgid "Episode" +msgstr "" + msgctxt "#31205" msgid "No further details available." msgstr ""