CalmRadioInternetRadio
Calm Radio’s API is private. See Calm Radio for access to it. Or speak to us for help if you think that your access to the API would benefit OpenHome.
Assuming access to Calm Radio’s API, the Credentials service can be used to retrieve the following information:
- The
Idsstate variable includescalmradio.comif Calm Radio is supported. DatafromGetcontains the json object returned from login (so includes both a login token and a note on membership level).StatusfromGetis blank if Username and Password are both either blank or set and valid. IfStatusis not blank, it contains either json returned from a Calm Radio API or an error string.- The token returned from
LoginandReLoginis a Calm Radio token. No streams can be played if this is empty.
Tracks can be added to either Playlist or Radio services with urls in the form
calmradio://stream?[url encoded full url to calm radio stream]