using System.Collections.Generic; using System.Threading; using MediaBrowser.Controller.Session; using MediaBrowser.Model.SyncPlay; namespace MediaBrowser.Controller.SyncPlay { /// /// Class RemoveFromPlaylistGroupRequest. /// public class RemoveFromPlaylistGroupRequest : IGroupPlaybackRequest { /// /// Gets the playlist identifiers ot the items. /// /// The playlist identifiers ot the items. public List PlaylistItemIds { get; } = new List(); /// public PlaybackRequestType Type { get; } = PlaybackRequestType.RemoveFromPlaylist; /// public void Apply(IGroupStateContext context, IGroupState state, SessionInfo session, CancellationToken cancellationToken) { state.HandleRequest(context, state.Type, this, session, cancellationToken); } } }