Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 31 Oct 2014, 02:39
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » REQUESTS
May I request a Pet? - Pianobar
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 2 Posts_count   Goto page: 1, 2 Next
Author Message
sfeeley

Joined: 14 Feb 2010
Posts: 809

PostPosted: Mon 12 Dec 2011, 10:45    Post_subject:  May I request a Pet? - Pianobar
Sub_title: Console-based player for Pandora streaming music
 

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/viewtopic.php?t=62581&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]
Back to top
View user's profile Send_private_message 
rokytnji


Joined: 20 Jan 2009
Posts: 1404
Location: Pecos/ Texas

PostPosted: Tue 13 Dec 2011, 02:00    Post_subject: Pianobar
Sub_title: Gave up on it in Puppy
 

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:
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
Quote:
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.
deadbeef.jpg
 Description   
 Filesize   56.13 KB
 Viewed   362 Time(s)

deadbeef.jpg

Back to top
View user's profile Send_private_message Visit_website 
rokytnji


Joined: 20 Jan 2009
Posts: 1404
Location: Pecos/ Texas

PostPosted: Tue 13 Dec 2011, 02:20    Post_subject: Pianobar
Sub_title: In AntiX
 

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.
pianobar.jpg
Description  pianobar (2011.11.09-dev)
jpg

 Download 
Filename  pianobar.jpg 
Filesize  112.19 KB 
Downloaded  215 Time(s) 
Back to top
View user's profile Send_private_message Visit_website 
ttuuxxx


Joined: 05 May 2007
Posts: 10839
Location: Ontario Canada,Sydney Australia

PostPosted: Tue 13 Dec 2011, 06:57    Post_subject:  

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 Smile
Also I added a menu iterm under multimedia Smile 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
pianobar-2011.11.11.pet
Description 
pet

 Download 
Filename  pianobar-2011.11.11.pet 
Filesize  204.73 KB 
Downloaded  190 Time(s) 
libao_DEV-1.1.0-i386.pet
Description 
pet

 Download 
Filename  libao_DEV-1.1.0-i386.pet 
Filesize  4.7 KB 
Downloaded  213 Time(s) 

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile

Edited_times_total
Back to top
View user's profile Send_private_message Visit_website 
ttuuxxx


Joined: 05 May 2007
Posts: 10839
Location: Ontario Canada,Sydney Australia

PostPosted: Tue 13 Dec 2011, 07:06    Post_subject: Re: Pianobar
Sub_title: Gave up on it in Puppy
 

rokytnji wrote:
Howdy sfeeley,
and I'll be damned if I know in Puppy where the
Quote:
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 Smile
Back to top
View user's profile Send_private_message Visit_website 
sfeeley

Joined: 14 Feb 2010
Posts: 809

PostPosted: Tue 13 Dec 2011, 10:28    Post_subject:  

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:
# 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:
Quote:
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.
Back to top
View user's profile Send_private_message 
rokytnji


Joined: 20 Jan 2009
Posts: 1404
Location: Pecos/ Texas

PostPosted: Tue 13 Dec 2011, 15:22    Post_subject:  ttuuxxx is the man
Sub_title: With the plan. Worked for me like a charm.
 

Quote:
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.

Very Happy 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. Smile



Code:
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



Quote:
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 Razz .
liba0.png
Description  libao.so.4 and faad shown installed in puppy 520 ppm
png

 Download 
Filename  liba0.png 
Filesize  123.89 KB 
Downloaded  200 Time(s) 
Back to top
View user's profile Send_private_message Visit_website 
sfeeley

Joined: 14 Feb 2010
Posts: 809

PostPosted: Tue 13 Dec 2011, 17:04    Post_subject:  

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.

Quote:
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/viewtopic.php?t=62581&start=30
Back to top
View user's profile Send_private_message 
sfeeley

Joined: 14 Feb 2010
Posts: 809

PostPosted: Fri 16 Dec 2011, 12:42    Post_subject:  

Quote:
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:
# 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)
pianobar trouble.png
Description 
png

 Download 
Filename  pianobar trouble.png 
Filesize  208.33 KB 
Downloaded  200 Time(s) 
Back to top
View user's profile Send_private_message 
rokytnji


Joined: 20 Jan 2009
Posts: 1404
Location: Pecos/ Texas

PostPosted: Fri 16 Dec 2011, 13:10    Post_subject:  

Quote:
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
Back to top
View user's profile Send_private_message Visit_website 
sfeeley

Joined: 14 Feb 2010
Posts: 809

PostPosted: Fri 16 Dec 2011, 14:35    Post_subject:  

Quote:
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. Smile
Back to top
View user's profile Send_private_message 
sfeeley

Joined: 14 Feb 2010
Posts: 809

PostPosted: Thu 05 Jan 2012, 11:03    Post_subject:  

Success! I was looking back over rokytnji's posts and noticed something:

Quote:
Got a gnutls 2.10 error. So I installed from coolpups site http://www.smokey01.com/coolpup/gnutls-2.10.4-w-20110223.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/viewtopic.php?p=496947#496947

2) install libao4_1.1.0-1_i386.pet
http://www.murga-linux.com/puppy/viewtopic.php?t=62581&start=15

3) install gnutls
http://www.murga-linux.com/puppy/viewtopic.php?t=62581&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/viewtopic.php?t=74222&sid=04ae473aa14bd95efbb616d5caefb25d

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

 Download 
Filename  pianobar screenshot.png 
Filesize  952.46 KB 
Downloaded  196 Time(s) 
Back to top
View user's profile Send_private_message 
sfeeley

Joined: 14 Feb 2010
Posts: 809

PostPosted: Mon 06 Feb 2012, 13:47    Post_subject:  

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.
Back to top
View user's profile Send_private_message 
don570


Joined: 10 Mar 2010
Posts: 3359
Location: Ontario

PostPosted: Mon 06 Feb 2012, 14:44    Post_subject: bristol  

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

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

_______________________________________
Back to top
View user's profile Send_private_message 
sfeeley

Joined: 14 Feb 2010
Posts: 809

PostPosted: Tue 07 Feb 2012, 12:29    Post_subject:  

Quote:
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.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 2 Posts_count   Goto page: 1, 2 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » REQUESTS
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1254s ][ Queries: 12 (0.0044s) ][ GZIP on ]