Hi All,
I was reading about this guide for the REST API https://github.com/hifiberry/audiocontrol2/blob/master/doc/api.md
Are there some available control endpoints for starting listening to a radio stream ?
Hi All,
I was reading about this guide for the REST API https://github.com/hifiberry/audiocontrol2/blob/master/doc/api.md
Are there some available control endpoints for starting listening to a radio stream ?
No, there isn't as audiocontrol doesn't know about radio stations. It can only start/stop a player, but not access their playlists.
As radio is implemented using MPD, you can use the MPD API, create a playlist for mpd and start it.
Thank you for your quick response.
Unfortunately, I don't think it will help since I want to use a smart button that can only perform REST calls.
https://api.mystrom.ch/
I don't believe that https://www.ympd.org has support for REST, only a websocket.
Yes, there is no REST API for this today.