/// <summary> /// Gets the previous track. /// </summary> /// <returns>The previous track</returns> private Track GetPreviousTrack() { var prevTrack = PlaylistControl.GetPreviousTrack(); if (prevTrack == null) { return(null); } var track = BassPlayer.LoadTrack(prevTrack.Filename); BassPlayer.LoadTrackAudioData(track); ExtenedAttributesHelper.LoadExtendedAttributes(track); return(track); }