I have modified the below by duplicating the functions required to use a favourite in a preset, and enabled the same for playlists instead.
This now allows me to set a "playlist" field in the presets.json and have it correctly loaded to the Sonos system.
Note, the functionality of the playlist feature is exactly the same as favourite, in that it will replace the current queue and begin playing based on the options specified in the presets.json
I needed this as I wanted to play dynamic playlists from within a preset as part of a home kit integration using home bridge.
Should be a simple merge. Tested and working in my environment
I have modified the below by duplicating the functions required to use a favourite in a preset, and enabled the same for playlists instead.
This now allows me to set a "playlist" field in the presets.json and have it correctly loaded to the Sonos system.
Note, the functionality of the playlist feature is exactly the same as favourite, in that it will replace the current queue and begin playing based on the options specified in the presets.json
I needed this as I wanted to play dynamic playlists from within a preset as part of a home kit integration using home bridge.
Should be a simple merge. Tested and working in my environment