public TrackInfo GetRandom(DateTime notPlayedSince, string shuffle_mode, bool repeat, bool resetSinceTime, Shuffler shuffler) { lock (this) { shuffler.SetModelAndCache(this, cache); return(shuffler.GetRandom(notPlayedSince, shuffle_mode, repeat, resetSinceTime)); } }
public TrackInfo GetRandom(DateTime notPlayedSince, string shuffle_mode, bool repeat, bool resetSinceTime, Shuffler shuffler) { lock (this) { shuffler.SetModelAndCache (this, cache); return shuffler.GetRandom (notPlayedSince, shuffle_mode, repeat, resetSinceTime); } }