示例#1
0
 private void AddToPlaylist(PlaylistSource playlist)
 {
     if (!FilterFocused)
     {
         playlist.AddSelectedTracks(ActiveSource);
     }
     else
     {
         playlist.AddAllTracks(ActiveSource);
     }
 }
示例#2
0
 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);
     }
 }