aboutsummaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorenen92 <92enen@gmail.com>2023-12-18 12:43:41 +0000
committerenen92 <92enen@gmail.com>2023-12-20 09:41:20 +0000
commit6b4b825f027dbb2b828040b8f5ef9837781c69a5 (patch)
treec6dae4fae6cd070a7fe83c2d66a7e48aec075486 /addons
parentbef4e76728d8c78ae72007647fd8d6e9bd3c4915 (diff)
[Estuary] Activate playercontrols window if the player is remote
Diffstat (limited to 'addons')
-rw-r--r--addons/skin.estuary/xml/Home.xml9
-rw-r--r--addons/skin.estuary/xml/Includes_MediaMenu.xml15
2 files changed, 23 insertions, 1 deletions
diff --git a/addons/skin.estuary/xml/Home.xml b/addons/skin.estuary/xml/Home.xml
index 66eab452da..3cd090d7a1 100644
--- a/addons/skin.estuary/xml/Home.xml
+++ b/addons/skin.estuary/xml/Home.xml
@@ -1080,7 +1080,14 @@
<param name="onclick" value="Fullscreen" />
<param name="icon" value="icons/now-playing/fullscreen.png" />
<param name="label" value="$LOCALIZE[31000]" />
- <param name="visible" value="Player.HasMedia" />
+ <param name="visible" value="Player.HasMedia + !Player.IsRemote" />
+ </include>
+ <include content="IconButton">
+ <param name="control_id" value="805" />
+ <param name="onclick" value="ActivateWindow(playercontrols)" />
+ <param name="icon" value="icons/now-playing/fullscreen.png" />
+ <param name="label" value="$LOCALIZE[31000]" />
+ <param name="visible" value="Player.HasMedia + Player.IsRemote + !Player.HasAudio" />
</include>
</control>
</control>
diff --git a/addons/skin.estuary/xml/Includes_MediaMenu.xml b/addons/skin.estuary/xml/Includes_MediaMenu.xml
index 8026b47765..7ef084a86c 100644
--- a/addons/skin.estuary/xml/Includes_MediaMenu.xml
+++ b/addons/skin.estuary/xml/Includes_MediaMenu.xml
@@ -245,6 +245,14 @@
<param name="control_id" value="14105" />
<param name="onclick" value="Fullscreen" />
<param name="icon" value="icons/now-playing/fullscreen.png" />
+ <param name="visible" value="Player.HasMedia + [ !Player.IsRemote | Player.HasAudio ]" />
+ </include>
+ <include content="IconButton">
+ <param name="control_id" value="14106" />
+ <param name="onclick" value="ActivateWindow(playercontrols)" />
+ <param name="icon" value="icons/now-playing/fullscreen.png" />
+ <param name="label" value="$LOCALIZE[31000]" />
+ <param name="visible" value="Player.HasMedia + Player.IsRemote" />
</include>
</control>
</control>
@@ -339,6 +347,13 @@
<param name="control_id" value="14105" />
<param name="onclick" value="Fullscreen" />
<param name="icon" value="icons/now-playing/fullscreen.png" />
+ <param name="visible" value="Player.HasMedia + [ !Player.IsRemote | Player.HasAudio ]" />
+ </include>
+ <include content="IconButton">
+ <param name="control_id" value="14106" />
+ <param name="onclick" value="ActivateWindow(playercontrols)" />
+ <param name="icon" value="icons/now-playing/fullscreen.png" />
+ <param name="visible" value="Player.HasMedia + Player.IsRemote + !Player.HasAudio" />
</include>
</control>
</definition>