Hi all, I am trying to set up an alarm for a Google smart speaker to play a random song from a playlist. It is working but every time it plays the same song (same order) from a playlist. How do I make it shuffle the songs so that its a random one each time? Here is my yaml:
action: media_player.play_media
metadata:
title: Playlist Favorites
thumbnail: >-
https://1<redacted path>9/composite/1??4?X-Plex-Token=4NE
media_class: playlist
children_media_class: track
navigateIds:
- {}
- media_content_type: plex
media_content_id: ""
- media_content_type: playlists
media_content_id: plex://1ce9/all
- media_content_type: playlist
media_content_id: plex://1ce9/7
data:
media_content_id: plex://1ce9/7
media_content_type: playlist
target:
entity_id: media_player.room_speaker
2 posts - 2 participants