Skip to content
PeteManchester edited this page Sep 19, 2018 · 6 revisions

The following commands have been added as a RESTful interface:

mediaplayer/

'setStandbyMode?value=' - Set the StandyMode
'getStandbyMode' - Get the Current StandbyMode
'nextTrack' - Play the Next Track in Playlist
'previousTrack' - Play the Previous Track, if track has played for more than 5 secs current track is started again
'stopTrack' - Stop the Current Track
'pauseTrack' - Pauses the Current Track
'playTrack' - Plays the Current Track, if Paused will resume, if track not playing will attempt to play Next Track
'setVolume?value=' - Set the Volume, value between 0 and 100
'incVolume' - Increase the Volume
'decVolume' - Decrease the Volume
'muteVolume?value=' - Mute the Volume
'changeSource?value=' - Change the Source
'getSourceName' - Source Name
'getPlayerStatus' - Current Status of the Player
'radioNextChannel' - Radio Play Next Channel
'radioPreviousChannel' - Radio Play Previous Channel

For example

http://rpipi2.local:8088/myapp/mediaplayer/help

Will show the help menu

http://rpipi2.local:8088/myapp/mediaplayer/decVolume

Will decrease the volume