From 42912b2457825dc88da5464703950c590968d0ee Mon Sep 17 00:00:00 2001 From: beatmasterRS Date: Mon, 8 Apr 2024 14:01:13 +0200 Subject: [PATCH] Revert "[Versions] added versions support (#1053)" This reverts commit e1297ae7de6ed8669a4e4284fa38d4d3fbd91385. --- 1080i/Custom_DialogInfoSettings.xml | 7 - 1080i/DialogVideoVersion.xml | 49 --- 1080i/Includes.xml | 23 -- 1080i/Includes_Animations.xml | 6 - 1080i/Includes_Defs.xml | 358 -------------------- 1080i/Includes_DialogVideoInfo.xml | 4 +- 1080i/Includes_Labels.xml | 6 - 1080i/SkinSettings.xml | 11 +- language/resource.language.en_gb/strings.po | 16 - 9 files changed, 3 insertions(+), 477 deletions(-) delete mode 100644 1080i/DialogVideoVersion.xml diff --git a/1080i/Custom_DialogInfoSettings.xml b/1080i/Custom_DialogInfoSettings.xml index f9c59f75c..88ec18fef 100644 --- a/1080i/Custom_DialogInfoSettings.xml +++ b/1080i/Custom_DialogInfoSettings.xml @@ -83,13 +83,6 @@ Skin.ToggleSetting(hidebutton.video.rating) Window.IsVisible(DialogVideoInfo.xml) - - DefContextButtonGradientSelect - - !Skin.HasSetting(hidebutton.video.versions) - Skin.ToggleSetting(hidebutton.video.versions) - Window.IsVisible(DialogVideoInfo.xml) - DefContextButtonGradientSelect diff --git a/1080i/DialogVideoVersion.xml b/1080i/DialogVideoVersion.xml deleted file mode 100644 index 3f42e7470..000000000 --- a/1080i/DialogVideoVersion.xml +++ /dev/null @@ -1,49 +0,0 @@ - - -200 -Control.SetFocus(50) - - GlobalOverlay - - DefDialogBackground - - DefDialogHeader - - - - - - - - - - 95 - 40 - 40 - 1 - 10 - Black12 - common/white.png - - - 340 - 115 - 730 - 1 - common/white.png - - - 741 - 115 - 700 - 1 - common/white.png - Window.IsActive(videoversion) - - - DialogVideoVersionLayout - DialogVideoVersionSelectLayout - - - \ No newline at end of file diff --git a/1080i/Includes.xml b/1080i/Includes.xml index 2775ae728..ce4b7c6c5 100644 --- a/1080i/Includes.xml +++ b/1080i/Includes.xml @@ -1914,16 +1914,6 @@ [String.IsEqual(ListItem.DBType,movie) | String.IsEqual(ListItem.DBType,tvshow) | String.IsEqual(ListItem.DBType,episode)] + Control.IsEnabled(7) !Skin.HasSetting(hidebutton.video.rating) - - ClearProperty(moviecontent) - ClearProperty(ShowDisc) - buttondimensions - - - - String.IsEqual(ListItem.DBTYPE,movie) - !Skin.HasSetting(hidebutton.video.versions) - ClearProperty(moviecontent) ClearProperty(ShowDisc) @@ -5169,17 +5159,4 @@ es en - - - $INFO[Container(50).ListItem.Art(poster)] - $INFO[Container(50).ListItem.Art(thumb)] - $INFO[Container(51).ListItem.Art(poster)] - $INFO[Container(51).ListItem.Art(thumb)] - - - - $INFO[Container(50).ListItem.FileNameAndPath] - $INFO[Container(51).ListItem.FileNameAndPath] - $INFO[ListItem.FileNameAndPath] - diff --git a/1080i/Includes_Animations.xml b/1080i/Includes_Animations.xml index 69d19c358..772bff36e 100644 --- a/1080i/Includes_Animations.xml +++ b/1080i/Includes_Animations.xml @@ -172,9 +172,6 @@ - - - @@ -274,9 +271,6 @@ - - - diff --git a/1080i/Includes_Defs.xml b/1080i/Includes_Defs.xml index 80b3dfa8b..6a483cfa4 100644 --- a/1080i/Includes_Defs.xml +++ b/1080i/Includes_Defs.xml @@ -3514,14 +3514,6 @@ misc/overlaywatched.png [!ListItem.IsResumable | $EXP[IsNewTVShow]] + !$EXP[IsTVShowInProgress] + !ListItem.IsPlaying + [[String.IsEqual(ListItem.Overlay,OverlayUnwatched.png) + [$EXP[IsNewMovie] | $EXP[IsNewTVShow] | $EXP[IsNewEpisode]]]] + !Skin.HasSetting(hide.markers.newcontent) - - 8 - 8 - 100 - 100 - misc/overlaywatched.png - ![!ListItem.IsResumable + !$EXP[IsTVShowInProgress] + !ListItem.IsPlaying + [[String.IsEqual(ListItem.Overlay,OverlayUnwatched.png) + [$EXP[IsNewMovie] | $EXP[IsNewTVShow] | $EXP[IsNewEpisode]]]] + !Skin.HasSetting(hide.markers.newcontent)] + [ListItem.HasVideoVersions + !Skin.HasSetting(hide.markers.versions)] - -9 8 @@ -3606,14 +3598,6 @@ misc/overlaywatched.png !Container(301).ListItem.IsResumable + !$EXP[IsTVShowInProgress301] + !Container(301).ListItem.IsPlaying + [[String.IsEqual(Container(301).ListItem.Overlay,OverlayUnwatched.png) + [$EXP[IsNewMovie301] | $EXP[IsNewTVShow301] | $EXP[IsNewEpisode301]]]] + !Skin.HasSetting(hide.markers.newcontent) - - 8 - 8 - 100 - 100 - misc/overlaywatched.png - ![!Container(301).ListItem.IsResumable + !$EXP[IsTVShowInProgress301] + !Container(301).ListItem.IsPlaying + [[String.IsEqual(Container(301).ListItem.Overlay,OverlayUnwatched.png) + [$EXP[IsNewMovie301] | $EXP[IsNewTVShow301] | $EXP[IsNewEpisode301]]]] + !Skin.HasSetting(hide.markers.newcontent)] + [Container(301).ListItem.HasVideoVersions + !Skin.HasSetting(hide.markers.versions)] - -9 8 @@ -4929,346 +4913,4 @@ 40 •• - - - - 50% - 50% - 1020 - 710 - DialogVideoVersionCommonLayout - - - - - - - - - - 462 - 300 - 20 - 10 - 100 - 200 - true - 0 - 0 - - 300 - DefContextButtonGradientSelect - - - - 300 - DefContextButtonGradientSelect - - ControlGroup(200).HasFocus(201) - - - 300 - DefContextButtonGradientSelect - - ControlGroup(200).HasFocus(202) - - - 300 - DefContextButtonGradientSelect - - - - 300 - DefContextButtonGradientSelect - - - - 300 - DefContextButtonGradientSelect - - - - 300 - DefContextButtonGradientSelect - - ControlGroup(200).HasFocus(201) - - - - - - - - 50% - 50% - 1020 - 710 - DialogVideoVersionCommonLayout - - - - - - - - - - - - - - - 0 - 0 - vertical - 50 - 51 - -18 - 20 - - 330 - DefContextButtonGradientSelect - - Window.IsActive(videoversion)| Window.IsActive(videoversionselect) + Integer.IsGreater(Container(50).NumItems,0) - - - 330 - DefContextButtonGradientSelect - - Window.IsActive(videoversion) | Window.IsActive(videoversionselect) + Integer.IsGreater(Container(51).NumItems,0) - - - - Large Icon Image - 312 - 10 - 300 - 450 - $VAR[VideoVersionPosterVar] - keep - - - - 311 - 20 - 800 - 483 - 50 - 50 - 200 - 101 - ControlGroup(200).HasFocus(201) - - - 30 - 30 - Small - Black70 - 66 - center - ListItem.Label - - - - - 0 - 0 - 66 - common/white.png - Control.HasFocus(50) | ControlGroup(101).HasFocus() - - - 0 - 0 - 66 - common/gradient-box-wide.png - Control.HasFocus(50) | ControlGroup(101).HasFocus() - - - 30 - 30 - 66 - Small - center - Selected - ListItem.Label - Control.HasFocus(50) - - - 30 - 30 - 66 - Small - center - Black70 - ListItem.Label - !Control.HasFocus(50) - - - - - 30 - 30 - Small - Black70 - 66 - center - ListItem.Label - - - - - 0 - 0 - 66 - common/white.png - Control.HasFocus(50) | ControlGroup(101).HasFocus() - - - 0 - 0 - 66 - common/gradient-box-wide.png - Control.HasFocus(50) | ControlGroup(101).HasFocus() - - - 30 - 30 - 66 - Small - center - Selected - ListItem.Label - Control.HasFocus(50) - - - 30 - 30 - 66 - Small - center - Black70 - ListItem.Label - !Control.HasFocus(50) - - - - - 311 - 20 - 800 - 483 - 50 - 50 - 200 - 101 - ControlGroup(200).HasFocus(202) - - - 30 - 30 - Small - Black70 - 66 - center - ListItem.Label - - - - - 0 - 0 - 66 - common/white.png - Control.HasFocus(51) | ControlGroup(101).HasFocus() - - - 0 - 0 - 66 - common/gradient-box-wide.png - Control.HasFocus(51) | ControlGroup(101).HasFocus() - - - 30 - 30 - 66 - Small - center - Selected - ListItem.Label - Control.HasFocus(51) - - - 30 - 30 - 66 - Small - center - Black70 - ListItem.Label - !Control.HasFocus(51) - - - - - 30 - 30 - Small - Black70 - 66 - center - ListItem.Label - - - - - 0 - 0 - 66 - common/white.png - Control.HasFocus(51) | ControlGroup(101).HasFocus() - - - 0 - 0 - 66 - common/gradient-box-wide.png - Control.HasFocus(51) | ControlGroup(101).HasFocus() - - - 30 - 30 - 66 - Small - center - Selected - ListItem.Label - Control.HasFocus(51) - - - 30 - 30 - 66 - Small - center - Black70 - ListItem.Label - !Control.HasFocus(51) - - - - - - Control.HasFocus(50) | Control.HasFocus(51) - 340 - 10 - Tiny - 50 - 720 - right - Black70 - - - diff --git a/1080i/Includes_DialogVideoInfo.xml b/1080i/Includes_DialogVideoInfo.xml index d79f3361f..812903a73 100644 --- a/1080i/Includes_DialogVideoInfo.xml +++ b/1080i/Includes_DialogVideoInfo.xml @@ -906,7 +906,7 @@ - + @@ -925,7 +925,7 @@ - + diff --git a/1080i/Includes_Labels.xml b/1080i/Includes_Labels.xml index 8c7149d26..e34d9eff7 100644 --- a/1080i/Includes_Labels.xml +++ b/1080i/Includes_Labels.xml @@ -135,7 +135,6 @@ [COLOR=FF00DD44]✓[/COLOR] [COLOR=ColoredIcons][/COLOR] - @@ -145,7 +144,6 @@ $LOCALIZE[31493] $LOCALIZE[31494] - $LOCALIZE[40000] @@ -169,7 +167,6 @@ [COLOR=FF00DD44]✓[/COLOR] [COLOR=ColoredIcons][/COLOR] - @@ -180,7 +177,6 @@ $LOCALIZE[31493] $LOCALIZE[31494] - $LOCALIZE[40000] @@ -207,7 +203,6 @@ [COLOR=FF00DD44]✓[/COLOR] [COLOR=ColoredIcons][/COLOR] - @@ -1348,7 +1343,6 @@ $LOCALIZE[31498] $LOCALIZE[31486] $LOCALIZE[31711] - $LOCALIZE[40000] $LOCALIZE[518] $LOCALIZE[24020] $LOCALIZE[24138] diff --git a/1080i/SkinSettings.xml b/1080i/SkinSettings.xml index 6fec99192..38b304c72 100644 --- a/1080i/SkinSettings.xml +++ b/1080i/SkinSettings.xml @@ -1796,7 +1796,7 @@ - + $INFO[Skin.String(indicatorcolorbackgroundinprogress.name)] SetProperty(colorstring,$INFO[Skin.String(indicatorcolorbackgroundinprogress.name)],home) SetProperty(colordesc,indicatorcolorbackgroundinprogress.name,home) @@ -2675,15 +2675,6 @@ !Skin.HasSetting(hide.markers.newcontent) Skin.ToggleSetting(hide.markers.newcontent) - - ControlGroup(9100).HasFocus(9106) - DefSettingsButtonGradientSkinSettings - - left - !Skin.HasSetting(hide.markers) - !Skin.HasSetting(hide.markers.versions) - Skin.ToggleSetting(hide.markers.versions) - ControlGroup(9100).HasFocus(9106) DefSettingsButtonGradientSkinSettings diff --git a/language/resource.language.en_gb/strings.po b/language/resource.language.en_gb/strings.po index d790965da..c7e0d4320 100644 --- a/language/resource.language.en_gb/strings.po +++ b/language/resource.language.en_gb/strings.po @@ -2616,19 +2616,3 @@ msgstr "" msgctxt "#31718" msgid "Sandy yellow" msgstr "" - -msgctxt "#31719" -msgid "Add version" -msgstr "" - -msgctxt "#31720" -msgid "Add extras" -msgstr "" - -msgctxt "#31721" -msgid "Set default" -msgstr "" - -msgctxt "#31722" -msgid "Extras" -msgstr ""