View Single Post
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#3
Originally Posted by neboja View Post
but now..... it would be cool if i knew a script for Fast Forward.... Rewind.... or best thing it would be if it could skip or go back 5-10 sec....
Sure.

Code:
dbus-send --print-reply --dest=com.nokia.mafw.renderer.Mafw-Gst-Renderer-Plugin.gstrenderer /com/nokia/mafw/renderer/gstrenderer com.nokia.mafw.renderer.set_position int32:1 int32:5
^ skips by 5 seconds

Code:
dbus-send --print-reply --dest=com.nokia.mafw.renderer.Mafw-Gst-Renderer-Plugin.gstrenderer /com/nokia/mafw/renderer/gstrenderer com.nokia.mafw.renderer.set_position int32:1 int32:-5
^ goes back by 5 seconds

http://maemo.org/api_refs/5.0/5.0-fi...r-set-position explains the meaning of the first int32 argument.

Code:
dbus-send --print-reply --dest=com.nokia.mafw.renderer.Mafw-Gst-Renderer-Plugin.gstrenderer /com/nokia/mafw/renderer/gstrenderer com.nokia.mafw.renderer.get_position
gets the current elapsed time.
 

The Following 6 Users Say Thank You to qwerty12 For This Useful Post: