Get the playback status
Makes a call to https://10.10.10.254/httpapi.asp?command=getPlayerStatus
Responses
Successful response
Play a specific track from a playlist by URL and index
http://10.10.10.254/httpapi.asp?command=setPlayerCmd:hex_playlist:url:
Play the URl (URI is the m3u or ASX playlist link, index is the start
index), here, url should be hexed (please refer to 1.3)
Parameters
Path Parameters
Responses
Successful response
Pause
Resume
Toggle pause/play
Play audio URL
https://10.10.10.254/httpapi.asp?command=setPlayerCmd:play:url
Play the URL. URL points to an audio stream address.
Response is always 'OK' now
Parameters
Path Parameters
URL points to an audio stream address
"http://as-hls-ww-live.akamaized.net/pool_01505109/live/ww/bbc_radio_one/bbc_radio_one.isml/bbc_radio_one-audio%3d96000.norewind.m3u8"Responses
Successful response
Play audio playlist
https://10.10.10.254/httpapi.asp?command=setPlayerCmd:playlist:url:
Play the playlist with the URL (URL points to the m3u or ASX playlist
link, index is the start index).
Response is always 'OK' now.
Parameters
Path Parameters
"https://gist.githubusercontent.com/bpsib/67089b959e4fa898af69fea59ad74bc3/raw/685789e28187c0a15da978b51d436a140d5ea207/BBC-Radio-HLS.m3u"Responses
Successful response
Previous
Next
Seek
Stop
Set volume
Mute
https://10.10.10.254/httpapi.asp?command=setPlayerCmd:mute:n
Mute: n=1
Unmute: n=0
The slave mute state will be set at the same time when it's in group
play.
Parameters
Path Parameters
Mute: n=1
Unmute: n=0
011Responses
Successful response
Loop mode set
https://10.10.10.254/httpapi.asp?command=setPlayerCmd:loopmode:n
n =
- -1: ...
- 0: Shuffle disabled, Repeat enabled - loop
- 1: Shuffle disabled, Repeat enabled - loop once
- 2: Shuffle enabled, Repeat enabled - loop
- 3: Shuffle enabled, Repeat disabled
- 4: Shuffle disabled, Repeat disabled
- 5: Shuffle enabled, Repeat enabled - loop once
Parameters
Path Parameters
- -1: ...
- 0: Shuffle disabled, Repeat enabled - loop
- 1: Shuffle disabled, Repeat enabled - loop once
- 2: Shuffle enabled, Repeat enabled - loop
- 3: Shuffle enabled, Repeat disabled
- 4: Shuffle disabled, Repeat disabled
- 5: Shuffle enabled, Repeat enabled - loop once
-10123454Responses
Successful response