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