May I request a Pet? - Pianobar

Requests go here. If you fill a request, give it a new thread in the appropriate category and then link to it in the request thread.
Post Reply
Message
Author
sfeeley
Posts: 812
Joined: Sun 14 Feb 2010, 16:34

May I request a Pet? - Pianobar

#1 Post by sfeeley »

I am humbly asking the puppy gods to make a pet for Pianobar.

Pianobar is a wonderful little console-based player for Pandora streaming music.

I used to use a pet made by a user (Rokytnji) from here:
http://www.murga-linux.com/puppy/viewto ... 1&start=30

However, in November, Pandora changed and the old Pianobar pet stopped working. A working pianobar would need to be a pet based on the latest current release. The tarballs for that are here:
http://6xq.net/projects/pianobar/

Rocky tried to make a pet based off of this but failed (he admits to being fairly new at pet making too).

Many many thanks in advance. I took a stab at this, but admit that pet making is beyond my noobish skills right now.
(I use Lucid Puppy 5.2 and would prefer not to change if possible)
[/url]

rokytnji
Posts: 2262
Joined: Tue 20 Jan 2009, 15:54

Pianobar

#2 Post by rokytnji »

Howdy sfeeley,

I gave up on building pets for pianobar since pandora radio is being such a PITA every time it changes how it interacts with pianobar in Puppy.

I have it working in AntiX with no problems using the

http://packages.debian.org/sid/pianobar

When I make the pets for pianobar that work for me in AntiX. In Puppy 520 I get

Code: Select all

sh-4.1# pianobar
ERROR: Failed to load plugin /usr/lib/ao/plugins-4/libsndio.so => dlopen() failed
ERROR: Failed to load plugin /usr/lib/ao/plugins-4/libroar.so => dlopen() failed
Welcome to pianobar (2011.11.11)! Press ? for a list of commands.
/!\ Can't load root certificates. Please check the tls_ca_path setting in your config file.
and I'll be damned if I know in Puppy where the
tls_ca_path setting in your config file.
Is at or what to change in it. So. I said screw it and decided to just use deadbeef instead to play streaming radio instead like so. I don't use Puppy 520 anymore on a regular basis also because I got a new Acer Dual Core Laptop that I run Racy 5.2.2 on now and I use Goggles Music Manager to play streaming radio on it. Screenshot to show what I mean in this post from my older IBM T23 that still has Puppy 520 on it. It is just easier and less time consuming to use deadbeef,gogglemm,vlc,gxine,or gnome-mplayer to play streaming radio files than to keep compiling pianobar every few months (so it is starting to seem like every few weeks lately).

Sorry I can't help but I am too busy with the Holiday to spend a lot of time figuring out errors and it is easier to skin a cat the way I went about it.
Attachments
deadbeef.jpg
(56.13 KiB) Downloaded 504 times

rokytnji
Posts: 2262
Joined: Tue 20 Jan 2009, 15:54

Pianobar

#3 Post by rokytnji »

Just to show what I mean by pianobar working in AntiX. This is the older version than the one that I posted a link to or the one you posted a link to. It is not broke in AntiX like it broke in Puppy.
Attachments
pianobar.jpg
pianobar (2011.11.09-dev)
(112.19 KiB) Downloaded 442 times

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#4 Post by ttuuxxx »

Hi I tried to compile the latest on luci but it failed big time, so then I tried to make a package from the latest ubuntu release, it needed libao.so.4 so I compiled it and added it to the package, it then needed some root certificates, so I downloaded them and added it to the package, now it starts, it ask for a email and password, well that's as far as I will go, I don't give info out like that to any application, anyways here's the package and the libao dev files if you want to compile with it :)
Also I added a menu iterm under multimedia :) its called terminal music player

ps
first open a terminal and type mkdir -p ~/.config/pianobar/
to make a pianobar folder in root/.config <-- hiddem folder

