commit
e5fd5049f5
@ -0,0 +1,42 @@
|
|||||||
|
--------------------------------------------------------------------------------
|
||||||
|
Status (from Server):
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
Response:
|
||||||
|
{
|
||||||
|
"type": "status",
|
||||||
|
"totalDuration": 250,
|
||||||
|
"currentDuration": 2,
|
||||||
|
"volume": 50,
|
||||||
|
"fileName": "Foo",
|
||||||
|
"isPlaying": true
|
||||||
|
}
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
Seek:
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
Request:
|
||||||
|
{
|
||||||
|
"command": "seek",
|
||||||
|
"seekValue":30
|
||||||
|
}
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
Seek Chapter:
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
Request:
|
||||||
|
{
|
||||||
|
"command": "seekChapter",
|
||||||
|
"direction":"forward"
|
||||||
|
}
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
Play
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
Request:
|
||||||
|
{
|
||||||
|
"command": "play"
|
||||||
|
}
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
Pause
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
Request:
|
||||||
|
{
|
||||||
|
"command": "pause"
|
||||||
|
}
|
||||||
Loading…
Reference in new issue