![]() |
Re: [application] pyRadio (Pandora)
Obviously no update this weekend. I have gotten past the segfault problem.. theres a couple more quirks with random crashes and strange audio between songs (im thinking from mafw's current playlist outside pyradio..).
Once I get those ironed out ill upload a pyRadio 2.0. Also this will be good news for N810 users as well.. because pyRadio and MediaBox were both written so modular it was quite easy to use MediaBoxes code. For Maemo 4 this means I can simply put in the OSSO backend from MediaBox as well and use that. Theoretically should work.. once I get 2.0 stable on Maemo 5 ill test diablo and then maybe be even able to upload into the official repos. |
Re: [application] pyRadio (Pandora)
May I ask what the reason for the segfault was?
I hope it didn't come from my MAFW code. :) |
Re: [application] pyRadio (Pandora)
Quote:
To the question: Yes, and then also No :D. I don't blame your code at all. I had the same problem with python's gstreamer bindings. I think the culprit is gobject. It doesn't know how to properly communicate over the QT4 main UI loop. You don't have this problem because you use GTK and gtk.main(), but with qt4 using gstreamer (and yours) I required this code: Code:
loop = gobject.MainLoop() I ended up putting it into the init function of MAFWBackend... works every time now. So it was just the placement of it that was causing issues. My biggest gripe ATM is that I kinda wish we could make these backends into modules.. as it is if someone uses MediaBox and pyRadio they will have 4 copies of (almost) identical files. Just seems like a waste of space. But, for now I'd like to figure out your EventEmitter system here so I can connect my own methods to the on_eof and the position_cb methods.. so that I can receive events/signals when a file is done playing and every second to make my new countdown timer more accurate. |
Re: [application] pyRadio (Pandora)
Quote:
Quote:
Quote:
Quote:
|
Re: [application] pyRadio (Pandora)
Ok, pushed pyRadio 2.0 up to the repo's.
If nothing else.. Diablo users should get excited as it should be appearing in a repository near you ;). Need people to test it and report back.. especially the Diablo side.. I've done minimal testing on my N810 so far. It basically loaded, logged in, and played music. I haven't tried all the menu's and such. Anyway, let me know how it works! Thanks again to pycage! Made life really easy for the backends of both systems... |
Re: [application] pyRadio (Pandora)
Quote:
Bug reports: Pressing cancel on the initial username window sends one to the password box instead of canceling loading the program. Maybe have "Ok" and "Quit" instead, since it is unclear what "cancel" should do on the username field. Similarly, when in the application, going to the menu and clicking "user/pass" has the same behavior. Clicking "cancel" several times quits the application, instead of just going back to the application. Pause/Play, Next, thumbs up, station changing buttons all work. It would be nice to have a proper logo for it on the application menu. The "donate" menu option doesn't present a "cancel" button. ;-) Thanks for your work on this! |
Re: [application] pyRadio (Pandora)
Quote:
Quote:
Quote:
Quote:
Now THAT is just too funny. It's almost like it was by design, huh? ;) On the N900 the Qdialog's only take up a portion of the screen and you can click out of them.. it didn't even occur to me that the N8x0 does not do that lol. Will fix tonight :D. |
Re: [application] pyRadio (Pandora)
Quote:
Quote:
Quote:
Thanks again for the app, though. It seems to be working just fine. I left it paused for about an hour, and it started playing without a hitch when I came back. |
Re: [application] pyRadio (Pandora)
Question: what is the "Enable FM Radio" option in the menu for?
Also, do you still need someone to look into the py-gstreamer plugin? |
Re: [application] pyRadio (Pandora)
Quote:
Quote:
Quote:
Quote:
2) Nope.. using Mediabox's OSSOBackend solved this problem for me.. thanks :). |
All times are GMT. The time now is 21:29. |
vBulletin® Version 3.8.8