![]() ![]() Now whenever you want to add the song you are listening to you can just press the button without even having to switch to Spotify. ![]() copy paste your code from Script editor on to the window on the right and there you go your custom button is now complete. Press the plus sign and choose touch bar button in the drop down menu and assign the action to be “run apple script (blocking)”. In the Audio tab, youll see all the available audio tracks bundled in. ![]() ”Congratulations! You’ve fired the add event”įor the last step you will need to add new trigger in BTT. Adding a song to a Spotify playlist is not always the easiest especially if you want to just quickly add whatever you are listening to without breaking your current workflow. But iTunes and QuickTime wont play MKVs, though media servers like Plex and free. You can now try and run the script by clicking the play button while you have Spotify playing on your laptop and you should get the following text in the console: Next up copy paste this text in to script editor (a program that comes pre installed on your mac) and replace the REPLACEME with your personal key. Playing Songs with iTunes iTunes plays your music, but it doesnt have to be the application you use to start playing music. If application "Spotify" is running then tell application "Spotify" if player state is playing then set ArtistName to ( get artist of current track) set SongName to ( get name of current track) end if end tell end if do shell script " curl -X POST -H \"Content-Type: application/json\" -d '' " ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |