Esempio n. 1
0
        /*
         * Adds Spotify's current artist to the blockTable, mutes it, and plays elevator music over it.
         */
        public void blockCurrentArtist()
        {
            Song currSong = spotInfo.GetCurrentSong();

            if (currSong != null)
            {
                blockTable.addArtist(new Artist(currSong.ArtistName));
                addLog("Current artist added to the blockTable.");
                trySkipSong();
            }
        }