You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
861 B
28 lines
861 B
4 years ago
|
using System.Threading;
|
||
|
using MediaBrowser.Controller.Session;
|
||
4 years ago
|
using MediaBrowser.Model.SyncPlay;
|
||
4 years ago
|
|
||
|
namespace MediaBrowser.Controller.SyncPlay
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Class SetShuffleModeGroupRequest.
|
||
|
/// </summary>
|
||
4 years ago
|
public class SetShuffleModeGroupRequest : IGroupPlaybackRequest
|
||
4 years ago
|
{
|
||
|
/// <summary>
|
||
|
/// Gets or sets the shuffle mode.
|
||
|
/// </summary>
|
||
|
/// <value>The shuffle mode.</value>
|
||
|
public string Mode { get; set; }
|
||
|
|
||
|
/// <inheritdoc />
|
||
4 years ago
|
public PlaybackRequestType Type { get; } = PlaybackRequestType.SetShuffleMode;
|
||
4 years ago
|
|
||
|
/// <inheritdoc />
|
||
4 years ago
|
public void Apply(IGroupStateContext context, IGroupState state, SessionInfo session, CancellationToken cancellationToken)
|
||
4 years ago
|
{
|
||
4 years ago
|
state.HandleRequest(context, state.Type, this, session, cancellationToken);
|
||
4 years ago
|
}
|
||
|
}
|
||
|
}
|