maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Pianobar port - command line Pandora client (https://talk.maemo.org/showthread.php?t=38786)

intervigil 2009-12-30 07:35

[Maemo 5] Pianobar port - command line Pandora client
 
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.

codeMonkey 2009-12-30 08:44

Re: Pianobar port - command line Pandora client
 
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 2009-12-30 08:47

Re: Pianobar port - command line Pandora client
 
Thanks! I love pandora radio! :D :D

intervigil 2009-12-30 18:19

Re: Pianobar port - command line Pandora client
 
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


sadfist 2009-12-30 18:53

Re: Pianobar port - command line Pandora client
 
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?

intervigil 2009-12-30 19:42

Re: Pianobar port - command line Pandora client
 
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.

archebyte 2009-12-30 20:34

Re: Pianobar port - command line Pandora client
 
the megaupload link is down.

sadfist 2009-12-30 21:44

Re: Pianobar port - command line Pandora client
 
Quote:

Originally Posted by intervigil (Post 447023)
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

kyle 2009-12-30 22:26

Re: Pianobar port - command line Pandora client
 
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

sadfist 2009-12-30 22:52

Re: Pianobar port - command line Pandora client
 
Quote:

Originally Posted by kyle (Post 447269)
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...:(:confused:

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.


All times are GMT. The time now is 16:50.

vBulletin® Version 3.8.8