summaryrefslogtreecommitdiffstats
path: root/custom/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'custom/scripts')
-rw-r--r--custom/scripts/play-playlist.yaml11
1 files changed, 10 insertions, 1 deletions
diff --git a/custom/scripts/play-playlist.yaml b/custom/scripts/play-playlist.yaml
index 0823878..7b3acff 100644
--- a/custom/scripts/play-playlist.yaml
+++ b/custom/scripts/play-playlist.yaml
@@ -48,7 +48,7 @@ play_playlist:
vol: '{{ volume | default(0.7) | float }}'
list: '{{ playlist | default("darksoft") }}'
- mode: single
+ mode: restart
sequence:
- alias: Turn on player
@@ -91,6 +91,9 @@ play_playlist:
target:
entity_id: '{{ current }}'
+# - delay:
+# seconds: 5
+
- service: media_player.shuffle_set
data:
shuffle: true
@@ -114,6 +117,9 @@ play_playlist:
enqueue: play
media_content_id: "upnp://4d696e69-444c-164e-9d41-3c7c3f4af5b0/64%240%246%243/"
+# - delay:
+# seconds: 5
+
- service: media_player.shuffle_set
data:
shuffle: true
@@ -137,6 +143,9 @@ play_playlist:
enqueue: play
media_content_id: "upnp://4d696e69-444c-164e-9d41-3c7c3f4af5b0/64%240%241%240/"
+# - delay:
+# seconds: 5
+
- service: media_player.shuffle_set
data:
shuffle: false