maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   media player control via hardware buttons (https://talk.maemo.org/showthread.php?t=51668)

neboja 2010-05-02 19:29

media player control via hardware buttons
 
here are my questions:

Is the media player widget open source????????

I know that the media player is closed source, but if the widgets for the media player is open source, and whether you may be able to make script or deamon , which will allow the hardware buttons to control play, pause, fast forward and rewind, stop, next - previous song ... ?

hmmm????

tenkom 2010-05-02 19:36

Re: media player control via hardware buttons
 
if someone could make something that made half-pressing the camera button control the music that would be awesome.
for example single press to play pause, double press for next song.

neboja 2010-05-02 19:41

Re: media player control via hardware buttons
 
There is a way to control the hardware buttons on the N900, but I wonder: if you can not control the media player alone, you may be able to control the widget instead...

again: hmmm??? O_o

martie1 2010-05-02 19:56

Re: media player control via hardware buttons
 
increase and decrease the volume with the buttons when the device is locked is a feature of pr 1.2 but i'd like to see next/previous track with hardware buttons comming too

neboja 2010-05-02 20:01

Re: media player control via hardware buttons
 
well, yes...
you can decrease volume by simply taking the earphones out of your ears, and if you want to play next track, you must unlock the phone... :P

neboja 2010-05-04 09:22

Re: media player control via hardware buttons
 
so...
may i ask question again (please don't be mad at me) : can we control media player widget with hardware buttons, and how can we do that???

if someone know, please reply! thx! :)

neboja 2010-05-19 15:34

Re: media player control via hardware buttons
 
ok, so this i started a thread, and for now, no one has answered me.... please, i was searching for the answer for a long time, but i couldn't find one....
please, does anybody know if it is posibile????
thx ;)

cddiede 2010-05-19 15:38

Re: media player control via hardware buttons
 
You can already skip to the next and previous tracks using the hardware keyboard's left and right arrow keys.

F2thaK 2010-05-19 15:40

Re: media player control via hardware buttons
 
no idea how to do it, but what would be good is:

- long press of zoom (-/+) buttons to change track
- double press power button to play/stop

F2thaK 2010-05-19 15:41

Re: media player control via hardware buttons
 
Quote:

Originally Posted by cddiede (Post 666222)
You can already skip to the next and previous tracks using the hardware keyboard's left and right arrow keys.

huh, didnt know that........ space is stop/play

but whole idea is that phone is locked

neboja 2010-05-19 15:43

Re: media player control via hardware buttons
 
i know... but i want to do that with a volume buttons (and camkey button for play maybe....)
that would be cool... so i know that MP app is not open, but maybe MP widget is.... but, i couldn't find anywhere a prof for that... :P

esthreel 2010-05-19 15:51

Re: media player control via hardware buttons
 
half press camera plus volume to ffwd rew next track, would be cool

neboja 2010-05-19 16:05

Re: media player control via hardware buttons
 
anything of that would be cool,... but... IS IT POSIBLE????

slobodsky 2010-05-19 16:12

Re: media player control via hardware buttons
 
I don't know about buttons, but you can control the multimedia system (including the player). There is an API for it: http://maemo.org/api_refs/5.0/5.0-final/mafw/.

neboja 2010-05-19 22:26

Re: media player control via hardware buttons
 
what???????
O.o
sorry slobodsky, but i don't understand.....

slobodsky 2010-05-20 05:00

Re: media player control via hardware buttons
 
It's because this is a programmer's point of view, not the user's.:)

I don't know how to get signals from the hardware buttons when the phone is locked. I think it's possible, but I don't know how to do it.

There is an official library for controlling the media player. You don't need the sources of the player or the player widget. But someone have to write a program for it.


All times are GMT. The time now is 00:42.

vBulletin® Version 3.8.8