Notices


Reply
Thread Tools
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#41
They do register in MessageBus as they're derived from Component. What shows you that they don't register? The components in components_extra and components_htpc are only loaded if specified on the command line with --plugin-dir, though.
 
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#42
Oh, and please ignore SideStrip. It's deprecated and will be removed.
 
Posts: 1,101 | Thanked: 1,184 times | Joined on Aug 2008 @ Spain
#43
Originally Posted by pycage View Post
They do register in MessageBus as they're derived from Component. What shows you that they don't register?
A "print(mediator)" in add_mediator... but now I see that AudioWidget and VideoWidget do not register until they start playing a file for the first time. Quite confusing.
DisplayLight and HeadSet do not register at my desktop pc... I just checked and they do register in the device.
IdleDetector wasn't meant to be there, I did not deleted that line before posting...
The components in components_extra and components_htpc are only loaded if specified on the command line with --plugin-dir, though.
Thanks
 
Posts: 1,101 | Thanked: 1,184 times | Joined on Aug 2008 @ Spain
#44
With this patch, cummulative with my previous ones, all possible handle_message in trunk are converted to handle_<MESSAGE>
The profiling shows that the time spent in MessageBus.send_event() during 30 min of somafm playback is 1,5 seconds, while in 0.96.5 was 260 seconds. 173 times more efficient. Now, if there are no screen updates, the %cpu is 0.0 during playback much of the time.
Also, included, there is another small bugfix patch to AbstractBackend I missed in the previous set of patches.
Attached Files
File Type: gz AbstractBackend-2.diff.gz (281 Bytes, 77 views)
File Type: gz handle_message_no_more.diff.gz (3.7 KB, 89 views)
 
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#45
Originally Posted by maacruz View Post
A "print(mediator)" in add_mediator... but now I see that AudioWidget and VideoWidget do not register until they start playing a file for the first time. Quite confusing.
The reason is because those only get instantiated by the Factory component when you start playing a file. Every viewer gets its own media widget.

Originally Posted by maacruz View Post
DisplayLight and HeadSet do not register at my desktop pc... I just checked and they do register in the device.
Yes, these are Maemo-specific and check for the presence of Maemo. You can of course change that by removing the check in the __init__.py file of the plugin, but it will have no effect on non-Maemo systems, or crash due to missing stuff.
 
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#46
Originally Posted by maacruz View Post
With this patch, cummulative with my previous ones, all possible handle_message in trunk are converted to handle_<MESSAGE>
The profiling shows that the time spent in MessageBus.send_event() during 30 min of somafm playback is 1,5 seconds, while in 0.96.5 was 260 seconds. 173 times more efficient. Now, if there are no screen updates, the %cpu is 0.0 during playback much of the time.
Also, included, there is another small bugfix patch to AbstractBackend I missed in the previous set of patches.
Wow, that sounds great! Thanks!
 
Posts: 4,556 | Thanked: 1,624 times | Joined on Dec 2007
#47
I can't wait for improvements in resource management.

Quick question though, I thought MediaBox had support for Portrait mode? Tried it today and nope (text goes off the screen, some UI elements go off screen).

Also I'm not sure if this is intentional, a bug, or just a bug on my system. But if your in the player, and fullscreen it. The previous and next arrow are not lined up and are literally right next to the right side of the screen making them hard to hit.
__________________
Originally Posted by ysss View Post
They're maemo and MeeGo...

"Meamo!" sounds like what Zorro would say to catherine zeta jones... after she slaps him for looking at her dirtily...
 
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#48
The next version will have full support for portrait mode, if the OS supports it. Fremantle and Mer ought to support portrait out of the box, and Diablo requires a patched kernel.
 
Posts: 1,101 | Thanked: 1,184 times | Joined on Aug 2008 @ Spain
#49
Originally Posted by Laughing Man View Post
I can't wait for improvements in resource management.
Don't worry, I've some more waiting in line to be developed as soon as I get some time
 

The Following User Says Thank You to maacruz For This Useful Post:
Posts: 2 | Thanked: 0 times | Joined on Mar 2009 @ Austria
#50
Took me a month and a half to try several options for the "right mp3 player". I found mediabox as the only one which is able to go by the filename and where you can browse the directory structure as it is on the SD-Card; this is very useful if you have a mp3-collection with a lot of screwed up tags.
Also the bookmarks are very useful for 90-minute-lectures.
So thumbs up for this "heavy weight" mp3 player :-)
Thanks for the work
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 13:05.