2020-05-06 14:42:53 -07:00
|
|
|
namespace MediaBrowser.Model.SyncPlay
|
2020-04-01 08:52:42 -07:00
|
|
|
{
|
|
|
|
/// <summary>
|
2020-06-14 03:14:14 -07:00
|
|
|
/// Enum PlaybackRequestType.
|
2020-04-01 08:52:42 -07:00
|
|
|
/// </summary>
|
2020-04-15 09:03:58 -07:00
|
|
|
public enum PlaybackRequestType
|
2020-04-01 08:52:42 -07:00
|
|
|
{
|
|
|
|
/// <summary>
|
2020-09-24 14:04:21 -07:00
|
|
|
/// A user is setting a new playlist.
|
2020-04-01 08:52:42 -07:00
|
|
|
/// </summary>
|
|
|
|
Play = 0,
|
2020-06-14 03:14:14 -07:00
|
|
|
|
2020-09-24 14:04:21 -07:00
|
|
|
/// <summary>
|
|
|
|
/// A user is changing the playlist item.
|
|
|
|
/// </summary>
|
|
|
|
SetPlaylistItem = 1,
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// A user is removing items from the playlist.
|
|
|
|
/// </summary>
|
|
|
|
RemoveFromPlaylist = 2,
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// A user is moving an item in the playlist.
|
|
|
|
/// </summary>
|
|
|
|
MovePlaylistItem = 3,
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// A user is adding items to the playlist.
|
|
|
|
/// </summary>
|
|
|
|
Queue = 4,
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// A user is requesting an unpause command for the group.
|
|
|
|
/// </summary>
|
|
|
|
Unpause = 5,
|
|
|
|
|
2020-04-01 08:52:42 -07:00
|
|
|
/// <summary>
|
|
|
|
/// A user is requesting a pause command for the group.
|
|
|
|
/// </summary>
|
2020-09-24 14:04:21 -07:00
|
|
|
Pause = 6,
|
2020-06-14 03:14:14 -07:00
|
|
|
|
2020-04-01 08:52:42 -07:00
|
|
|
/// <summary>
|
2020-09-24 14:04:21 -07:00
|
|
|
/// A user is requesting a stop command for the group.
|
2020-04-01 08:52:42 -07:00
|
|
|
/// </summary>
|
2020-09-24 14:04:21 -07:00
|
|
|
Stop = 7,
|
2020-06-14 03:14:14 -07:00
|
|
|
|
2020-04-01 08:52:42 -07:00
|
|
|
/// <summary>
|
2020-09-24 14:04:21 -07:00
|
|
|
/// A user is requesting a seek command for the group.
|
|
|
|
/// </summary>
|
|
|
|
Seek = 8,
|
|
|
|
|
|
|
|
/// <summary>
|
2020-04-01 08:52:42 -07:00
|
|
|
/// A user is signaling that playback is buffering.
|
|
|
|
/// </summary>
|
2020-09-24 14:04:21 -07:00
|
|
|
Buffer = 9,
|
2020-06-14 03:14:14 -07:00
|
|
|
|
2020-04-01 08:52:42 -07:00
|
|
|
/// <summary>
|
|
|
|
/// A user is signaling that playback resumed.
|
|
|
|
/// </summary>
|
2020-09-24 14:04:21 -07:00
|
|
|
Ready = 10,
|
|
|
|
|
|
|
|
/// <summary>
|
2020-12-03 07:41:34 -07:00
|
|
|
/// A user is requesting next item in playlist.
|
2020-09-24 14:04:21 -07:00
|
|
|
/// </summary>
|
2020-12-03 07:41:34 -07:00
|
|
|
NextItem = 11,
|
2020-09-24 14:04:21 -07:00
|
|
|
|
|
|
|
/// <summary>
|
2020-12-03 07:41:34 -07:00
|
|
|
/// A user is requesting previous item in playlist.
|
2020-09-24 14:04:21 -07:00
|
|
|
/// </summary>
|
2020-12-03 07:41:34 -07:00
|
|
|
PreviousItem = 12,
|
2020-11-13 07:13:32 -07:00
|
|
|
|
2020-09-24 14:04:21 -07:00
|
|
|
/// <summary>
|
|
|
|
/// A user is setting the repeat mode.
|
|
|
|
/// </summary>
|
|
|
|
SetRepeatMode = 13,
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// A user is setting the shuffle mode.
|
|
|
|
/// </summary>
|
|
|
|
SetShuffleMode = 14,
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// A user is reporting their ping.
|
|
|
|
/// </summary>
|
|
|
|
Ping = 15,
|
2020-06-14 03:14:14 -07:00
|
|
|
|
2020-04-01 08:52:42 -07:00
|
|
|
/// <summary>
|
2020-09-24 14:04:21 -07:00
|
|
|
/// A user is requesting to be ignored on group wait.
|
2020-04-01 08:52:42 -07:00
|
|
|
/// </summary>
|
2020-09-24 14:04:21 -07:00
|
|
|
IgnoreWait = 16
|
2020-04-01 08:52:42 -07:00
|
|
|
}
|
|
|
|
}
|