private void AddToPlaylist(PlaylistSource playlist) { if (!FilterFocused) { playlist.AddSelectedTracks(ActiveSource); } else { playlist.AddAllTracks(ActiveSource); } }
private void AddToPlaylist(PlaylistSource playlist) { if (!FilterFocused) { var track = ServiceManager.PlayerEngine.CurrentTrack as DatabaseTrackInfo; if (chosen_from_playing_track_submenu && track != null) { playlist.AddTrack(track); } else { playlist.AddSelectedTracks(ActiveSource); } } else { playlist.AddAllTracks(ActiveSource); } }