then download a certificate to root, so open a terminal and type wget -O ~/pianobar-cacert.pem http://curl.haxx.se/ca/cacert.pem
(you'll find the pianobar-cacert.pem in your root folder)
then just move the certificate to /root/.config/pianobar/ <--- hidden folder
next you need to make a config file open a terminal and type echo "tls_ca_path = $HOME/.config/pianobar/pianobar-cacert.pem" >> ~/.config/pianobar/config
ttuuxxx

Also if it gives any errors I would say its luci and maybe use another version of puppy. My hands are tied with this app and luci
Attachments
libao_DEV-1.1.0-i386.pet
(4.7 KiB) Downloaded 363 times
Last edited by ttuuxxx on Tue 13 Dec 2011, 11:34, edited 4 times in total.
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

Re: Pianobar

#5 Post by ttuuxxx »

rokytnji wrote:Howdy sfeeley,
and I'll be damned if I know in Puppy where the
tls_ca_path setting in your config file.
Its in my package under root/.config/pianobar
I also explained how to get it and on my post
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

sfeeley
Posts: 812
Joined: Sun 14 Feb 2010, 16:34

#6 Post by sfeeley »

Rokytnji and Ttuuxxxx thank you both for your efforts.

Rokytnji-- as I mentioned in the initial post, I greatly appreciate your previous efforts. And I'll take a look at deadbeaf, or perhaps spotify sometime.

Ttuuxxx -- thank you for your attempt at this. I tried installing the pets, and tried running. No luck. And then I tried the commands you included no luck there either. I got this far

Code: Select all

# pianobar
ERROR: Failed to load plugin /usr/lib/ao/plugins-4/libsndio.so => dlopen() failed
ERROR: Failed to load plugin /usr/lib/ao/plugins-4/libroar.so => dlopen() failed
Welcome to pianobar (2011.11.11)! Press ? for a list of commands.
[?] Email: bad.feel@hotmail.com
[?] Password: 
(i) Login... pianobar: symbol lookup error: /usr/lib/libpiano.so.0: undefined symbol: gnutls_certificate_set_verify_function
#
If this spurs any ideas for an easy solution-- I'd appreciate it. If not, thanks for the previous help.

Also:
now it starts, it ask for a email and password, well that's as far as I will go, I don't give info out like that to any application,
Rest easy-- its not asking for your email password. Pandora (which this is a terminal version of), uses your email as your user name. The password is one you create for your Pandora/Pianobar account.

rokytnji
Posts: 2262
Joined: Tue 20 Jan 2009, 15:54

ttuuxxx is the man

#7 Post by rokytnji »

it needed libao.so.4
Hi ttuuxxx . I have libao.so.4 installed separate as a .pet for starters (see screenshot). Still going to try out your .pets and commands though for good exercise.

:D I don't know where you screwed the pooch sfeeley but I only needed the pianobar pet that Tux uploaded since libao.so.4 is already installed (remember, I made a .pet for that and and have faad installed also as a pet).

Your pianobar .pet worked for me ttuuxxx ...................................................................................... Owe you a brew. :)


Code: Select all

sh-4.1# mkdir -p ~/.config/pianobar/
sh-4.1# wget -O ~/pianobar-cacert.pem http://curl.haxx.se/ca/cacert.pem 
--2011-12-13 19:05:46--  http://curl.haxx.se/ca/cacert.pem
Resolving curl.haxx.se... 80.67.6.50, 2a00:1a28:1200:9::2
Connecting to curl.haxx.se|80.67.6.50|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 216563 (211K) [text/plain]
Saving to: `/root/pianobar-cacert.pem'

100%[======================================>] 216,563      174K/s   in 1.2s    

2011-12-13 19:05:49 (174 KB/s) - `/root/pianobar-cacert.pem' saved [216563/216563]

sh-4.1# echo "tls_ca_path = $HOME/.config/pianobar/pianobar-cacert.pem" >> ~/.config/pianobar/config
sh-4.1# pianobar
ERROR: Failed to load plugin /usr/lib/ao/plugins-4/libsndio.so => dlopen() failed
ERROR: Failed to load plugin /usr/lib/ao/plugins-4/libroar.so => dlopen() failed
Welcome to pianobar (2011.11.11)! Press ? for a list of commands.
[?] Email: roky@blahblah.com
[?] Password: 
(i) Login... Ok.
(i) Get stations... Ok.
	 0)     AC/DC Radio
	 1)     Audioslave Radio
	 2)     Avenged Sevenfold Radio
	 3)     Buckcherry Radio
	 4)     Charlie Sexton Radio
	 5)     Chris Rea Radio
	 6)     Depeche Mode Radio
	 7) q   Evanescence Radio
	 8)     Faith No More Radio
	 9)     Funkadelic Radio
	10)     Gary Numan/Tubeway Army Radio
	11)     Gorillaz Radio
	12)  Q  rokys QuickMix
	13)     Hoobastank Radio
	14)     Les Claypool Radio
	15)     Little Feat Radio
	16)     Marilyn Manson Radio
	17)     Nickelback Radio
	18) q   Nine Inch Nails Radio
	19)     Puddle Of Mudd Radio
	20)     Savoy Brown Radio
	21)     Seether Radio
	22)     Stevie Ray Vaughan Radio
	23)     The Black Keys Radio
	24)     The Cult Radio
	25)     The Fabulous Thunderbirds Radio
	26)     Thin Lizzy Radio
	27)     Thousand Foot Krutch Radio
	28)     ZZ Top Radio
