postSessionsByIdPlaying
Instructs a session to play an item
Requires authentication as user
postSessionsByIdPlaying
Request
post /Sessions/{Id}/Playing
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
*Id | path | Session Id |
||
*ItemIds | query | The ids of the items to play, comma delimited |
||
StartPositionTicks | query | The starting position of the first item. |
||
*PlayCommand | query | The type of play command to issue (PlayNow, PlayNext, PlayLast). Clients who have not yet implemented play next and play last may play now. |
||
*body | body | PlayRequest | PlayRequest: |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 | Operation successful. Response content unknown. |
||
400 | Bad Request. Server cannot process request. |
||
401 | Unauthorized. Client needs to authenticate. |
||
403 | Forbidden. No permission for the reqested operation. |
||
404 | Resource not found or unavailable. |
||
500 | Server error. |
Definitions
PlayRequest
Name | Type | Notes |
---|---|---|
ControllingUserId | string | The controlling user identifier. |
SubtitleStreamIndex | integer (int32) | |
AudioStreamIndex | integer (int32) | |
MediaSourceId | string | |
StartIndex | integer (int32) |