I have the plex intergration configured with my server and I need to play one playlist on a plexamp player with shuffle enabled when i run a script/automation. For now i just managed to play the whole playlist back but not to shuffle it.
alias: Riproduci Playlist
description: ""
triggers:
- event_type: Playlist house
trigger: event
conditions: []
actions:
- target:
entity_id: media_player.plex_plexamp_snapcast_3
data:
media_content_id: "{ \"playlist_name\": \"Musica Chicco\", \"playlist_id\": \"1\" }"
media_content_type: PLAYLIST
action: media_player.play_media
- delay: "00:00:05"
- target:
entity_id: media_player.plex_plexamp_snapcast_3
data:
shuffle: true
action: media_player.shuffle_set
- delay: "00:00:02"
- target:
entity_id: media_player.plex_plexamp_snapcast_3
action: media_player.media_next_track
data: {}
mode: single
This is the automation that i made which starts playing back the playlist then enables shuffle and skip one song to not play always the same song in the beginning but this stop working after the shuffle so it just plays back the whole playlist in normal order. Any way to fix this?