View Single Post
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#130
Originally Posted by The Arsonist View Post
Hey. Fairly new to the site(mostly just been reading and not posting thus far). Just wanted to thank you for the work put into the app, it's sick. I came over from a G1 which, thanks to Google, had tons of first party apps. I was spoiled with them, but after see how good some of the apps can get, I'm enthusiastic. The app works really well, but it seems that either the program or phone gets a little bog down. The music flows fine and sound quality is phenomenal(the Android Pandora had an option for Normal and High quality, thankfully, that's no problem here), but whenever I lock or unlock the phone, it freezes the track for about a second or two. If I multitask, it seems to do the same. It really isn't anything major(especially for the price of free), but I'm just curious if its the app or the nature of the streams or something. Just to clarify, I'm on a N900.
To be honest I'm not entirely sure. Most of the actual communication is done via pianobar which opens a stream to the Pandora Radio. I haven't added any coded to deal with sound output, or integrate in with the N900 at all... it just uses whatever the system default sound configuration is.

Does the same skipping occur if you're playing an mp3? Or streaming from the website?

A better test might be listening to an online radio station? It could be something with the phone.. but I am unable to test any phone-specific issues as I don't have one. It seems like it could be related to threading and how the CPU handles multi-tasking.. as this is very noticeable on, say, the old N810. But how the default media player would work around it I don't know.

I'm glad that, for the most part, the app seems to do as you require. As far as sound quality, there is actually 3 settings for pianobar - I just haven't coded them into the gui.

There is mp3-faad, aacplus, and a High Quality mp3 that is only available for paid accounts/subscriptions. The option to change this is in your ~/.config/pianobar/pianobar file near the bottom. From the pianobar documentation:

audio_format = {aacplus,mp3,mp3-hifi}
Select audio format. aacplus is default if both libraries (faad, mad) are
available. mp3-hifi is available for Pandora One customers only.
---

As a side note: In the upstream the latest version/update of pianobar has appeared to remove the internal last.fm scrobbling. It has introduced a new eventcmd scripting procedure to pass it off to third party apps instead.. I'll need to look how it all works before compiling any of the more recent changes and submitting them up. For now.. I'm leaving the version in the testing repo's there until they get tested and moved to extras - or noticeable faults found and I am notified of extras-preventing bugs.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!