2020-05-06 21:42:53 +00:00
|
|
|
namespace MediaBrowser.Model.SyncPlay
|
2020-04-01 15:52:42 +00:00
|
|
|
{
|
|
|
|
/// <summary>
|
2020-06-14 10:14:14 +00:00
|
|
|
/// Enum PlaybackRequestType.
|
2020-04-01 15:52:42 +00:00
|
|
|
/// </summary>
|
2020-04-15 16:03:58 +00:00
|
|
|
public enum PlaybackRequestType
|
2020-04-01 15:52:42 +00:00
|
|
|
{
|
|
|
|
/// <summary>
|
2020-09-24 21:04:21 +00:00
|
|
|
/// A user is setting a new playlist.
|
2020-04-01 15:52:42 +00:00
|
|
|
/// </summary>
|
|
|
|
Play = 0,
|
2020-06-14 10:14:14 +00:00
|
|
|
|
2020-09-24 21:04:21 +00: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 15:52:42 +00:00
|
|
|
/// <summary>
|
|
|
|
/// A user is requesting a pause command for the group.
|
|
|
|
/// </summary>
|
2020-09-24 21:04:21 +00:00
|
|
|
Pause = 6,
|
2020-06-14 10:14:14 +00:00
|
|
|
|
2020-04-01 15:52:42 +00:00
|
|
|
/// <summary>
|
2020-09-24 21:04:21 +00:00
|
|
|
/// A user is requesting a stop command for the group.
|
2020-04-01 15:52:42 +00:00
|
|
|
/// </summary>
|
2020-09-24 21:04:21 +00:00
|
|
|
Stop = 7,
|
2020-06-14 10:14:14 +00:00
|
|
|
|
2020-04-01 15:52:42 +00:00
|
|
|
/// <summary>
|
2020-09-24 21:04:21 +00:00
|
|
|
/// A user is requesting a seek command for the group.
|
|
|
|
/// </summary>
|
|
|
|
Seek = 8,
|
|
|
|
|
|
|
|
/// <summary>
|
2020-04-01 15:52:42 +00:00
|
|
|
/// A user is signaling that playback is buffering.
|
|
|
|
/// </summary>
|
2020-09-24 21:04:21 +00:00
|
|
|
Buffer = 9,
|
2020-06-14 10:14:14 +00:00
|
|
|
|
2020-04-01 15:52:42 +00:00
|
|
|
/// <summary>
|
|
|
|
/// A user is signaling that playback resumed.
|
|
|
|
/// </summary>
|
2020-09-24 21:04:21 +00:00
|
|
|
Ready = 10,
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// A user is requesting next track in playlist.
|
|
|
|
/// </summary>
|
|
|
|
NextTrack = 11,
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// A user is requesting previous track in playlist.
|
|
|
|
/// </summary>
|
|
|
|
PreviousTrack = 12,
|
|
|
|
/// <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 10:14:14 +00:00
|
|
|
|
2020-04-01 15:52:42 +00:00
|
|
|
/// <summary>
|
2020-09-24 21:04:21 +00:00
|
|
|
/// A user is requesting to be ignored on group wait.
|
2020-04-01 15:52:42 +00:00
|
|
|
/// </summary>
|
2020-09-24 21:04:21 +00:00
|
|
|
IgnoreWait = 16
|
2020-04-01 15:52:42 +00:00
|
|
|
}
|
|
|
|
}
|