jellyfin/MediaBrowser.Model/SyncPlay/PlaybackRequestType.cs

94 lines
2.2 KiB
C#
Raw Normal View History

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>
public enum PlaybackRequestType
2020-04-01 08:52:42 -07:00
{
/// <summary>
/// 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
/// <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>
Pause = 6,
2020-06-14 03:14:14 -07:00
2020-04-01 08:52:42 -07:00
/// <summary>
/// A user is requesting a stop command for the group.
2020-04-01 08:52:42 -07:00
/// </summary>
Stop = 7,
2020-06-14 03:14:14 -07:00
2020-04-01 08:52:42 -07:00
/// <summary>
/// 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>
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>
Ready = 10,
/// <summary>
2020-12-03 07:41:34 -07:00
/// A user is requesting next item in playlist.
/// </summary>
2020-12-03 07:41:34 -07:00
NextItem = 11,
/// <summary>
2020-12-03 07:41:34 -07:00
/// A user is requesting previous item in playlist.
/// </summary>
2020-12-03 07:41:34 -07:00
PreviousItem = 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 03:14:14 -07:00
2020-04-01 08:52:42 -07:00
/// <summary>
/// A user is requesting to be ignored on group wait.
2020-04-01 08:52:42 -07:00
/// </summary>
IgnoreWait = 16
2020-04-01 08:52:42 -07:00
}
}