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

Touchpad stops working after sleep + resume (Fedora 26 on Dell XPS)

After recently upgrading my Dell XPS 13 w/Touchscreen to Fedora 26, the touchpad suddenly stopped working upon resuming from sleep mode. It was reproduced 100% of the time, and required a complete restart in order to get the touchpad working again. There have been several forum posts and bug reports regarding others experiencing these exact […]

Read More

Fun with fsck on Fedora – avoiding mounted partitions and handling LUKS encrypted ones

I run Fedora on a few of my machines, and inevitably over the course of time the filesystem will need to be repaired because of orphaned inodes, wrong free byte counts, etc. Typically when EXT4 errors are detected during boot, Fedora will detect this and offer to drop you into “Emergency mode” or continue. example: […]

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