inside the mind of a linux admin

Pandora on Linux: pianobar

“pianobar” is a free/open-source, console-based replacement for pandora’s flash player. “pianobarfly” is a patched version of it, which adds some pretty awesome features including capturing music from your stream into a local .mp3 file format.

Features

– play and manage (create, add more music, delete, rename, …) your stations
– rate played songs and let pandora explain why they have been selected
– show upcoming songs/song history
– configure keybindings
– last.fm scrobbling support (external application)
– proxy support for listeners outside the USA

Where to get it
Simply download it from git:
https://github.com/PromyLOPh/pianobar.git

How to install
This gets to be slightly complicated depending on what flavour of Linux you are using. For ubuntu/debian users, I’ve made it extremely easy:

# sudo apt-get install libao-dev libao-common libfaad-dev libmad0-dev libtagc0-dev libjson0-dev libgnutls-dev

Then, you’ll need to retrieve the latest version from github:

This should leave you with a binary if all goes well. Copy it to somewhere in your $PATH (echo $PATH) and you can run it by simply typing pianobarfly. If not, you will need to get the appropriate libraries and packages for your particular system.

I do not offer support on this. Good luck!

Pianobar development page: http://6xq.net/html/00/17.html

Related Posts

How to install CSF Firewall on CentOS 7

ConfigServer (CSF) is advanced open-source firewall for Linux. If you are like me, I don’t really care much for the native firewalld that’s included with RHEL7 releases, and I’ve used APF for years which is basically just a frontend for iptables. Here’s instructions on how to install it: 1. Disable firewalld systemctl stop firewalld systemctl […]

Read More

ScreenCloud: Troubleshooting missing Python modules after updates

One of my favorite tools that I find myself using quite often is called “ScreenCloud“. It allows you to quickly select any area of your workspace, create an sized screen shot, and then upload it or export it off to their server, your Dropbox account or an SFTP server. If you’ve recently performed upgrades, either […]

Read More

1 Comment

  • Darrell on Friday, May 13, 2011

    Good stuff! Thanks.

    Can you post the link where the patching info can be found? Seems like this program needs updated a lot.

    Also for those of you that would like mp3 (not m4a) files created, you will need to create a config file. See below.

    mkdir -p ~/.config/pianobar
    cat<~/.config/pianobar/config
    audio_format = mp3
    EOF

Leave a Reply

Your email address will not be published. Required fields are marked *

Twitter: kireguy

Tweeter button Facebook button Myspace button