/// <summary> /// Start playing selected song /// </summary> /// <param name="song"></param> private async void OpenSong(Song song) { if (CurrentSong != null) CurrentSong.IsPlaying = false; CurrentSong = song; CurrentSong.IsPlaying = true; ChangePlaybackState(MediaState.Play); AlbumArt = await ImageHelper.GetAlbumArtAsync(song.FilePath); }
public async void Initialize(Song song) { Lyrics = await song.GetLyricsAsync(); }
public void Initialize(Song song) { IsEnabled = true; RemoveImageCommand = new RelayCommand(RemoveImage, () => Image != null); Song = song; LoadAlbumArt(); }
public void UpdateSong(Song song) { }