using System.Threading;
using MediaBrowser.Model.SyncPlay;
using MediaBrowser.Controller.Session;
namespace MediaBrowser.Controller.SyncPlay
{
///
/// Class RemoveFromPlaylistGroupRequest.
///
public class RemoveFromPlaylistGroupRequest : IPlaybackGroupRequest
{
///
/// Gets or sets the playlist ids ot the items.
///
/// The playlist ids ot the items.
public string[] PlaylistItemIds { get; set; }
///
public PlaybackRequestType GetRequestType()
{
return PlaybackRequestType.Queue;
}
///
public void Apply(ISyncPlayStateContext context, ISyncPlayState state, SessionInfo session, CancellationToken cancellationToken)
{
state.HandleRequest(context, state.GetGroupState(), this, session, cancellationToken);
}
}
}