I just read about this command line Pandora player called pianobar
It works great but the homepage says "last.fm scrobbling (using an external scrobbler)"
Any one ever set this up before?
I just read about this command line Pandora player called pianobar
It works great but the homepage says "last.fm scrobbling (using an external scrobbler)"
Any one ever set this up before?
First you'll need an external scrobbler. I recommend
scrobbler-helper
, which is written in Perl and available via CPAN.Configure pianobar to use external scrobbler.
Skip the next two steps if you already have a
~/.config/pianobar/config
.Create the configuration directory for pianobar,
Copy the example config file,
Now in
~/.config/pianobar/config
, remove the#
from the beginning of this line:and replace
user
with your actual username. This sets the path of the script that will be run every time you finish playing a song.~/.config/pianobar/eventcmd
doesn't exist yet, so download this script to your Desktop. That script is the same as the one found in/usr/share/doc/pianobar/contrib/eventcmd.sh
, but with some lines that required extra packages commented out. Once you have downloaded it, rename it toeventcmd
then run the following commands:Configure
scrobbler-helper
,scrobbler-helper
needs to know your Last.fm account and password.Create a file
~/.scrobbler-helper.conf
and paste the following into it:replacing
USERNAME
andPASSWORD
with your actual Last.fm username and password.Alternative solution: There is a Gtk application called Pithos that is built on libpiano (i.e., it uses the same backend as pianobar). You can set up last.fm scrobbling in the preferences.
Of course, if you prefer a command-line player this doesn't help you very much. But if what you're really looking for is a non-flash, desktop-based Pandora player, this may be perfect for you.
lastfmsubmitd
is cool, because it will queue up scrobbles if the network is down.Copying and pasting the following into bash should get you up and running.
The
eventcmd.sh
part of the script is from Arnold FrenchEDIT: You may have to
chmod +x eventcmd.sh
.