sync_play_controller = client.sync_play
SyncPlayController
- Sync Play Buffering
- Sync Play Create Group
- Sync Play Get Groups
- Sync Play Join Group
- Sync Play Leave Group
- Sync Play Move Playlist Item
- Sync Play Next Item
- Sync Play Pause
- Sync Play Ping
- Sync Play Previous Item
- Sync Play Queue
- Sync Play Ready
- Sync Play Remove From Playlist
- Sync Play Seek
- Sync Play Set Ignore Wait
- Sync Play Set New Queue
- Sync Play Set Playlist Item
- Sync Play Set Repeat Mode
- Sync Play Set Shuffle Mode
- Sync Play Stop
- Sync Play Unpause
Notify SyncPlay group that member is buffering.
def sync_play_buffering(self,
body)
Parameter | Type | Tags | Description |
---|---|---|---|
body |
BufferRequestDto |
Body, Required | The player status. |
void
body = BufferRequestDto()
result = sync_play_controller.sync_play_buffering(body)
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |
Create a new SyncPlay group.
def sync_play_create_group(self,
body)
Parameter | Type | Tags | Description |
---|---|---|---|
body |
NewGroupRequestDto |
Body, Required | The settings of the new group. |
void
body = NewGroupRequestDto()
result = sync_play_controller.sync_play_create_group(body)
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |
Gets all SyncPlay groups.
def sync_play_get_groups(self)
result = sync_play_controller.sync_play_get_groups()
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |
Join an existing SyncPlay group.
def sync_play_join_group(self,
body)
Parameter | Type | Tags | Description |
---|---|---|---|
body |
JoinGroupRequestDto |
Body, Required | The group to join. |
void
body = JoinGroupRequestDto()
result = sync_play_controller.sync_play_join_group(body)
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |
Leave the joined SyncPlay group.
def sync_play_leave_group(self)
void
result = sync_play_controller.sync_play_leave_group()
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |
Request to move an item in the playlist in SyncPlay group.
def sync_play_move_playlist_item(self,
body)
Parameter | Type | Tags | Description |
---|---|---|---|
body |
MovePlaylistItemRequestDto |
Body, Required | The new position for the item. |
void
body = MovePlaylistItemRequestDto()
result = sync_play_controller.sync_play_move_playlist_item(body)
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |
Request next item in SyncPlay group.
def sync_play_next_item(self,
body)
Parameter | Type | Tags | Description |
---|---|---|---|
body |
NextItemRequestDto |
Body, Required | The current item information. |
void
body = NextItemRequestDto()
result = sync_play_controller.sync_play_next_item(body)
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |
Request pause in SyncPlay group.
def sync_play_pause(self)
void
result = sync_play_controller.sync_play_pause()
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |
Update session ping.
def sync_play_ping(self,
body)
Parameter | Type | Tags | Description |
---|---|---|---|
body |
PingRequestDto |
Body, Required | The new ping. |
void
body = PingRequestDto()
result = sync_play_controller.sync_play_ping(body)
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |
Request previous item in SyncPlay group.
def sync_play_previous_item(self,
body)
Parameter | Type | Tags | Description |
---|---|---|---|
body |
PreviousItemRequestDto |
Body, Required | The current item information. |
void
body = PreviousItemRequestDto()
result = sync_play_controller.sync_play_previous_item(body)
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |
Request to queue items to the playlist of a SyncPlay group.
def sync_play_queue(self,
body)
Parameter | Type | Tags | Description |
---|---|---|---|
body |
QueueRequestDto |
Body, Required | The items to add. |
void
body = QueueRequestDto()
result = sync_play_controller.sync_play_queue(body)
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |
Notify SyncPlay group that member is ready for playback.
def sync_play_ready(self,
body)
Parameter | Type | Tags | Description |
---|---|---|---|
body |
ReadyRequestDto |
Body, Required | The player status. |
void
body = ReadyRequestDto()
result = sync_play_controller.sync_play_ready(body)
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |
Request to remove items from the playlist in SyncPlay group.
def sync_play_remove_from_playlist(self,
body)
Parameter | Type | Tags | Description |
---|---|---|---|
body |
RemoveFromPlaylistRequestDto |
Body, Required | The items to remove. |
void
body = RemoveFromPlaylistRequestDto()
result = sync_play_controller.sync_play_remove_from_playlist(body)
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |
Request seek in SyncPlay group.
def sync_play_seek(self,
body)
Parameter | Type | Tags | Description |
---|---|---|---|
body |
SeekRequestDto |
Body, Required | The new playback position. |
void
body = SeekRequestDto()
result = sync_play_controller.sync_play_seek(body)
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |
Request SyncPlay group to ignore member during group-wait.
def sync_play_set_ignore_wait(self,
body)
Parameter | Type | Tags | Description |
---|---|---|---|
body |
IgnoreWaitRequestDto |
Body, Required | The settings to set. |
void
body = IgnoreWaitRequestDto()
result = sync_play_controller.sync_play_set_ignore_wait(body)
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |
Request to set new playlist in SyncPlay group.
def sync_play_set_new_queue(self,
body)
Parameter | Type | Tags | Description |
---|---|---|---|
body |
PlayRequestDto |
Body, Required | The new playlist to play in the group. |
void
body = PlayRequestDto()
result = sync_play_controller.sync_play_set_new_queue(body)
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |
Request to change playlist item in SyncPlay group.
def sync_play_set_playlist_item(self,
body)
Parameter | Type | Tags | Description |
---|---|---|---|
body |
SetPlaylistItemRequestDto |
Body, Required | The new item to play. |
void
body = SetPlaylistItemRequestDto()
result = sync_play_controller.sync_play_set_playlist_item(body)
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |
Request to set repeat mode in SyncPlay group.
def sync_play_set_repeat_mode(self,
body)
Parameter | Type | Tags | Description |
---|---|---|---|
body |
SetRepeatModeRequestDto |
Body, Required | The new repeat mode. |
void
body = SetRepeatModeRequestDto()
result = sync_play_controller.sync_play_set_repeat_mode(body)
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |
Request to set shuffle mode in SyncPlay group.
def sync_play_set_shuffle_mode(self,
body)
Parameter | Type | Tags | Description |
---|---|---|---|
body |
SetShuffleModeRequestDto |
Body, Required | The new shuffle mode. |
void
body = SetShuffleModeRequestDto()
result = sync_play_controller.sync_play_set_shuffle_mode(body)
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |
Request stop in SyncPlay group.
def sync_play_stop(self)
void
result = sync_play_controller.sync_play_stop()
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |
Request unpause in SyncPlay group.
def sync_play_unpause(self)
void
result = sync_play_controller.sync_play_unpause()
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |