I have success using the following;
curl volumio.local:3000/api/v1/commands/?cmd=play
also with stop, pause, clearQueue etc. Volumio carries out these commands.
When I try;
curl volumio.local:3000/api/v1/commands/?cmd=playplaylist&name=Playlist1
I get the report “playplaylist success”. However no playlist is loaded.
If I try to use ‘listplaylists’ I get the error ‘command not recognised’
I am trying to include the option to load and play a playlist with a remote (in lircrc).
Any help gratefully received.
chsims1
September 6, 2018, 6:38pm
2
Have you tried more than one playlist? If so, it would be useful to raise this as an issue on Github .
Yes, a couple of different playlists. Before I go on to bring it up on GitHub is there anyone out there willing to test for themselves (the words face, egg and on spring to mind!) just to make sure I’m not doing anything foolish! - not great on competence nor confidence!
chsims1
September 6, 2018, 7:41pm
4
Yes, just tried myself and though it reported it as a success, nothing played. Feel free to report
The command needs to be enclosed by single quotes
curl volumio.local:3000/api/v1/commands/?cmd=‘playplaylist&name=Playlist1’
Many thanks to all concerned.