aboutsummaryrefslogtreecommitdiff
path: root/addons/skin.estuary/xml/Variables.xml
diff options
context:
space:
mode:
authorKai Sommerfeld <kai.sommerfeld@gmx.com>2022-10-18 23:14:09 +0200
committerKai Sommerfeld <kai.sommerfeld@gmx.com>2022-10-26 19:30:32 +0200
commite91c8308fd4edf4eefb04bcc87e0f87b3c440311 (patch)
tree1b632e3a4e5934ba1107999e759ed65bde09ca3c /addons/skin.estuary/xml/Variables.xml
parent34740c8cbc84878388ca08009f11f4bafd228fe7 (diff)
[Estuary] Add skin setting to control music album select action (currently 'browse into' and 'play' supported').
Diffstat (limited to 'addons/skin.estuary/xml/Variables.xml')
-rw-r--r--addons/skin.estuary/xml/Variables.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/addons/skin.estuary/xml/Variables.xml b/addons/skin.estuary/xml/Variables.xml
index 73a29b64c0..9036ee46f9 100644
--- a/addons/skin.estuary/xml/Variables.xml
+++ b/addons/skin.estuary/xml/Variables.xml
@@ -180,6 +180,16 @@
<value condition="Skin.HasSetting(show_profileavatar)">$LOCALIZE[31166]</value>
<value>$LOCALIZE[16018]</value>
</variable>
+ <variable name="AlbumOnClickActionLabel2Var">
+ <value condition="Skin.HasSetting(album_onclick_browse)">$LOCALIZE[37015]</value>
+ <value condition="Skin.HasSetting(album_onclick_play)">$LOCALIZE[208]</value>
+ <value>$LOCALIZE[37015]</value>
+ </variable>
+ <variable name="AlbumOnClickActionVar">
+ <value condition="Skin.HasSetting(album_onclick_browse)">ActivateWindow(music,musicdb://albums/$INFO[ListItem.DBID]/,return)</value>
+ <value condition="Skin.HasSetting(album_onclick_play)">PlayMedia(musicdb://albums/$INFO[ListItem.DBID]/)</value>
+ <value>ActivateWindow(music,musicdb://albums/$INFO[ListItem.DBID]/,return)</value>
+ </variable>
<variable name="AddonLifecycleType">
<value condition="String.IsEqual(ListItem.AddonLifecycleType,$LOCALIZE[24170])">[COLOR button_focus]$LOCALIZE[24170][/COLOR][CR]$INFO[ListItem.AddonLifecycleDesc]</value> <!-- Deprecated -->
<value condition="String.IsEqual(ListItem.AddonLifecycleType,$LOCALIZE[24171])">[COLOR button_focus]$LOCALIZE[24171][/COLOR][CR]$INFO[ListItem.AddonLifecycleDesc]</value> <!-- Broken -->