示例#1
0
        /// <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;
            }
        }
示例#2
0
 /// <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;
       }
 }