mirror of
https://github.com/clangen/musikcube.git
synced 2024-12-27 03:14:30 +00:00
Updated remote api documentation (markdown)
parent
2fa4658ebd
commit
b69cc014e9
@ -344,7 +344,8 @@ play the track at the specified index in the current play queue
|
|||||||
"id": "<unique_id>",
|
"id": "<unique_id>",
|
||||||
"device_id": "<unique_device_id>",
|
"device_id": "<unique_device_id>",
|
||||||
"options": {
|
"options": {
|
||||||
"index": <int32>
|
"index": <int32>, /* optional */
|
||||||
|
"time": <double> /* in seconds. optional */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
@ -362,6 +363,7 @@ replace the current play queue with all tracks (filtered by optional keywords),
|
|||||||
"device_id": "<unique_device_id>",
|
"device_id": "<unique_device_id>",
|
||||||
"options": {
|
"options": {
|
||||||
"index": <int32>, /* optional */
|
"index": <int32>, /* optional */
|
||||||
|
"time": <double>, /* in seconds. optional */
|
||||||
"filter": "<filter>" /* optional */
|
"filter": "<filter>" /* optional */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -380,7 +382,8 @@ replaces the current play queue with the specified array of tracks, and starts p
|
|||||||
"device_id": "<unique_device_id>",
|
"device_id": "<unique_device_id>",
|
||||||
"options": {
|
"options": {
|
||||||
"ids": [ /* array of int64 ids */],
|
"ids": [ /* array of int64 ids */],
|
||||||
"index": <int32> /* optional */
|
"index": <int32>, /* optional */
|
||||||
|
"time": <double> /* in seconds. optional */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
@ -1091,6 +1094,26 @@ as described in the `snapshot_play_queue` documentation, snapshots not accessed
|
|||||||
|
|
||||||
**response**: generic success/failure response.
|
**response**: generic success/failure response.
|
||||||
|
|
||||||
|
### play_snapshot_tracks (0.36.0+)
|
||||||
|
|
||||||
|
replaces the play queue with the snapshot for the specified `device_id`, and starts playback at the specified index and time.
|
||||||
|
|
||||||
|
**request**:
|
||||||
|
```
|
||||||
|
{
|
||||||
|
"name": "play_snapshot_tracks ",
|
||||||
|
"type": "request",
|
||||||
|
"id": "<unique_id>",
|
||||||
|
"device_id": "<unique_device_id>",
|
||||||
|
"options": {
|
||||||
|
"index": <int32>, /* optional */
|
||||||
|
"time": <double> /* in seconds. optional */
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
**response**: generic success/failure response.
|
||||||
|
|
||||||
# http urls
|
# http urls
|
||||||
|
|
||||||
## audio data
|
## audio data
|
||||||
|
Loading…
Reference in New Issue
Block a user