Thanks for creating this amazing extension.
I use Node-RED to control Roon and have been using the roon-extension-mqtt plugin. While it has been working well for me for most commands, it does not properly handle playlists with more than 98 tracks. I installed your plugin on my Node-RED box, and it works great, triggering command-line calls to trigger the Roon actions I need (with no limitations on the playlists).
I am trying to resolve one small issue, which may very well be a Roon API limitation or just an option I am missing.
Much of the time, I want my playlist to be shuffled, and when I do, I use this command:
roon -p "[play_list_name]" -z "[zone_name]" -c "shuffle"
This loads the playlist and shuffles the tracks, though it always starts playing the first track on the playlist (the rest are shuffled).
I work around this by immediately sending this command:
roon -z "[zone_name]" -c "next"
This skips to the next track (which has been shuffled), but this has two drawbacks. First, I can usually hear the first second or so of the first track before Roon responds to the βnextβ command. The second issue is that the track is now marked as played and will not be shuffled in with the other tracks.
I can work around the second issue by sending another shuffle command, which reshuffles and puts the slipped track back in rotation:
roon -z "[zone_name]" -c "shuffle"
However, I have not found a way to get past the first track starting to play.
So here is my question: In the Roon GUI, when selecting a playlist, there is an option to select βshuffleβ (if you pull down from the βPlay Nowβ option). This shuffles the playlist before it starts playing. Is there any way to perform the same action from the command line?
Again, thanks for this extension.