Exemplo n.º 1
0
 public PlaylistConfig(Playlist playlist) : base(StringComparer.OrdinalIgnoreCase)
 {
     this.Playlist = playlist;
     this.Load();
 }
Exemplo n.º 2
0
 public AddCdToPlaylistTask(Playlist playlist, int drive, bool cdLookup, string cdLookupHost) : base(playlist)
 {
     this.Drive        = drive;
     this.CdLookup     = cdLookup;
     this.CdLookupHost = cdLookupHost;
 }
Exemplo n.º 3
0
 public PlaylistItem GetLastItem(Playlist playlist)
 {
     return(this.GetItems(playlist).LastOrDefault());
 }
Exemplo n.º 4
0
 public PlaylistItem GetPreviousItem(Playlist playlist)
 {
     return(this.NavigationStrategy.GetPrevious(this.PlaylistManager.CurrentItem));
 }
Exemplo n.º 5
0
 public abstract Task Refresh(Playlist playlist, bool force);
Exemplo n.º 6
0
 public PlaylistItem[] GetItems(Playlist playlist)
 {
     return(this.PlaylistCache.GetItems(playlist, () => this.GetItemsCore(playlist)));
 }
Exemplo n.º 7
0
 protected virtual PlaylistConfig GetConfig(Playlist playlist)
 {
     return(new PlaylistConfig(playlist));
 }
Exemplo n.º 8
0
 public AddCueToPlaylistTask(Playlist playlist, int sequence, string fileName) : base(playlist, sequence)
 {
     this.FileName = fileName;
 }
Exemplo n.º 9
0
        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));
        }