![]() |
Re: [application] pyRadio (Pandora)
Quote:
|
Re: [application] pyRadio (Pandora)
So, other than the song title and artist moving (which is done in my current build)...
Any other comments? I'm still looking at the gstreamer thing but haven't had it happen to me for a few days now.. how often is the random stopping of music for people? Dont really want to release a 1.2 with nothing but a change to the Label... |
Re: [application] pyRadio (Pandora)
haha... rather big bug. Do me a favor and don't enable your FM Transmitter before launching the app. Nothing will work :D.
This bug is a glaring example of my one largest gripe about Python syntax. No end tags, everything is based on proper tabbing >.>. One stupid extra tab and poof... broken interface lol. Ill have a new fix up tonight with the Label change and this bug addressed. I rebooted my phone couple of times today trying to figure out why the hell it wasn't working :D. |
Re: [application] pyRadio (Pandora)
I haven't installed this yet but have been enjoying pianobar for a couple weeks now after tiring of my own music collection. One thing i was wondering about on reading about a "pure python implementation" is, how does using python for everything affect the CPU usage and run time of pandora on N900?
Also, someone mentioned that this fixes dropouts in playback when going through poor reception areas. Is there a reason for this to be expected with pyRadio vs. pianobar? I still haven't installed pyqt but will probably do so soon and this will be one of the apps i take a look at. Thanks for your work on pandora options. :) |
Re: [application] pyRadio (Pandora)
Not really sure how big of a difference it is but watching top while listening shows 34% cpu usage, with pyradio at betwen 15-20% and pulseaudio itself at 20%+. Now those numbers dont match because watching /proc/cpuinfo shows the processor bouncing between 250 and 500. I notice no system slowdowns.
The reason for better play is pianobar uses libao/libmad with no buffer to playback audio. pyRadio uses gstreamer which utilizes a buffer allowing for brief interruptions in connection. |
Re: [application] pyRadio (Pandora)
Quote:
Quote:
Does the fact pyRadio uses gstreamer mean that it will playback properly through headphones in silent profile? |
Re: [application] pyRadio (Pandora)
Quote:
|
Re: [application] pyRadio (Pandora)
Quote:
Thanks, qwerty. fatalsaint, can you please use this workaround or the one in comments 29/30? It's really obnoxious for my coworkers when i'm listening to pandora and get an SMS or incoming call and it blasts the notification from the speaker... |
Re: [application] pyRadio (Pandora)
Quote:
The question I have: Is it 20% of 250, or 500, 650... the damn CPU is near constantly ticking up, down, up down, on my phone so I have no idea. If it's 20% of 250 that's not that bad.. if it's 20% of the full processor speed that's a bit of a nuisance. If I watch it pyradio goes from between 10 up to 20 max, while PA is all over the place. Don't think I saw it go much below 15 though.. so how the media player only has it at 10 I don't know. Quote:
Gstreamer, OTOH, if it loses network connection too long for some reason simply refuses to start up again :mad:. You'll just get silence until the end of the song and then it starts the next song and plays just fine (alternatively, skipping to the next song also brings it back.) Silent: Just tested, No. (thanks Qwerty). Quote:
|
Re: [application] pyRadio (Pandora)
I am having no luck figuring out how in the hell to create a pulseaudio proplist in python.
Code:
pulsesink = gst.get_element_factory_make("pulsesink", "pulsesink") It is supposed to be a type of GParamPointer if I dump just the list_properties out to a terminal. But I can find no help on actually creating a proplist from scratch, and then modifying this "event.id" property of that. I'm at a loss. Basically, if anyone can tell me how to do this: Code:
pa_proplist *proplist = pa_proplist_new (); |
All times are GMT. The time now is 21:18. |
vBulletin® Version 3.8.8