using MediaBrowser.Controller.Entities;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace MediaBrowser.Controller.Playlists
{
public interface IPlaylistManager
{
///
/// Gets the playlists.
///
/// The user identifier.
/// IEnumerable<Playlist>.
IEnumerable GetPlaylists(string userId);
///
/// Creates the playlist.
///
/// The options.
/// Task<Playlist>.
Task CreatePlaylist(PlaylistCreationOptions options);
///
/// Adds to playlist.
///
/// The playlist identifier.
/// The item ids.
/// Task.
Task AddToPlaylist(string playlistId, IEnumerable itemIds);
///
/// Removes from playlist.
///
/// The playlist identifier.
/// The indeces.
/// Task.
Task RemoveFromPlaylist(string playlistId, IEnumerable indeces);
///
/// Gets the playlists folder.
///
/// The user identifier.
/// Folder.
Folder GetPlaylistsFolder(string userId);
}
}