Esempio n. 1
0
        private void ExecutePlayNextEntry(string currentFile)
        {
            if (!CanPlayNextEntry(currentFile))
            {
                return;
            }

            PlaylistEntry entry = GetNextEntry(currentFile);

            if (entry == null)
            {
                return;
            }

            OnPlayEntry(entry);
        }
Esempio n. 2
0
 public void RequestPlayEntry(PlaylistEntry entry)
 {
     OnPlayEntry(entry);
 }
Esempio n. 3
0
 protected virtual void OnPlayEntry(PlaylistEntry entry)
 {
     SelectedEntry = entry;
     PlayEntry?.Invoke(this, entry);
 }
Esempio n. 4
0
 public void AddEntry(PlaylistEntry entry)
 {
     Entries.Add(entry);
     CommandManager.InvalidateRequerySuggested();
 }