public PlaylistViewModel() { Songs = new ObservableCollection<MediaViewModel>(); _selectedSong = new MediaViewModel(); }
public void RemoveFromLibrary(MediaViewModel mediaViewModel) { FileInfo f = new FileInfo(Uri.UnescapeDataString(mediaViewModel.Path.AbsolutePath)); f.Delete(); Entries.Remove(mediaViewModel); Backup.Remove(mediaViewModel); }
public void RemoveSong(MediaViewModel item) { Songs.Remove(item); }