pixel: Adam Lambert looking up with a smile. (glambert: adam OHHAI)
pixel ([personal profile] pixel) wrote in [community profile] command_liners2010-08-03 12:48 pm

Pandora.com CLI

This is one I've been on the lookout for.
Pianobar plays your pandora.com stations from the command line. BYE BYE FLASH :D

There are some vague directions for various flavors of linux on the home page.

** Note: This should not be necessary in future versions of Ubuntu, pianobar was accepted into Maverick's universe repo.

I got it running on Ubuntu 10.4 with a little tweaking. I've seen some mentions of someone's random PPA having it but that's a little exposed for my taste. I grabbed the .deb files from github instead. (You'll need git installed sudo apt-get install git for this.)

Clone the repo from github:
git clone http://github.com/wendall911/wendall911-ubuntu-packages.git

cd into the new directory:
cd wendall911-ubuntu-packages

Find the latest pianobar by checking the dates, for me pianobar_2010.5.1-i386.deb was the latest. Then install with dpkg.
sudo dpkg -i pianobar_2010.5.1-i386.deb

If you need any libraries it will holler at you, I needed one library...
sudo apt-get install libao2

It then finished up the install by itself (I begin to love apt...)
Just run pianobar and it'll drop you into the player. Another great use for screen XD.
I think it'd be possible to make [personal profile] kerravonsen's screen script work with this but haven't got it yet...


It even shows you songs you've already favorited with a little <3
Photobucket
Type ? to get the menu.
foxfirefey: Look at this wee octopus! LOOK AT IT! (squee)

[personal profile] foxfirefey 2010-08-03 06:29 pm (UTC)(link)
Oh my gosh I did not even know this could be possible but it sounds AWESOME. I bet it consumes SO MUCH LESS CPU.