Notices


Reply
Thread Tools
Posts: 35 | Thanked: 11 times | Joined on May 2010
#1
I would love for my N900 media player to work like my old SE k750i phone's media player.

When locked and in my pocket.
Volume button works as usual, but by holding it will skip one song forward or back.
Pressing on the camera button will play/pause.

I found these commands to control the media player:
http://wiki.maemo.org/Phone_control

Pause what's currently playing
Code:
dbus-send --dest=com.nokia.mafw.renderer.Mafw-Gst-Renderer-Plugin.gstrenderer /com/nokia/mafw/renderer/gstrenderer com.nokia.mafw.renderer.pause
Play what's currently selected
Code:
dbus-send --dest=com.nokia.mafw.renderer.Mafw-Gst-Renderer-Plugin.gstrenderer /com/nokia/mafw/renderer/gstrenderer com.nokia.mafw.renderer.play
Play next mediafile
Code:
dbus-send --dest=com.nokia.mafw.renderer.Mafw-Gst-Renderer-Plugin.gstrenderer /com/nokia/mafw/renderer/gstrenderer com.nokia.mafw.renderer.next
Play previous mediafile
Code:
dbus-send --dest=com.nokia.mafw.renderer.Mafw-Gst-Renderer-Plugin.gstrenderer /com/nokia/mafw/renderer/gstrenderer com.nokia.mafw.renderer.previous
Then it should be possible to have an app read the buttons, when the phone is locked and media player is started.

Anyone have any idea's or suggestions?

Last edited by Ragnar79; 2010-07-02 at 14:06. Reason: Added link for reference.
 

The Following User Says Thank You to Ragnar79 For This Useful Post:
Posts: 194 | Thanked: 87 times | Joined on Jun 2010
#2
with the new PR 1.2 the N900 is able to adjust the volume when the screen is locked, just press the vol-buttons!
 

The Following 2 Users Say Thank You to Turkishflavor For This Useful Post:
Posts: 35 | Thanked: 11 times | Joined on May 2010
#3
Yes, but I really would like to start stop the music while in my pocket.
 
Posts: 44 | Thanked: 28 times | Joined on Mar 2010
#4
Originally Posted by Ragnar79 View Post
Yes, but I really would like to start stop the music while in my pocket.
something like this?

http://talk.maemo.org/showthread.php...t=headset+dbus
 
Posts: 35 | Thanked: 11 times | Joined on May 2010
#5
Some thing like that

I will check it out, thank you for the tip.
 
Kajko's Avatar
Posts: 199 | Thanked: 54 times | Joined on Nov 2009 @ Canada
#6
This is a #1 idea on my wish list for the N900. I hate having to unlock the N900 to skip tracks forward or back when listening to music while driving. Using volume buttons to change tracks would be awesome!
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 15:40.