Last active
February 6, 2021 00:52
-
-
Save febuiles/1549979 to your computer and use it in GitHub Desktop.
Updated version: https://gist.github.com/febuiles/1549991
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Updated version is always at: https://gist.github.com/febuiles/1549991 | |
#!/bin/bash | |
artist=`osascript -e'tell application "iTunes"' -e'get artist of current track' -e'end tell'` | |
title=`osascript -e'tell application "iTunes"' -e'get name of current track' -e'end tell'` | |
song=`curl -s --get "https://makeitpersonal.co/lyrics" --data-urlencode "artist=$artist" --data-urlencode "title=$title"` | |
echo -e "$artist - $title\n$song" |
@pcasaretto: That was supposed to say "Taken down by Gracenote". They own the rights of a ton of songs and they like to send takedown notices to other sites that publish them.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey, what is up with makeitpersonal? Most of the songs say "Taken down by Gracedown"