/// <summary> /// Create the Smart Playlist /// </summary> /// <param name="mode"></param> private void playSmart(SmartMode mode) { switch (mode) { case SmartMode.Favourites: playFavourites(); break; case SmartMode.FreshTracks: playFreshTracks(); break; case SmartMode.HighestRated: playHighestRated(); break; case SmartMode.LeastPlayed: playLeastPlayed(); break; case SmartMode.RandomHD: playRandomHDAll(); break; case SmartMode.ByTag: playByTag(); break; case SmartMode.ByGenre: playByGenre(); break; case SmartMode.SmartDJ: SmartDJPlaylist(); break; case SmartMode.Cancel: break; } }