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

            if (currSong != null)
            {
                blockTable.addSong(currSong);
                addLog("Current song added to the blockTable.");
                trySkipSong();
            }
        }