Esempio n. 1
0
 public async Task PlayPlaylist(SavedPlaylistMeta playlist)
 {
     await WithExceptionEvents(async() => {
         var tracks = await Library.LoadPlaylist(playlist.Id);
         await Player.PlayPlaylist(tracks);
     });
 }
Esempio n. 2
0
 public async Task DeletePlaylistAndReload(SavedPlaylistMeta playlist)
 {
     await WithExceptionEvents(async() => {
         await Library.DeletePlaylist(playlist.Id);
     });
     await Update();
 }
Esempio n. 3
0
 public PlaylistVM(SavedPlaylistMeta meta)
 {
     Meta = meta;
 }