The Following 3 Users Say Thank You to fatalsaint For This Useful Post: | ||
|
2010-08-09
, 06:35
|
|
Posts: 3,404 |
Thanked: 4,474 times |
Joined on Oct 2005
@ Germany
|
#102
|
The Following User Says Thank You to pycage For This Useful Post: | ||
|
2010-08-09
, 14:06
|
Posts: 3,428 |
Thanked: 2,856 times |
Joined on Jul 2008
|
#103
|
May I ask what the reason for the segfault was?
I hope it didn't come from my MAFW code.
loop = gobject.MainLoop() gobject.threads_init() context = loop.get_context()
The Following User Says Thank You to fatalsaint For This Useful Post: | ||
|
2010-08-09
, 19:50
|
|
Posts: 3,404 |
Thanked: 4,474 times |
Joined on Oct 2005
@ Germany
|
#104
|
Everyone say hi to the genius behind the MAFW bindings . Your code rocks dude .
Code:loop = gobject.MainLoop() gobject.threads_init() context = loop.get_context()
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.
The Following User Says Thank You to pycage For This Useful Post: | ||
|
2010-08-10
, 06:08
|
Posts: 3,428 |
Thanked: 2,856 times |
Joined on Jul 2008
|
#105
|
The Following 3 Users Say Thank You to fatalsaint For This Useful Post: | ||
|
2010-08-10
, 17:39
|
Posts: 38 |
Thanked: 23 times |
Joined on Jun 2008
@ Philadelphia, PA
|
#106
|
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.
The Following User Says Thank You to parejkoj For This Useful Post: | ||
|
2010-08-10
, 18:26
|
Posts: 3,428 |
Thanked: 2,856 times |
Joined on Jul 2008
|
#107
|
Excellent! I added extras-devel and installed pyradio on my N800. The 19MB size makes it a bit unpractical. I expect there are ways to reduce the size?
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.
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. ;-)
The Following User Says Thank You to fatalsaint For This Useful Post: | ||
|
2010-08-10
, 19:24
|
Posts: 38 |
Thanked: 23 times |
Joined on Jun 2008
@ Philadelphia, PA
|
#108
|
Unfortunately not really... thats from the dependencies. pyRadio itself is actually only 260k in size but it depends on a number of PyQt4 packages which are quite large. I have already avoided pulling all PyQt4 packages by specifying specifically the ones I use (such as python2.5-qt4-webkit which is a large one, vice just python-2.5-qt4 which would grab all of them) - so unless anyone has any other suggestions I think it's about as small a footprint as I can make it.
It should... The first time I loaded it on my N810 it didn't show but when I loaded it from the App Manager it had the normal blue note with black background..
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 .
The Following User Says Thank You to parejkoj For This Useful Post: | ||
|
2010-08-10
, 19:30
|
Posts: 38 |
Thanked: 23 times |
Joined on Jun 2008
@ Philadelphia, PA
|
#109
|
The Following User Says Thank You to parejkoj For This Useful Post: | ||
|
2010-08-10
, 19:37
|
Posts: 3,428 |
Thanked: 2,856 times |
Joined on Jul 2008
|
#110
|
Hmmm... That's unfortunate. Could any of those dependencies be provided by packages that are used by other programs? That way the size would be shared between more packages.
I'm still not seeing a logo on my n800 in the App Launcher. The logo did appear in the Application Manager after I quit it and restarted. I am using Telescope and the Mameo5 theme, but my other apps show their logos.
Oh, it still takes up only a portion of the screen, but tapping outside the dialog doesn't do anything.
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?
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.
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!