Active Topics

 



Notices


Reply
Thread Tools
Posts: 104 | Thanked: 60 times | Joined on Dec 2009 @ London
#1
Not being able to change the volume on the Media Player without having to unlock the screen was one of the major issues I used to have with the N900 but PR1.2 fixed that. We can now use the hardware volume keys even if the screen is locked (though apparently only with the native Media Player).

That just leaves one final step to make it possible to control the Media Player completely from your pocket - enabling song skipping with long presses of volume keys. Anyone have an idea of how to make that happen?
Are the volume key events for long presses different from short presses, and if so could it be possible to write a script to enable song skipping?
 
Posts: 9 | Thanked: 1 time | Joined on Feb 2010 @ Hamburg, Germany
#2
There is a small app to make the headset-button pause/play the mediaplayer.
So it should be possible to change that to "next song"

Just in case if there is no difference between short- or longpress on the volumebuttons

Jonni
 
Posts: 39 | Thanked: 3 times | Joined on May 2010 @ London
#3
Originally Posted by xtjonni View Post
There is a small app to make the headset-button pause/play the mediaplayer.
So it should be possible to change that to "next song"

Just in case if there is no difference between short- or longpress on the volumebuttons

Jonni
Hm, what app is that?
 
Posts: 9 | Thanked: 1 time | Joined on Feb 2010 @ Hamburg, Germany
#4
it's called "headset-control" and is in extras-devel.
Only thing to say: works only in PR1.2

http://repository.maemo.org/extras-d...ontrol.install

btw: I would be very glad if someone could tell me how I can skip songs instead of pause/play when pressing the button

Jonni

Last edited by xtjonni; 2010-06-02 at 11:47.
 
Posts: 104 | Thanked: 60 times | Joined on Dec 2009 @ London
#5
Originally Posted by xtjonni View Post
it's called "headset-control" and is in extras-devel.
Only thing to say: works only in PR1.2

http://repository.maemo.org/extras-d...ontrol.install
That's good! So the only problem is to tell the daemon to take input from the volume keys on the N900 as well.
btw: I would be very glad if someone could tell me how I can skip songs instead of pause/play when pressing the button
I don't understand the instructions in the description either... What/where is GConf?
 
Posts: 24 | Thanked: 4 times | Joined on Jun 2010 @ Sweden
#6
As zyborg wrote @ my-maemo.com;

"Enter this command in X Terminal:
gconftool-2 --set /apps/headset-control/next-mode --type bool true (you may have to type 'sudo gainroot first to gain root access)."


With other words,
* sudo gainroot
* gconftool-2 --set /apps/headset-control/next-mode --type bool true

and thats about it. Working fine for me.
 
Reply


 
Forum Jump


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