From 347a9d6a91e4ceae71d8d15be6a33c8e2e0b0db0 Mon Sep 17 00:00:00 2001 From: Kevin Goffe Date: Mon, 1 Apr 2024 13:05:15 +0100 Subject: [PATCH] Fix music visualiser labels --- language/resource.language.en_gb/strings.po | 4 +++- xml/MusicVisualisation.xml | 15 +++++++++------ 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/language/resource.language.en_gb/strings.po b/language/resource.language.en_gb/strings.po index d07a357..14d39ba 100644 --- a/language/resource.language.en_gb/strings.po +++ b/language/resource.language.en_gb/strings.po @@ -800,7 +800,9 @@ msgctxt "#31192" msgid "Director" msgstr "" -#empty string with id 31193 +msgctxt "#31193" +msgid "Now Playing" +msgstr "" msgctxt "#31194" msgid "Submit" diff --git a/xml/MusicVisualisation.xml b/xml/MusicVisualisation.xml index 1e2e620..0971dc7 100644 --- a/xml/MusicVisualisation.xml +++ b/xml/MusicVisualisation.xml @@ -43,7 +43,7 @@ Med48 bottom ffdadada - + 34 @@ -52,7 +52,8 @@ Med32 bottom ffdadada - + + Integer.IsGreater(Playlist.Length(music),1) + Integer.IsGreater(Playlist.Position(music),0) 26 @@ -62,6 +63,7 @@ bottom ff505050 + Integer.IsGreater(Playlist.Length(music),1) + Integer.IsGreater(Playlist.Position(music),0) 34 @@ -70,7 +72,8 @@ Light32 bottom ff505050 - + + Integer.IsGreater(Playlist.Length(music),1) + Integer.IsGreater(Playlist.Position(music),0) @@ -81,7 +84,7 @@ 52 Med26 ffbebebe - + @@ -89,7 +92,7 @@ 1672 308 308 - $INFO[Player.Art(thumb)] + $INFO[Player.Icon] scale @@ -102,7 +105,7 @@ 80 Med40 ffbebebe - +