Loading playlists from cli


With the older version of Volumio I had a script that would allow me to load a specific play list as part of an alarm system. I see that there is now the ability to load a playlist as an alarm via the WebUI, but my alarm would gradually increase in volume which I would prefer.

While I can leave the (in thise case) Webradio in the active playlist it would be nice if there was an equivalent to:

mpc load WEBRADIO/AbsoluteRadio80s.pls

Is there a way to do this either with mpc or the volumio CLI?

Loving Volumio2, though!

Many thanks in advance


Have a look at the REST API volumio.github.io/docs/API/REST_API.html. You could then use ‘curl’ to invoke it at the CLI.