23.11.2015, 12:49
We don't have any Sonos devices so what we can help with is limited.
You can use Node.js library with debug enabled to monitor which kind of requests are being sent and then implement the same thing in LM.
Some hints for your case:
- To find your playlist id (SQ:1 or similar), you need to get a list of all playlists and find it there
- Use RemoveAllTracksFromQueue to empty current queue
- Use SetPlayMode to set repeat / shuffle
- You don't have to add tracks one by one, you can load the whole playlist (stored queue) in one call
You can use Node.js library with debug enabled to monitor which kind of requests are being sent and then implement the same thing in LM.
Some hints for your case:
- To find your playlist id (SQ:1 or similar), you need to get a list of all playlists and find it there
- Use RemoveAllTracksFromQueue to empty current queue
- Use SetPlayMode to set repeat / shuffle
- You don't have to add tracks one by one, you can load the whole playlist (stored queue) in one call