aboutsummaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorKai Sommerfeld <kai.sommerfeld@gmx.com>2022-10-19 13:59:46 +0200
committerKai Sommerfeld <kai.sommerfeld@gmx.com>2022-10-26 19:30:32 +0200
commite93ff2d1c2d91d057963e601aaa565ef60d8b8cf (patch)
tree8ed53fe390fac2c7d43a7e82d30d23644b343322 /addons
parente91c8308fd4edf4eefb04bcc87e0f87b3c440311 (diff)
[interfaces][Estuary] Add builtin 'QueueMedia'. Add skin setting values 'play next' and 'queue item' to extend user control over music album select action.
Diffstat (limited to 'addons')
-rw-r--r--addons/resource.language.en_gb/resources/strings.po4
-rw-r--r--addons/skin.estuary/xml/SkinSettings.xml2
-rw-r--r--addons/skin.estuary/xml/Variables.xml4
3 files changed, 9 insertions, 1 deletions
diff --git a/addons/resource.language.en_gb/resources/strings.po b/addons/resource.language.en_gb/resources/strings.po
index 15a3b4c215..a33bc81d88 100644
--- a/addons/resource.language.en_gb/resources/strings.po
+++ b/addons/resource.language.en_gb/resources/strings.po
@@ -4911,6 +4911,8 @@ msgctxt "#10007"
msgid "System information"
msgstr ""
+#: addons/skin.estuary/xml/SkinSettings.xml
+#: addons/skin.estuary/xml/Variables.xml
#: xbmc/music/ContextMenus.h
#: xbmc/video/ContextMenus.cpp
#: xbmc/video/windows/GUIWindowVideoBase.cpp
@@ -6922,6 +6924,8 @@ msgctxt "#13346"
msgid "Movie information"
msgstr ""
+#: addons/skin.estuary/xml/SkinSettings.xml
+#: addons/skin.estuary/xml/Variables.xml
#: system/settings/settings.xml
#: xbmc/music/ContextMenus.h
#: xbmc/video/ContextMenus.cpp
diff --git a/addons/skin.estuary/xml/SkinSettings.xml b/addons/skin.estuary/xml/SkinSettings.xml
index 179eea780c..800f240da2 100644
--- a/addons/skin.estuary/xml/SkinSettings.xml
+++ b/addons/skin.estuary/xml/SkinSettings.xml
@@ -198,7 +198,7 @@
<control type="button" id="625">
<label>- $LOCALIZE[31174]</label>
<include>DefaultSettingButton</include>
- <onclick>Skin.SelectBool(31174, 37015|album_onclick_browse, 208|album_onclick_play)</onclick>
+ <onclick>Skin.SelectBool(31174, 37015|album_onclick_browse, 208|album_onclick_play, 10008|album_onclick_playnext, 13347|album_onclick_queue)</onclick>
<label2>$VAR[AlbumOnClickActionLabel2Var]</label2>
<enable>!Skin.HasSetting(HomeMenuNoMusicButton)</enable>
</control>
diff --git a/addons/skin.estuary/xml/Variables.xml b/addons/skin.estuary/xml/Variables.xml
index 9036ee46f9..b28b170b34 100644
--- a/addons/skin.estuary/xml/Variables.xml
+++ b/addons/skin.estuary/xml/Variables.xml
@@ -183,11 +183,15 @@
<variable name="AlbumOnClickActionLabel2Var">
<value condition="Skin.HasSetting(album_onclick_browse)">$LOCALIZE[37015]</value>
<value condition="Skin.HasSetting(album_onclick_play)">$LOCALIZE[208]</value>
+ <value condition="Skin.HasSetting(album_onclick_playnext)">$LOCALIZE[10008]</value>
+ <value condition="Skin.HasSetting(album_onclick_queue)">$LOCALIZE[13347]</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 condition="Skin.HasSetting(album_onclick_playnext)">QueueMedia(musicdb://albums/$INFO[ListItem.DBID]/,playnext)</value>
+ <value condition="Skin.HasSetting(album_onclick_queue)">QueueMedia(musicdb://albums/$INFO[ListItem.DBID]/)</value>
<value>ActivateWindow(music,musicdb://albums/$INFO[ListItem.DBID]/,return)</value>
</variable>
<variable name="AddonLifecycleType">