Closed phoenixrising87 closed 5 years ago
Do you also have a way of how to find out the playlist id to delete a playlist? How do you add stuff to the playlist? Or does it save the current queue as playlist?
Do you also have a way of how to find out the playlist id to delete a playlist?
Yes, you can right get all the playlists with:
https://github.com/bencevans/node-sonos/blob/master/examples/getsonosplaylists.js
The uri
looks for example like this file:///jffs/settings/savedqueues.rsq#9
. The number at the end, is the id
.
How do you add stuff to the playlist? Or does it save the current queue as playlist?
In here it is creating an empty list. I'm on it, to add also the functionality for adding songs to playlists.
I added the functionality for adding songs etc to the playlist. Removing songs is still on my plan.
Also removing songs is now possible
I would appreciate some reviews for using this integration in my application :)
:tada: This PR is included in version 1.9.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Hi everyone,
I added some new functionality for creating playlists and also for deleting them. Please have a look over it :-)