public PlaylistConfig(Playlist playlist) : base(StringComparer.OrdinalIgnoreCase) { this.Playlist = playlist; this.Load(); }
public AddCdToPlaylistTask(Playlist playlist, int drive, bool cdLookup, string cdLookupHost) : base(playlist) { this.Drive = drive; this.CdLookup = cdLookup; this.CdLookupHost = cdLookupHost; }
public PlaylistItem GetLastItem(Playlist playlist) { return(this.GetItems(playlist).LastOrDefault()); }
public PlaylistItem GetPreviousItem(Playlist playlist) { return(this.NavigationStrategy.GetPrevious(this.PlaylistManager.CurrentItem)); }
public abstract Task Refresh(Playlist playlist, bool force);
public PlaylistItem[] GetItems(Playlist playlist) { return(this.PlaylistCache.GetItems(playlist, () => this.GetItemsCore(playlist))); }
protected virtual PlaylistConfig GetConfig(Playlist playlist) { return(new PlaylistConfig(playlist)); }
public AddCueToPlaylistTask(Playlist playlist, int sequence, string fileName) : base(playlist, sequence) { this.FileName = fileName; }
public Task AddCueToPlaylist(Playlist playlist, string fileName) { var index = this.PlaylistBrowser.GetInsertIndex(playlist); return(this.AddCueToPlaylist(playlist, index, fileName)); }
public AddArchivesToPlaylistTask(Playlist playlist, int sequence, IEnumerable <string> paths, bool clear) : base(playlist, sequence) { this.Paths = paths; this.Clear = clear; }
public Task AddArchivesToPlaylist(Playlist playlist, IEnumerable <string> paths) { var index = this.PlaylistBrowser.GetInsertIndex(playlist); return(this.AddArchivesToPlaylist(playlist, index, paths)); }