Hello,
ich have make a scene who playing a spotify playlist on a sonos speaker.
If I start the scene, they play only one song of the playlist and stop then playing. In the playlist is defantly more than one song.
What make I wrong?
Hello,
ich have make a scene who playing a spotify playlist on a sonos speaker.
If I start the scene, they play only one song of the playlist and stop then playing. In the playlist is defantly more than one song.
What make I wrong?
If no one have this problem, how do you realize playing a playlist on Spotify with a scene or automation on a sonos speaker?
Hey @compoundbow83 , did you ever find a solution to this problem? Iām having the same problem 2 years later!
I have saved a Playlist in the sonos App.
After this I use this code:
target:
entity_id: media_player.bad
data:
media_content_id: FV:2/58
media_content_type: favorite_item_id
metadata:
title: TopSongs
thumbnail: >-
https://charts-images.scdn.co/assets_generated/locale_de/regional/weekly/region_de_default.jpg
media_class: playlist
children_media_class: null
navigateIds:
- {}
- media_content_type: favorites
media_content_id: ""
- media_content_type: favorites_folder
media_content_id: object.container.playlistContainer
enabled: true
If you have enter this code you can chance to the visual editor und click on the cover and there you can finde all the saved playlists on sonos. You can also integrate spotify to HA and after this you can also click on the cover and go back then you can select the spotify then playlist and then select you favorites playlist.
I hope it works for you too.
same issue here. Onyl first song of my spotify playlist play.
Wil try this code from @compoundbow83 and give a feedback soon.
Thx for the sample.
I used a Spotify Playlist:
media_player.sonos_one_bad:
device_class: speaker
friendly_name: Sonos One Bad
supported_features: 4127295
group_members:
- media_player.sonos_one_bad
volume_level: 0.25
is_volume_muted: false
media_content_id: spotify:playlist:4hhatJa9LI2l8GwzjKQp4x
media_content_type: playlist
shuffle: false
repeat: all
queue_size: 8
platform: sonos
queue_position: 1
state: playing