コード例 #1
0
ファイル: SpotifyController.cs プロジェクト: bakatz/SpotMute
        /*
         * 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();
            }
        }