'Star' Spotify tracks from the command line.
Install libspotify and pyspotify, e.g.
brew install libspotify
pip install pyspotify
Create a libspotify API key and copy the spotify_appkey.key
file to the same directory containing starrify.py
.
# Usage
python starrify.py -t [SPOTIFY_TRACK_URI] -u [SPOTIFY_USERNAME] -p [SPOTIFY_PASSWORD]
Use in conjunction with the Spotify AppleScript dictionary to grab what's currently playing, and star it using an Alfred keyboard shortcut.