From e20b663c4893bd81cc29de97e5565b36b54e4305 Mon Sep 17 00:00:00 2001 From: Jeroen Date: Sat, 17 Mar 2018 07:29:18 +0100 Subject: [PATCH] option to disable pvr genre colours --- language/resource.language.en_gb/strings.po | 4 ++++ xml/SkinSettings.xml | 22 +++++++++++++++++---- xml/Variables.xml | 5 +++++ xml/ViewGuide.xml | 4 ++-- 4 files changed, 29 insertions(+), 6 deletions(-) diff --git a/language/resource.language.en_gb/strings.po b/language/resource.language.en_gb/strings.po index 56a043a6..4de7cddf 100644 --- a/language/resource.language.en_gb/strings.po +++ b/language/resource.language.en_gb/strings.po @@ -862,6 +862,10 @@ msgctxt "#31391" msgid "Library shortcuts position" msgstr "" +msgctxt "#31392" +msgid "Disable genre colours in TV / Radio Guide" +msgstr "" + #: osd / player diff --git a/xml/SkinSettings.xml b/xml/SkinSettings.xml index 618296bd..d5f6ac72 100644 --- a/xml/SkinSettings.xml +++ b/xml/SkinSettings.xml @@ -740,7 +740,7 @@ RunScript(script.skin.helper.colorpicker,action=colorpicker,skinstring=setcolor.main) install_ColorPicker radio_Settings - 9696 + 9697 9660 @@ -828,7 +828,7 @@ install_ColorPicker radio_Settings 9680 - 9696 + 9693 0 @@ -840,6 +840,20 @@ + + + 90 + + + 9001 + Skin.ToggleSetting(genrecolours.disable) + Skin.HasSetting(genrecolours.disable) + radio_Settings + 9691 + 9696 + + + @@ -856,7 +870,7 @@ RunScript(script.skin.helper.service,action=colorthemes) install_HelperService radio_Settings - 9690 + 9693 9697 @@ -875,7 +889,7 @@ 9696 9650 - + diff --git a/xml/Variables.xml b/xml/Variables.xml index eb46d949..1e2c4398 100644 --- a/xml/Variables.xml +++ b/xml/Variables.xml @@ -1403,6 +1403,11 @@ $INFO[ListItem.Genre] + + $INFO[ListItem.Property(GenreType),pvr/genres/,.png] + + + diff --git a/xml/ViewGuide.xml b/xml/ViewGuide.xml index 659d588c..3b113a82 100644 --- a/xml/ViewGuide.xml +++ b/xml/ViewGuide.xml @@ -146,7 +146,7 @@ 10 $PARAM[ItemTextureWidth] $PARAM[ItemTextureHeight] - $INFO[ListItem.Property(GenreType),pvr/genres/,.png] + $VAR[pvr:TimeBlock] 32 @@ -180,7 +180,7 @@ 10 $PARAM[ItemTextureWidth] $PARAM[ItemTextureHeight] - $INFO[ListItem.Property(GenreType),pvr/genres/,.png] + $VAR[pvr:TimeBlock] colorize/100.png 6