[?] Select station: 15
|>  Station "Little Feat Radio" (426161369739855250)
(i) Receiving new playlist... Ok.
|>  "Day Or Night (Live 1978)" by "Little Feat" on "Waiting For Columbus (Live 1978)"
socket(): Address family not supported by protocol
#   -05:08/05:31
|>  "Sweet Forgiveness" by "Bonnie Raitt" on "Sweet Forgiveness"
socket(): Address family not supported by protocol
|>  "If You Wanna Get To Heaven" by "The Ozark Mountain Daredevils" on "The Ozark Mountain Daredevils"
socket(): Address family not supported by protocol
#   -02:32/03:04
|>  "Skateaway" by "Dire Straits" on "Making Movies"
socket(): Address family not supported by protocols family not supported by protocol
#   -05:23/06:19

socket(): Address family not supported by protocol
Never seen that error in pianobar before but pandora radio plays just fine, error and all. Freaking pandora :P .
Attachments
liba0.png
libao.so.4 and faad shown installed in puppy 520 ppm
(123.89 KiB) Downloaded 443 times

sfeeley
Posts: 812
Joined: Sun 14 Feb 2010, 16:34

#8 Post by sfeeley »

Rockytnji-- glad to hear that it seems to be working. I'm not at my puppy computer right now (things are locked down at work) but I'll try to check in the next day or so.
I don't know where you screwed the pooch sfeeley but I only needed the pianobar pet that Tux uploaded since libao.so.4 is already installed (remember, I made a .pet for that and and have faad installed also as a pet)
I'll have to double check. When I tried ttuuxxx's pet, I first uninstalled a couple of the old pets associated with pianobar thinking that they might conflict. Later I'll try putting back in Rockytnji's pets first, and then Ttuuxxx's pets second. My guess is that it should work then. [fingers crossed]

for anyone reading this post-- the libao.so.4 pet that Rockytnji refers to is here:
http://www.murga-linux.com/puppy/viewto ... 1&start=30

sfeeley
Posts: 812
Joined: Sun 14 Feb 2010, 16:34

#9 Post by sfeeley »

I don't know where you screwed the pooch sfeeley but I only needed the pianobar pet that Tux uploaded since libao.so.4 is already installed (remember, I made a .pet for that and and have faad installed also as a pet).
Not my day. I went back and made sure to have the libao.so.4 installed; along with the older faad. Then I followed ttuuxxx's instructions and installed his pets. Didn't work for me.

Code: Select all

# mkdir -p ~/.config/pianobar/
# wget -O ~/pianobar-cacert.pem http://curl.haxx.se/ca/cacert.pem 
--2011-12-16 11:36:22--  http://curl.haxx.se/ca/cacert.pem
Resolving curl.haxx.se... 80.67.6.50, 2a00:1a28:1200:9::2
Connecting to curl.haxx.se|80.67.6.50|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 216563 (211K) [text/plain]
Saving to: `/root/pianobar-cacert.pem'

100%[======================================>] 216,563      237K/s 

2011-12-16 11:36:23 (237 KB/s) - `/root/pianobar-cacert.pem' saved3]

# echo "tls_ca_path = $HOME/.config/pianobar/pianobar-cacert.pem" ianobar/config
# pianobar
ERROR: Failed to load plugin /usr/lib/ao/plugins-4/libroar.so => d
ERROR: Failed to load plugin /usr/lib/ao/plugins-4/libsndio.so => d
Welcome to pianobar (2011.11.11)! Press ? for a list of commands.
[?] Email: bad.feel@hotmail.com
[?] Password: 
(i) Login... pianobar: symbol lookup error: /usr/lib/libpiano.so.0mbol: gnutls_certificate_set_verify_function
attached is a screenshot showing the pets I have installed. I tried this a couple of times, and just to be sure, this time I did it on a fresh pfix=ram install to be sure that I didn't have anything else in there to confuse things.

Maybe I'm missing something?
Maybe some things are just not to be . . . .
Any suggestions appreciated.

(puppy Lucid 5.2)

rokytnji
Posts: 2262
Joined: Tue 20 Jan 2009, 15:54

#10 Post by rokytnji »

and installed his pets
If I read that right, "pets" , if you installed ttuuxxx's libao4 alongside with my libao4 there may be a conflict of some sort.

