maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   MediaBox Media Center 0.96 with UPnP and more (https://talk.maemo.org/showthread.php?t=25862)

pycage 2010-01-26 07:36

Re: MediaBox Media Center 0.96 with UPnP and more
 
Quote:

Originally Posted by salah99 (Post 495009)
I downloaded MediaBox today and found that it does not support Arabic font (or whatever) in the screen!!

I'm surprised that it does not. Can you please tell me more about what's happening?

salah99 2010-01-26 19:10

Re: MediaBox Media Center 0.96 with UPnP and more
 
1 Attachment(s)
Look to the attachment..

In the red box should be Arabic letters, but MediaBox shows non Arabic letters!!

pycage 2010-01-27 09:39

Re: MediaBox Media Center 0.96 with UPnP and more
 
Quote:

Originally Posted by salah99 (Post 496006)
Look to the attachment..

In the red box should be Arabic letters, but MediaBox shows non Arabic letters!!

Can you please file a bug report and attach the music file? I suspect, it's just an encoding issue as MediaBox ought to be capable of displaying Arabic.

pycage 2010-01-27 09:41

Re: MediaBox Media Center 0.96 with UPnP and more
 
It's interesting to see in the title bar that the tag encoding appears to be correct, though. Please attach the file to the bug report so that I can reproduce this bug.

nax3000 2010-01-27 17:06

Re: MediaBox Media Center 0.96 with UPnP and more
 
This media player could be the best one yet for the N900 if only for the volume issue.. Is there anyway I can set it to match the device's volume at all times?

Also, does anyone else get a stutter when the backlight shuts down?
________
Big Dick Teen

pycage 2010-01-27 17:20

Re: MediaBox Media Center 0.96 with UPnP and more
 
Quote:

Originally Posted by nax3000 (Post 497769)
This media player could be the best one yet for the N900 if only for the volume issue.. Is there anyway I can set it to match the device's volume at all times?

The next version will do this.

Quote:

Originally Posted by nax3000 (Post 497769)
Also, does anyone else get a stutter when the backlight shuts down?

Ask Nokia what they did build there. I can't imagine switching the backlight off could be such a CPU-intensive task that sound output (from every application that is not from Nokia) begins to stutter. AFAIU the OS freezes every application that isn't explicitly whitelisted on a hardcoded whitelist in the OS. Of course the whitelist is not user-extensible and only contains the Nokia apps that come with the device. Stupid decision. Sorry for the rant, but I'm really angry at this shortsightedness of some people at Nokia. The aggressive ohmd freezing stuff IIRC didn't come from the Maemo people. They were surprised by this, too. Some other entity inside Nokia must have put the stuff in there based on a misinformed marketing decision.

nax3000 2010-01-27 17:40

Re: MediaBox Media Center 0.96 with UPnP and more
 
Well first of all thats good news :)

Secondly, I'm pretty sure that one of these days someone would figure this out (and by 'figure out' I mean hack that whitelist)
It ain't that bothersome anyway.

Any idea about a mediabox widget?
________
WELL P 90 LASER AIRSOFT ELECTRIC

dwould 2010-01-27 17:45

Re: MediaBox Media Center 0.96 with UPnP and more
 
Hey, developer question... am I right in thinking that mediabox is a) written in python and b) captures events from the volume/zoom rocker?
I'd really appreciate a push in the right direction for hooking into those events

pycage 2010-01-27 17:58

Re: MediaBox Media Center 0.96 with UPnP and more
 
Quote:

Originally Posted by nax3000 (Post 497820)
Secondly, I'm pretty sure that one of these days someone would figure this out (and by 'figure out' I mean hack that whitelist)
It ain't that bothersome anyway.

If you don't need to rely on the phone part working properly, you can issue
Code:

stop ohmd
as root in X-Terminal. This will fix your problem, but I wouldn't recommend stopping the ohmd if your N900 is a phone.


Quote:

Originally Posted by nax3000 (Post 497820)
Any idea about a mediabox widget?

No, not yet. Any volunteers? :)

pycage 2010-01-27 18:03

Re: MediaBox Media Center 0.96 with UPnP and more
 
Quote:

Originally Posted by dwould (Post 497827)
a) written in python

Yes, it is.

Quote:

Originally Posted by dwould (Post 497827)
b) captures events from the volume/zoom rocker?

The volume keys are simply F7 and F8 keys. However, the hildon desktop captures the key events before they reach your application, so you have to set a Xatom property on the window that wants to receive these keys:
Code:

# we need to notify Maemo5 that we want to use the volume keys
self.__window.window.property_change("_HILDON_ZOOM_KEY_ATOM",
    "XA_INTEGER", 32,
    gtk.gdk.PROP_MODE_REPLACE,
    [1])

That is, call property_change on the GdkWindow (window) member of a GtkWindow or HildonWindow.


All times are GMT. The time now is 12:03.

vBulletin® Version 3.8.8