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)

fatalsaint 2010-01-24 06:01

Re: Pianobar port - command line Pandora client
 
Quote:

Originally Posted by Bratag (Post 491496)
hey Fatal - might want to go over some stuff with the GUI with you. I got one fully completed in Qt, runs great when I run it in Linux - when I put it on the N900 it looks very messed up. Any advice would be much appreciated.

I'm doing everything in the SDK within a VM. Mine looks fine in the Xephyr mockup N900 that it runs.

I would be more than willing to take a look at what you got and see if I notice anything. One thing I made sure when designing my QT interface was to group all the different buttons and interfaces in separate "align vertically/horizontally" as they were supposed to look, and then did an align to grid against the background. That way when the window is resized, it either expands/retracts/keeps the items according to their properties and in their respective places.

Also, I used quite a few spacers too.

ETA: The *only* thing mine doesn't have right now is the username/password part. Everything else is working. Once I figure out how to popup a box for username/password I should be pretty good. (and capture the "username:" output from pianobar.. since it's not a newline.)

Bratag 2010-01-24 06:22

Re: Pianobar port - command line Pandora client
 
Quote:

Originally Posted by fatalsaint (Post 491498)
I'm doing everything in the SDK within a VM. Mine looks fine in the Xephyr mockup N900 that it runs.

I would be more than willing to take a look at what you got and see if I notice anything. One thing I made sure when designing my QT interface was to group all the different buttons and interfaces in separate "align vertically/horizontally" as they were supposed to look, and then did an align to grid against the background. That way when the window is resized, it either expands/retracts/keeps the items according to their properties and in their respective places.

Also, I used quite a few spacers too.

ETA: The *only* thing mine doesn't have right now is the username/password part. Everything else is working. Once I figure out how to popup a box for username/password I should be pretty good. (and capture the "username:" output from pianobar.. since it's not a newline.)

Lord - you made your version user friendly :). Mine assumes they have added their username and password to the config :)

fatalsaint 2010-01-24 06:30

Re: Pianobar port - command line Pandora client
 
Quote:

Originally Posted by Bratag (Post 491511)
Lord - you made your version user friendly :). Mine assumes they have added their username and password to the config :)

Yeah, mine works perfectly as is if you do that. It is an exact copy of the image in the other thread, just without the gradient for the station list. Double clicking a station, the program keeps track if it's playing a song already or not, and if it's not will simply send the station number (it assumes you're at a station select window if its not playing something) - if it is playing it will sent the "s" first, then the station number.

Works quite nicely :D. Now I just need the username/pass, and I also want the Last.fm user/pass as well because I think that is an *awesome* feature of pianobar that no other pandora radio client has.

Bratag 2010-01-24 06:43

Re: Pianobar port - command line Pandora client
 
Quote:

Originally Posted by fatalsaint (Post 491518)
Yeah, mine works perfectly as is if you do that. It is an exact copy of the image in the other thread, just without the gradient for the station list. Double clicking a station, the program keeps track if it's playing a song already or not, and if it's not will simply send the station number (it assumes you're at a station select window if its not playing something) - if it is playing it will sent the "s" first, then the station number.

Works quite nicely :D. Now I just need the username/pass, and I also want the Last.fm user/pass as well because I think that is an *awesome* feature of pianobar that no other pandora radio client has.

Yeah mine looks like the mockup except I used a dropdown menu instead of a list widget. The station change was a little tricky I found. Got it working but took some tweaking. I may PM you a URL to some code in a while. It that would be ok.

fatalsaint 2010-01-24 06:46

Re: Pianobar port - command line Pandora client
 
Quote:

Originally Posted by Bratag (Post 491523)
Yeah mine looks like the mockup except I used a dropdown menu instead of a list widget. The station change was a little tricky I found. Got it working but took some tweaking. I may PM you a URL to some code in a while. It that would be ok.

Yup.. I plan to be up for a while.

caimanjosh 2010-01-25 16:17

Re: Pianobar port - command line Pandora client
 
Quote:

Originally Posted by fatalsaint (Post 490108)
Unfortunately I don't see libao0 anywhere. libmad0 is there but no libao0. I checked the SDK, extras, and extras-devel repositories. There's a few older chinook files in non-standard repositories on gronmeyer buttttt I wouldn't require anyone to enable stuff like that just for a package :(. Sorry man. I'll look more after I'm done with the pyQt4 interface.

Oh, well, thanks for checking. When you do get a chance to look at that, let us know if you manage to get it working, as this would be a big plus for N800 users also. Thanks!

Btw, as far as scrobbling to last.fm from pandora, there actually is 1 application that can do it. OpenPandora, a Windows-based pandora client, can do it. Of course, that doesn't run on anybody's Nxx0.

fatalsaint 2010-01-25 16:20

Re: Pianobar port - command line Pandora client
 
Quote:

Originally Posted by caimanjosh (Post 493824)
Btw, as far as scrobbling to last.fm from pandora, there actually is 1 application that can do it. OpenPandora, a Windows-based pandora client, can do it. Of course, that doesn't run on anybody's Nxx0.

Or any Android or iPhone :D. Does it run on any winmo??

I believe the N900 is now the only mobile device with a pandora client that offers this. And, all of the official pandora clients stop you from skipping after 6 songs per hour (which you can get around by stopping and restarting that station) - but pianobar does not seem to suffer from that.

fatalsaint 2010-01-30 06:12

Re: Pianobar port - command line Pandora client
 
Quote:

Originally Posted by caimanjosh (Post 493824)
Oh, well, thanks for checking. When you do get a chance to look at that, let us know if you manage to get it working, as this would be a big plus for N800 users also. Thanks!

Btw, as far as scrobbling to last.fm from pandora, there actually is 1 application that can do it. OpenPandora, a Windows-based pandora client, can do it. Of course, that doesn't run on anybody's Nxx0.

Don't say I never gave ya nothing ;). (N900 users do NOT follow this)

Step 1
Code:

apt-get install libmad0
Step 2
Download and install libao2 (need to use dpkg -i from command line as root)

Step 2a
Use your favorite editor to edit /etc/libao.conf and change the "default_driver=alsa" to "default_driver=esd"

Step 3
Download and Install pianobar

Step 4 stream pandora.
Code:

pianobar
Let me know if you run into problems. I won't be uploading the diablo ones to extras though.

fatalsaint 2010-02-01 03:27

Re: Pianobar port - command line Pandora client
 
in addition to the above.. if you download the pypianobar deb file.. it will work as well to give you a GUI for your N8x0. Just navigate to the latest versions direct DEB file.

The sound on my N810.. I'm not sure if it's pianobar/libao2 from above or what.. but it's sometimes pretty .. bumpy. Not sure if it's just mine though.

caimanjosh 2010-02-01 03:38

Re: Pianobar port - command line Pandora client
 
Thanks, fatalsaint. I gave this a try just now (as soon as I saw your post; this is pretty exciting). I was able to install libmad0 after rooting my tablet, but as soon as I tried to install libao2 (I downloaded from the link you posted, then application manager loaded and tried to install), it gave me an error:

"Unable to install libao2. Incompatible application package."

I'm running the latest release of OS2008 on my N800. Do you have any ideas on what I might try to get that package to install?

Thanks again for your efforts on this!

fatalsaint 2010-02-01 03:53

Re: Pianobar port - command line Pandora client
 
ham wont let u install any package that isnt set for user/* groups and i dont believe libao is. youll need to install with dpkg -i from the command line. i believe pianobar should work from HAM though. i didnt do the libao2 package... i found it in a repo off gronmeyer.

sorry bout grammar/spelling.... posted lazily from my n810 :)

notnarb 2010-02-02 09:29

Re: Pianobar port - command line Pandora client
 
Quote:

Originally Posted by fatalsaint (Post 504547)
The sound on my N810.. I'm not sure if it's pianobar/libao2 from above or what.. but it's sometimes pretty .. bumpy. Not sure if it's just mine though.

Yeah I'm getting the same thing on my n810. This 'bumpiness' seems to be the kind of pop you hear with certain (desktop) emulator sound plugins - I can't think of a better way to ID it. CPU usage is satisfyingly low and despite the poppiness, the sound appears to be coming through just fine. I'm guessing libao is the culprit for the popping? I wonder if the same issue appears in os2007

Thanks again, and might I recommend linking to the n810 instruction post from the pypiano thread? Took me a bit to go from omgomgomgpandora!-With-a-gui-even!-omg to hey-this-isn't-working to here

EDIT: pianobar seems to make any text input into the terminal after pianobar was exited (Ctrl+c) invisible. Weird.

also - the link you provided for pypianobar has a single quote appended to the end

EDIT2: GUI doesnt seem to work. Can log in (characters for username/password don't show up), see my channels, but it doesnt seem to play music. Play button will switch between play and pause, not doing anything. There is a static song title, author and album. I hit the plus button and it seems to stick there.

This could all be because I installed the pyqt packages from extras-devel, but I don't think that is the case

fatalsaint 2010-02-02 14:06

Re: Pianobar port - command line Pandora client
 
Quote:

Originally Posted by notnarb (Post 506449)
Yeah I'm getting the same thing on my n810. This 'bumpiness' seems to be the kind of pop you hear with certain (desktop) emulator sound plugins - I can't think of a better way to ID it. CPU usage is satisfyingly low and despite the poppiness, the sound appears to be coming through just fine. I'm guessing libao is the culprit for the popping? I wonder if the same issue appears in os2007

Yup.. my first thought was libao as well. What I might do is try and build my own instead of using the one I found from the repo.

Quote:

EDIT: pianobar seems to make any text input into the terminal after pianobar was exited (Ctrl+c) invisible. Weird.
Yeah, unless you use the "q" to exit weird things happen... see below too.

Quote:

also - the link you provided for pypianobar has a single quote appended to the end
Thanks, fixed.

Quote:

EDIT2: GUI doesnt seem to work. Can log in (characters for username/password don't show up), see my channels, but it doesnt seem to play music. Play button will switch between play and pause, not doing anything. There is a static song title, author and album. I hit the plus button and it seems to stick there.

This could all be because I installed the pyqt packages from extras-devel, but I don't think that is the case
This happens randomly on mine too and it isn't pypianobar... pianobar just stops playing. It shows a song title and artist and just sits there. Only way I've found to fix it is to reboot and run pyPianobar again. It seems something wasn't built properly for the N8x0 with the popping noises and this.. I don't think it's pianobar because I literally built it *completely* on the device itself. I didn't use an SDK or anything.

caimanjosh 2010-02-02 20:46

Re: Pianobar port - command line Pandora client
 
Okay, I managed to get Pianobar working on my N800 also. Low cpu-usage Pandora, that's awesome. However, I can confirm the problems mentioned before - frequent 'popping' noises, text input gets hidden, and sometimes it stops playing music altogether. Is libao0 the cause of all these? I couldn't say.

I haven't tried the GUI yet - it looks like my tablet has some Python requirements that I don't have - but for now I'll stick with the command line. I don't know how everyone else has figured out what buttons do what [edit]I see how now, you just type '?'...duh[/edit], but I found documentation of a sort here: http://github.com/PromyLOPh/pianobar...src/pianobar.1

Anyways, thanks for getting us this far, and hope to see this grow even better in future!

notnarb 2010-02-02 20:48

Re: Pianobar port - command line Pandora client
 
If you start pianobar, select a channel, pause, bring up the search dialog for artist / song, (n is what I pushed I believe), and then exit with ctrl+c, the next time you try to play something in pianobar it will actually give an error -
Code:

ALSA snd_pcs_open error: Device or resource busy
/!\ Cannot open audio device

hope that helps

fatalsaint 2010-02-02 20:48

Re: Pianobar port - command line Pandora client
 
Quote:

Originally Posted by caimanjosh (Post 507463)
I haven't tried the GUI yet - it looks like my tablet has some Python requirements that I don't have - but for now I'll stick with the command line.

Install my Deb.. which will give you an error.. then run:

Code:

apt-get -f install
It should pull down all your missing dependencies.

Also that file you found is a MAN page.. I don't recall if I had it in the N8x0 deb or not... try "man pianobar" from the command line. The N900 strips these out whether i put them in the deb or not.

fatalsaint 2010-02-02 20:50

Re: Pianobar port - command line Pandora client
 
Quote:

Originally Posted by notnarb (Post 507469)
If you start pianobar, select a channel, pause, bring up the search dialog for artist / song, (n is what I pushed I believe), and then exit with ctrl+c, the next time you try to play something in pianobar it will actually give an error

Yeah.. it is definitely *strongly* recommended to use "q" to quit out. Once I release this new pyPianobar it will definitely help with this.. it always use "q" to quit pianobar so theres never an interruption.

caimanjosh 2010-02-02 21:17

Re: Pianobar port - command line Pandora client
 
Quote:

Originally Posted by fatalsaint (Post 507471)
Install my Deb.. which will give you an error.. then run:

Code:

apt-get -f install
It should pull down all your missing dependencies.

Ah, thanks. Though I think I'll wait until you release the version that fixes the problem with not quitting gracefully, so that I won't have to reboot each time (at least from what I read, that's the impression I get on what I'd have to do).

fatalsaint 2010-02-02 21:24

Re: Pianobar port - command line Pandora client
 
Quote:

Originally Posted by caimanjosh (Post 507523)
Ah, thanks. Though I think I'll wait until you release the version that fixes the problem with not quitting gracefully, so that I won't have to reboot each time (at least from what I read, that's the impression I get on what I'd have to do).

It's not every time. Seems random.. sometimes it works a bunch and sometimes only once. For the current version just use the "ZZZ" button.. it gracefully quits. The new one I finally figured out how to trap the normal "X" to quit an app and force it to also gracefully quit and not just cut off pianobar.

If you're waiting on the new version... some Help & Feedback in the other thread about design, layout, etc would be greatly appreciated. Most of the functionality is there I just want, before I submit 1.0 up through to extras, to have an interface that a good number of people have said is good enough.

fatalsaint 2010-02-03 16:15

Re: Pianobar port - command line Pandora client
 
I think I found the problem to the clicking!! Around these forums (because these forums ROCK!) there were problems of people with N8x0 getting clicking with MPD and the solution was to edit /etc/libao.conf and change the default driver to "esd" instead of "alsa".

So I did it and voila. I don't hear clicking... Maybe you can guys can give it a shot and see if it works.

caimanjosh 2010-02-03 17:36

Re: Pianobar port - command line Pandora client
 
Yes! I can confirm the popping noises are gone for me now as well, after doing that. So now I would consider Pandora very usable on my N800. Excellent! (Right now it keeps pausing, but I think/hope that's due to the wireless network I'm on, which has often been rather slow in the past.)
Thanks for the fix for that.

About the GUI, I was looking at the other thread about PyPianobar, and I saw the part about the library for it being as large as 44 MB. That might be okay for N900 users, but I checked the free internal memory on my device just now and I only have about 45 MB left total (!). That being the case, I don't think I could sacrifice that much memory for the GUI. (Correct me if I'm reading something wrong here.) I also saw there's another GUI in progress, qtPianobar, but it looks like that one needs some other libraries that wouldn't work with OS2008. So...I guess for now I'll just stick with the command line.

One question about the command-line version....is there a way to get it to store login information? I found the config file in the pianobar directory and edited it, but it didn't seem to make any difference, so I'm guessing the application doesn't really use that file (?).

Bratag 2010-02-03 17:41

Re: Pianobar port - command line Pandora client
 
Quote:

Originally Posted by caimanjosh (Post 508997)
Yes! I can confirm the popping noises are gone for me now as well, after doing that. So now I would consider Pandora very usable on my N800. Excellent! (Right now it keeps pausing, but I think/hope that's due to the wireless network I'm on, which has often been rather slow in the past.)
Thanks for the fix for that.

About the GUI, I was looking at the other thread about PyPianobar, and I saw the part about the library for it being as large as 44 MB. That might be okay for N900 users, but I checked the free internal memory on my device just now and I only have about 45 MB left total (!). That being the case, I don't think I could sacrifice that much memory for the GUI. (Correct me if I'm reading something wrong here.) I also saw there's another GUI in progress, qtPianobar, but it looks like that one needs some other libraries that wouldn't work with OS2008. So...I guess for now I'll just stick with the command line.

One question about the command-line version....is there a way to get it to store login information? I found the config file in the pianobar directory and edited it, but it didn't seem to make any difference, so I'm guessing the application doesn't really use that file (?).

Yeah qtPianobar needs the Qt4.6 libs which I am unsure if they have been compiled for Diablo. You might want to check the repos.

fatalsaint 2010-02-03 17:49

Re: Pianobar port - command line Pandora client
 
Quote:

Originally Posted by caimanjosh (Post 508997)
About the GUI, I was looking at the other thread about PyPianobar, and I saw the part about the library for it being as large as 44 MB. That might be okay for N900 users, but I checked the free internal memory on my device just now and I only have about 45 MB left total (!).

This is actually incorrect now. I don't have the exact amounts that it takes anymore.. but I used to depend on the entire python2.5-qt4 binding package... which was a massive load of useless modules that I didn't need or use.

Now it specifically depends on python2.5-qt4-gui for the version in the Repo.. and the next one will include 2 more... So it won't be 44MB anymore (or at least it shouldn't be.)

I have it on my N810 and don't have a problem.

The next version of pyPianobar ... I just dunno what to do with. It includes an album cover loader but while it's grabbing that data on an N810.. it stutters the pianobar music :(. I am trying to work on that.. but I think it's just a problem with the N810 processor handling threads.

ETA:

Quote:

One question about the command-line version....is there a way to get it to store login information? I found the config file in the pianobar directory and edited it, but it didn't seem to make any difference, so I'm guessing the application doesn't really use that file (?).
It will use the file:
/home/user/.config/pianobar/config

You need to uncomment (remove the #) username and password fields and fill them out appropriately.

fatalsaint 2010-02-03 17:51

Re: Pianobar port - command line Pandora client
 
Quote:

Originally Posted by Bratag (Post 509006)
Yeah qtPianobar needs the Qt4.6 libs which I am unsure if they have been compiled for Diablo. You might want to check the repos.

I tried using just the pianobar port I made for the N900 and got "Invalid Instruction". I would think you would also need to compile qtPianobar to work on the N810, not just the QT libs (which I'm sure have to be there since PyQt4 is there), due to differences in the OMAP2(?) -> OMAP3.

caimanjosh 2010-02-03 21:13

Re: Pianobar port - command line Pandora client
 
Quote:

Originally Posted by fatalsaint (Post 509014)
T

It will use the file:
/home/user/.config/pianobar/config

You need to uncomment (remove the #) username and password fields and fill them out appropriately.

Oops...I somehow didn't notice everything was commented out. Silly me. Removed the comments and now it logs in automatically. Thanks.

As for the new version, that's a shame. Having cover art download automatically would be cool, but I'd say having the music play smoothly is more important. I don't know if it will be an either/or choice like that, but if so, that's my 2 cents.

fatalsaint 2010-02-03 21:16

Re: Pianobar port - command line Pandora client
 
Quote:

Originally Posted by caimanjosh (Post 509321)
As for the new version, that's a shame. Having cover art download automatically would be cool, but I'd say having the music play smoothly is more important. I don't know if it will be an either/or choice like that, but if so, that's my 2 cents.

I've changed it back to using slothradio covers instead of amazon..only 1 page vs 3... much faster. I still get stuttery music I noticed even without it downloading albums.. so part of that could have been the internet connection I am using (wifi tether to t-mobile G1).

If everything works well on my Home Wifi I'll figure it should be OK.. since I think normal wifi is probably the most common connection method for an N8x0?

ETA: If it doesn't work out well for the N8x0 users I can make a version just for you guys without the album loader functionality.

caimanjosh 2010-02-03 21:28

Re: Pianobar port - command line Pandora client
 
Yes, wifi is by far the most common connection method. A few people connect via their cell phones using bluetooth, but probably not that many.

notnarb 2010-02-03 22:11

Re: Pianobar port - command line Pandora client
 
Quote:

The next version of pyPianobar ... I just dunno what to do with. It includes an album cover loader but while it's grabbing that data on an N810.. it stutters the pianobar music . I am trying to work on that.. but I think it's just a problem with the N810 processor handling threads.
pianobar seems to stutter when doing certain things, like moving around home applets as well


Changing the default driver to esd works great, it even seems to get rid of pianobar dieing (until reboot) if exited improperly.

fatalsaint 2010-02-04 07:57

Re: Pianobar port - command line Pandora client
 
Quote:

Originally Posted by caimanjosh (Post 509321)
As for the new version, that's a shame. Having cover art download automatically would be cool, but I'd say having the music play smoothly is more important. I don't know if it will be an either/or choice like that, but if so, that's my 2 cents.

New version of pyPianobar is out. Give it a try if you would like.. it runs decently on my N810. I do experience a very <1 sec stutter at the start of the song when it paints the album art but it has not bothered me in my listening to it.

caimanjosh 2010-02-05 22:20

Re: Pianobar port - command line Pandora client
 
Alright, I might give it a shot. Is the link that was in this thread from a few days ago the most recent version for Diablo users?

fatalsaint 2010-02-05 22:56

Re: Pianobar port - command line Pandora client
 
Quote:

Originally Posted by caimanjosh (Post 512483)
Alright, I might give it a shot. Is the link that was in this thread from a few days ago the most recent version for Diablo users?

Thanks I knew I forgot something.. it's updated now.

http://maemo.org/packages/view/pypianobar/

caimanjosh 2010-02-12 21:34

Re: Pianobar port - command line Pandora client
 
So I got around to giving PyPianobar a try on my N800. I first tried installing the package posted, using the "Fremantle Extras-devel free armel" file. I tried installing with application manager (error, as expected), then running that "apt-get -f install" command that you mentioned, but no dice - I don't think it did anything. Then I tried installing the PyPianobar file with dpkg -i, then again using that "apt-get -f install" command, and this time it just removed the PyPianobar package instead of installing the dependencies. So I'm still stuck on getting those dependencies installed. Is there another way I can get the libraries for it installed on Diablo?

fatalsaint 2010-02-12 21:37

Re: Pianobar port - command line Pandora client
 
Quote:

Originally Posted by caimanjosh (Post 523851)
So I got around to giving PyPianobar a try on my N800. I first tried installing the package posted, using the "Fremantle Extras-devel free armel" file. I tried installing with application manager (error, as expected), then running that "apt-get -f install" command that you mentioned, but no dice - I don't think it did anything. Then I tried installing the PyPianobar file with dpkg -i, then again using that "apt-get -f install" command, and this time it just removed the PyPianobar package instead of installing the dependencies. So I'm still stuck on getting those dependencies installed. Is there another way I can get the libraries for it installed on Diablo?

I need to know what dependency is failing... App Manager should work with pyPIanobar.. I always use dpkg -i myself.

You need to have both pianobar *and* pyPIanobar installed (which includes having the libao0)... other than that - it's all PyQt4 dependencies. Something may be up with the PyQt4 diablo ones... an output from the dpkg -i install would help.

caimanjosh 2010-02-12 22:20

Re: Pianobar port - command line Pandora client
 
okay, here goes:

Code:

dpkg:  dependency problems prevent configuration of pypianobar:

pypianobar depends on python2.5-qt4-gui; however, Package python2.5-qt4-gui is not installed.

pypianobar depends on python2.5-qt4-webkit; however, Package python2.5-qt4-webkit is not installed.

pypianobar depends on python2.5-qt4-network; however, Package python2.5-qt4-network is not installed.

..and then: "dependency problems - leaving unconfigured"

So I guess the question would be, what's the easiest way to get those packages installed?

fatalsaint 2010-02-12 22:43

Re: Pianobar port - command line Pandora client
 
Quote:

Originally Posted by caimanjosh (Post 523909)
okay, here goes:

Code:

dpkg:  dependency problems prevent configuration of pypianobar:

pypianobar depends on python2.5-qt4-gui; however, Package python2.5-qt4-gui is not installed.

pypianobar depends on python2.5-qt4-webkit; however, Package python2.5-qt4-webkit is not installed.

pypianobar depends on python2.5-qt4-network; however, Package python2.5-qt4-network is not installed.

..and then: "dependency problems - leaving unconfigured"

So I guess the question would be, what's the easiest way to get those packages installed?

Do you have Diablo Extras-Devel repository enabled? Python2.5-qt4 is in Extras-Devel.

caimanjosh 2010-02-13 02:24

Re: Pianobar port - command line Pandora client
 
Ah, good call. I had it disabled. So after enabling it, pypianobar itself showed up in application manager as a program to be updated (apparently it was still on my tablet after all). However, it showed as having 16 dependencies to install, that would take a grand total of 60 mb! Can that be right?

Should i just look through the list and manually install the 3 packages i mentioned earlier instead?

Again, thanks for all the guidance with this.

fatalsaint 2010-02-13 04:43

Re: Pianobar port - command line Pandora client
 
Quote:

Originally Posted by caimanjosh (Post 524171)
Ah, good call. I had it disabled. So after enabling it, pypianobar itself showed up in application manager as a program to be updated (apparently it was still on my tablet after all). However, it showed as having 16 dependencies to install, that would take a grand total of 60 mb! Can that be right?

Should i just look through the list and manually install the 3 packages i mentioned earlier instead?

Again, thanks for all the guidance with this.

Well.. 60mb would really surprise me.. but the three packages it depends on also depend on about a half dozen more as well.

I would run a apt-get -f install from the terminal and look at exactly what's going to be installed. 60MB really surprises me...

caimanjosh 2010-02-13 18:39

Re: Pianobar port - command line Pandora client
 
Okay, here's the output from that:

"The following extra packages will be installed:
libaudio2 libqt4-dbus libqt4-designer libqt4-network
libqt4-phonon libqt4-script libqt4-webkit libqt4-xml libqtcore4
libqtgui4 python2.5-qt4-common python2.5-qt4-core
python2.5-qt4-gui python2.5-qt4-network python2.5-qt4-webkit
python2.5-sip4
Suggested packages:
nas
Recommended packages:
qt4-qtconfig
The following NEW packages will be installed:
libaudio2 libqt4-dbus libqt4-designer libqt4-network
libqt4-phonon libqt4-script libqt4-webkit libqt4-xml libqtcore4
libqtgui4 python2.5-qt4-common python2.5-qt4-core
python2.5-qt4-gui python2.5-qt4-network python2.5-qt4-webkit
python2.5-sip4
0 upgraded, 16 newly installed, 0 to remove and 11 not upgraded.
1 not fully installed or removed.
Need to get 18.6MB of archives.
After unpacking 60.5MB of additional disk space will be used.
Do you want to continue [Y/n]?"

So i guess it really may need 60 mb on Diablo (?). Oh well, the command-line client is good and fulfills my long-standing wish for a Pandora app on the n800.

fatalsaint 2010-02-13 20:07

Re: Pianobar port - command line Pandora client
 
Hrm.. well - Im sorry you aren't able to use it. I love pyPianobar on my N810 :). if it took 60MB that's unfortunate, not much I can do about the pyqt libraries... but my N810 handles it OK. Being able to control pianobar without the keyboard out is quite nice when I'm on the move.

attila77 2010-02-17 10:56

Re: Pianobar port - command line Pandora client
 
Quote:

Originally Posted by fatalsaint (Post 525078)
if it took 60MB that's unfortunate, not much I can do about the pyqt libraries...

PyQt could squeeze in on less (and into less conspicuous places), but sadly Qt takes it's space-toll in any case.


All times are GMT. The time now is 19:32.

vBulletin® Version 3.8.8