Just guessing though. I am busy doing new kernel testing for the new AntiX iso due out sometime next month. I have some trouble shooting problems myself that need to be sorted.

http://antix.freeforums.org/viewtopic.php?f=6&t=3489

sfeeley
Posts: 812
Joined: Sun 14 Feb 2010, 16:34

#11 Post by sfeeley »

If I read that right, "pets" , if you installed ttuuxxx's libao4 alongside with my libao4 there may be a conflict of some sort.
I tried with both, and with each independently-- all the same problem.

I also found some ubuntu debs, and tried those, but with the exact same results.

For what its worth, I did find a thread that discusses the error, and apparently there is a solution. But I'm such a noob that its all greek to me.

https://github.com/PromyLOPh/pianobar/issues/182

good luck with antix troubleshooting. :)

sfeeley
Posts: 812
Joined: Sun 14 Feb 2010, 16:34

#12 Post by sfeeley »

Success! I was looking back over rokytnji's posts and noticed something:
Got a gnutls 2.10 error. So I installed from coolpups site http://www.smokey01.com/coolpup/gnutls- ... 110223.pet to get rid of the gnutls error.
I had ignored this, because immediately afterwards he said that pianobar still did not work.

But it turns out gnutls is needed to run Tuuxx's pianobar 11.11.11 pet successfully. So here are the steps to a working pianobar.

1) install faad2-2.7-v3-wolfe.pet
http://www.murga-linux.com/puppy/viewto ... 947#496947

2) install libao4_1.1.0-1_i386.pet
http://www.murga-linux.com/puppy/viewto ... 1&start=15

3) install gnutls
http://www.murga-linux.com/puppy/viewto ... 1&start=30

4) tuuxxx's pianobar pet (note I didn't have to run the console commands he offers)
http://www.murga-linux.com/puppy/viewto ... d5caefb25d

There are a few errors at startup, but works now. I mostly blame myself for not figuring that out earlier. Thanks Rockji and tuuxxx!

sfeeley
Posts: 812
Joined: Sun 14 Feb 2010, 16:34

#13 Post by sfeeley »

FYI: Pandora "updated" itself again, thereby breaking this install of pianobar. (really . . . again?)

Sometime, I might try to make a new pet, but it would be my first and I'm not optimistic. If anybody else is feeling ambitious and wants to do so, they are happily invited.

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

bristol

#14 Post by don570 »

Have you tried bristol??
It turns your computer keyboard into a synthiser.
http://murga-linux.com/puppy/viewtopic. ... 9&start=15

http://www.mediafire.com/?6pr21567d6x247f

_______________________________________

sfeeley
Posts: 812
Joined: Sun 14 Feb 2010, 16:34

#15 Post by sfeeley »

Have you tried bristol??
It turns your computer keyboard into a synthiser.
Sounds fun, but a bit of a misdirect. Pianobar is a console-based frontend for the popular music streaming site Pandora. Its main benefit for puppy users is that it doesn't require flash.

Unfortunately, from time to time, pandora "improves" itself, which breaks pianobar until a new pet is devised.

sfeeley
Posts: 812
Joined: Sun 14 Feb 2010, 16:34

#16 Post by sfeeley »

pianobar update 2/19/2012: working again-- this time using a mix of previous pets plus sid debs.
It gives the usual error at start, but works. tested on lucid 5.20 and lucid 5.28.

1) install faad2-2.7-v3-wolfe.pet
http://www.murga-linux.com/puppy/viewto ... 947#496947

2) install libao4_1.1.0-1_i386.pet
http://www.murga-linux.com/puppy/viewto ... 1&start=15

3) install gnutls
http://www.murga-linux.com/puppy/viewto ... 1&start=30

4) get the libpiano deb from debian
http://packages.debian.org/sid/libpiano0

5) get the pianobar deb from debian
http://packages.debian.org/sid/pianobar

I would make the debs into pets-- but I don't have the faintest clue how . . .
hopefully this version lasts a while. Unfortunately, I think in the other distros, its really easy for people to install from source, so sometimes the packages aren't kept up. But I tried and got the same errors as rockyntj and ttuuxxx--seems like puppy falls short on this one.

User avatar
trapster
Posts: 2117
Joined: Mon 28 Nov 2005, 23:14
Location: Maine, USA
Contact:

#17 Post by trapster »

Thank you for the update.
I posted a .pet in Additional Software/Multimedia
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog

sfeeley
Posts: 812
Joined: Sun 14 Feb 2010, 16:34

#18 Post by sfeeley »

@trapster: thanks

Post Reply