Esempio n. 1
0
        public async Task ModifyPlaylistAsync(AddSongToQueueRequest request)
        {
            await Playlist.AddSongToQueueAsync(request);

            // Play the song that was added to queue automatically
            if (Playlist.CurrentSong == null)
            {
                await Playlist.StartAsync();
            }
        }
Esempio n. 2
0
 public async Task ModifyPlaylistAsync(AddSongToQueueRequest request)
 {
     await Playlist.AddSongToQueueAsync(request);
 }