using System.Threading; using MediaBrowser.Controller.Session; using MediaBrowser.Model.SyncPlay; namespace MediaBrowser.Controller.SyncPlay { /// /// Class IgnoreWaitGroupRequest. /// public class IgnoreWaitGroupRequest : IGroupPlaybackRequest { /// /// Gets or sets a value indicating whether the client should be ignored. /// /// The client group-wait status. public bool IgnoreWait { get; set; } /// public PlaybackRequestType Type { get; } = PlaybackRequestType.IgnoreWait; /// public void Apply(IGroupStateContext context, IGroupState state, SessionInfo session, CancellationToken cancellationToken) { state.HandleRequest(context, state.Type, this, session, cancellationToken); } } }