Fork of console-based player - scrobbling and notifications with album art for OS X
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

Enhanced pianobar for OS X

This is rolle's awesome fork of pianobar settings for OS X.

With pianobar-osx you can achieve a working Command Line Interface music player that plays radio from Pandora, scrobbles songs to and more. All this with CLI!


  • Notifies songs played with pianobar
  • Loved songs in Pandora are automatically Loved songs in when marked loved + key
  • Displays currently playing album art in notification
  • Scrobbles playing songs to in real time and permanently when played 50% of the song
  • Displays info about changing stations, displays station name in notification
  • Mac OS X Media keys support
  • Displays lyrics while playing from LyricWiki


  1. terminal-notifier - Send User Notifications on Mac OS X 10.8 from the command-line.
  2. pylast (important: You will need the latest version, install with easy_install pylast, not pip)
  3. pianobar - pianobar is a free/open-source, console-based client for the personalized online radio Pandora.
  4. python (brew install python)
  5. pync (pip install pync)
  6. py-lyrics


  1. Install requirements
  2. Clone this repo and move everything to ~/.config/pianobar.
  3. Add ~/.config/pianobar/config with following:
#tls_fingerprint = 2D0AFDAFA16F4B5C0A43F3CB1D4752F9535507C0
user =
password = YouReXtraHardPassWORd
control_proxy =
event_command = /Users/yourusername/.config/pianobar/

# Get working proxies (if outside USA):
# With response times:

# My personal favorite:
# Uptime: 1463/36, response times: 14ms
control_proxy =
  1. Rename to
  2. Edit and fill in the variables at the top of the script.
  3. Make sure everything is executable by cd ~/.config/pianobar && sudo chmod +x *.py && sudo chmod +x *.sh && sudo chmod +x *.rb
  4. Create album for covers mkdir -p ~/.config/pianobar/.covers
  5. To add Mac media keys support, setup PianoKeys (Note: If you use Mac OS X Sierra, please use this alias: alias pianobar='osascript -e '"'"'tell application "Terminal" to do script "pianokeys"'"'"' && pianobar', see Issue #10)
  6. Run pianobar


If happens to be down, pianobar won't load any music. You should disable event_command line during the downtime or wait it out.

If you don't get any notifications or scrobbles, try which python and change the first line from your to the path, for example: