Active Topics

 



Notices


Reply
Thread Tools
Posts: 7 | Thanked: 6 times | Joined on Dec 2009
#1
I got pianobar (http://6xq.net/html/00/17.html) to work on my N900 over the weekend.
It is a command-line client for Pandora (www.pandora.com) and depends on two libraries, libmad0 and libao0, which should be in extras-devel.
I have checked the license, and as far as I can tell it's completely unrestricted.

fatalsaint is now maintaining a package, so please check his post here for packages and updates:
http://talk.maemo.org/showpost.php?p...3&postcount=11

There is another thread discussing the future development of a GUI for pianobar here: http://talk.maemo.org/showthread.php?t=39027 as well.

Last edited by intervigil; 2010-01-22 at 17:58. Reason: links to fatalsaint's posts
 

The Following 3 Users Say Thank You to intervigil For This Useful Post:
Posts: 755 | Thanked: 406 times | Joined on Feb 2008 @ UK
#2
Thanks for the port - now just to wait for pandora to become unrestricted in the UK or for pianobar to get it's proxy function working
 
bandora's Avatar
Posts: 1,338 | Thanked: 1,055 times | Joined on Oct 2009 @ California, USA / Jordan
#3
Thanks! I love pandora radio!
 
Posts: 7 | Thanked: 6 times | Joined on Dec 2009
#4
Actually there is proxy functionality in pianobar, the config file is located at ~/.config/pianobar/config and has options for it, although I've not had to use it since I'm in the US.
Here's a sample config file.

Code:
# This is an example configuration file for pianobar. You may remove the # from
# lines you need and copy/move this file to ~/.config/pianobar/config
# See manpage for a description of the config keys
#
# User
#user = your@user.name
#password = password

# last.fm scrobbling
#lastfm_user = username
#lastfm_password = password
#lastfm_scrobble_percent = 50

# Proxy (for those who are not living in the USA)
#control_proxy = http://127.0.0.1:9090/

# Keybindings
#act_help = ?
#act_songlove = +
#act_songban = -
#act_stationaddmusic = a
#act_stationcreate = c
#act_stationdelete = d
#act_songexplain = e
#act_stationaddbygenre = g
#act_songinfo = i
#act_addshared = j
#act_songmove = m
#act_songnext = n
#act_songpause = p
#act_quit = q
#act_stationrename = r
#act_stationchange = s
#act_songtired = t
#act_upcoming = u
#act_stationselectquickmix = x

# Misc
# mp3 or aacplus
#audio_format = mp3
#autostart_station = 123456
#event_command = /home/user/.config/pianobar/eventcmd
 

The Following 2 Users Say Thank You to intervigil For This Useful Post:
Posts: 296 | Thanked: 126 times | Joined on Nov 2009 @ New York City
#5
Thanks so much for this!

Unfortunately I seem to be too stupid to figure out how to install/run from the binary you provided :-/ hehe.

Any help?
 
Posts: 7 | Thanked: 6 times | Joined on Dec 2009
#6
Install the appropriate libraries via apt-get, libao0 and libmad0, (they may be in devel, so you install at your own risk) then run the executable from the X Terminal Emulator from wherever you downloaded it to.
I'm looking into packaging it, but pianobar uses CMake, so I'm having trouble with dpkg-buildpackage.
 
Posts: 268 | Thanked: 304 times | Joined on Oct 2009 @ Orlando, USA
#7
the megaupload link is down.
 
Posts: 296 | Thanked: 126 times | Joined on Nov 2009 @ New York City
#8
Originally Posted by intervigil View Post
Install the appropriate libraries via apt-get, libao0 and libmad0, (they may be in devel, so you install at your own risk) then run the executable from the X Terminal Emulator from wherever you downloaded it to.
I'm looking into packaging it, but pianobar uses CMake, so I'm having trouble with dpkg-buildpackage.
I've got the libraries, it's installing the executable that I can't figure out. What format is it/what command do I use?

Thanks
 
Posts: 66 | Thanked: 44 times | Joined on Nov 2009
#9
This is great! Thank you very much.

By the way, here is a link to the manpage:

http://github.com/PromyLOPh/pianobar...src/pianobar.1

Sadfist, if you saved the file to the root "N900" directory then just put this into the terminal:

root
cd /home/user/MyDocs
chmod 755 pianobar
cp pianobar /usr/bin

correction:
mv pianobar /usr/bin
chmod 755 /usr/bin/pianobar

Last edited by kyle; 2009-12-31 at 09:05.
 

The Following User Says Thank You to kyle For This Useful Post:
Posts: 296 | Thanked: 126 times | Joined on Nov 2009 @ New York City
#10
Originally Posted by kyle View Post
Sadfist, if you saved the file to the root "N900" directory then just put this into the terminal:

root
cd /home/user/MyDocs
chmod 755 pianobar
cp pianobar /usr/bin
After doing this I get permission denied when I try and run it...

EDIT: nevermind, I just noticed you put cp not mv. chmod didn't carry over to the copy. Now I just have to figure out my username/password, lol.

Last edited by sadfist; 2009-12-30 at 23:26.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 07:09.