maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [ANNOUNCE] MediaBox Home Widget (https://talk.maemo.org/showthread.php?t=60475)

412b 2010-08-17 12:53

Re: [ANNOUNCE] MediaBox Home Widget
 
Quote:

Originally Posted by mase (Post 788894)
Here are some issues:
The timestamp takes a few seconds, before it starts.

It starts as soon as MediaBox reports it.

Quote:

Originally Posted by mase (Post 788894)
Jumping is not possible. The bar and time moves, but the track keeps playing.

At the moment MediaBox doesn't support track seeking via D-Bus as I understand.

Quote:

Originally Posted by mase (Post 788894)
When opening another window, or switching off the screen (manually or automatically by powersave), the timestamp freezes. After skipping the
track, it works normal again.

Yep. It's bug, I'm working on it. It's all because hildon-desktop isn't informing properly, if widget is on current desktop. Perhaps, it's bug in python bindings for hildon-desktop. And no working example of how it can be fixed in apps can be found.


Quote:

Originally Posted by mase (Post 788894)
Maybe the bugs appear, because I am using the svn build?

It can be related only to the bug with play/pause. I'm testing widget with MediaBox 2010.07.24

Quote:

Originally Posted by mase (Post 788894)
I have an idea for cover art: Mediabox could provide a thumbnail of the cover art in the /tmp folder, that the widget could load and display.

Or keep on using D-Bus with byte/string representation of image. It's up to pycage :)

Quote:

Originally Posted by mase (Post 788894)
Why not integrating the FM radio and the widget in mediabox?

What do you think?

About FM Radio: I don't listen to radio, in fact ))) But why not, just because it was there (for N800) some time ago :)
Integrating widget... Don't know. I always suggest to keep the app and the add-ons to it as standalone things, to keep modules, 'cause not every user needs all the stuff.

Chrome 2010-08-17 12:57

Re: [ANNOUNCE] MediaBox Home Widget
 
Where's the widget supposed to appear? i don't see it in widgets list after installing, even after restart.

412b 2010-08-17 13:09

Re: [ANNOUNCE] MediaBox Home Widget
 
Quote:

Originally Posted by Chrome (Post 789343)
Where's the widget supposed to appear? i don't see it in widgets list after installing, even after restart.

On the current (or first, I've never paid attention, where hildon-desktop places just installed widgets) desktop by default. As there's to be only one instance of widget, it could be hidden in the widget list...

Please post the output of
Code:

python /usr/lib/hildon-desktop/mediabox_home_widget.py 1
running in XTerm.

mase 2010-08-17 14:59

Re: [ANNOUNCE] MediaBox Home Widget
 
I will have a look at pygtk to get able to help. I only know C / C++ programming.
But it isn't that different to python.
I think, mediabox could get an all-in-one media solution, with all different
components integrated. I mean, fm-radio (i don't listen to it, too), podcast, etc.

412b 2010-08-17 15:12

Re: [ANNOUNCE] MediaBox Home Widget
 
Heh... I've found the reason of timing stopping etc. during desktop changes )))
I've made a workaround for hildon-desktop bug, but forgot to include it in project's main tree )))
Update will be in extras-devel, when I get home, approximately 3 hours later. May be it can fix issues with appearing on desktop.

Chrome 2010-08-17 15:23

Re: [ANNOUNCE] MediaBox Home Widget
 
Quote:

Originally Posted by 412b (Post 789356)
On the current (or first, I've never paid attention, where hildon-desktop places just installed widgets) desktop by default. As there's to be only one instance of widget, it could be hidden in the widget list...

Please post the output of
Code:

python /usr/lib/hildon-desktop/mediabox_home_widget.py 1
running in XTerm.

seg fault

am i the only one getting that?

412b 2010-08-17 16:44

Re: [ANNOUNCE] MediaBox Home Widget
 
Quote:

Originally Posted by Chrome (Post 789506)
seg fault

am i the only one getting that?

I'm sure you're not.
Wait till evening. New version will arrive to extras-devel.

412b 2010-08-17 21:01

Re: [ANNOUNCE] MediaBox Home Widget
 
new version is in extras-devel, i'm waitng for logs of it...

mase 2010-08-18 05:46

Re: [ANNOUNCE] MediaBox Home Widget
 
Thanks!
It works for me now. The timestamp continues, and controlling on
shelf works, too.

pycage 2010-08-18 06:25

Re: [ANNOUNCE] MediaBox Home Widget
 
I'm going to provide coverart via a tag-changed signal pointing to a temp image file containing the cover art, or file icon in general.

About FM radio I want to go the way of a tiny D-Bus service in C++ for controlling the tuner. That way audio doesn't get interrupted when Maemo freezes the application because it will be a daemon in the background.
Then making a FM radio frontent should become an easy task.

But in the next two weeks I will be very very busy and not work on MediaBox much (Google invited me for an on-site job interview in Dublin).


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

vBulletin® Version 3.8.8