![]() |
Is it that simple??? media player control, with d-bus scripts on QBW
when I reviewed some d-bus script, I found this one: http://wiki.maemo.org/Phone_control#...rently_playing
dbus-send --dest=com.nokia.mafw.renderer.Mafw-Gst-Renderer-Plugin.gstrenderer /com/nokia/mafw/renderer/gstrenderer com.nokia.mafw.renderer.pause and then I thought that would be helpful if you could with similar scripts to control the music through QBW ... then only i replaced "pause", with appropriate command ... AND ITWORKS! : D here's the script: PLAY: dbus-send --dest=com.nokia.mafw.renderer.Mafw-Gst-Renderer-Plugin.gstrenderer /com/nokia/mafw/renderer/gstrenderer com.nokia.mafw.renderer.play PAUSE: dbus-send --dest=com.nokia.mafw.renderer.Mafw-Gst-Renderer-Plugin.gstrenderer /com/nokia/mafw/renderer/gstrenderer com.nokia.mafw.renderer.pause STOP: dbus-send --dest=com.nokia.mafw.renderer.Mafw-Gst-Renderer-Plugin.gstrenderer /com/nokia/mafw/renderer/gstrenderer com.nokia.mafw.renderer.stop PREVIOUS: dbus-send --dest=com.nokia.mafw.renderer.Mafw-Gst-Renderer-Plugin.gstrenderer /com/nokia/mafw/renderer/gstrenderer com.nokia.mafw.renderer.previous NEXT: dbus-send --dest=com.nokia.mafw.renderer.Mafw-Gst-Renderer-Plugin.gstrenderer /com/nokia/mafw/renderer/gstrenderer com.nokia.mafw.renderer.next and you could rearrange it on your desktop in a manner so it would you be comfortable if you using it with your one hand! :D great, isn't it?? :) 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.... (if you press a widget for a longer time, it will be shown a "desktop menu"...) and another thing....: Pause cmd only pauses the song... it won't continue... (play cmd starts from beginning of the song....) SO PEOPLE... if you could help me with finding a proper scripts (for missing ones), i would be grateful! :) P.S. and i found a way to make a PHONE APP icon (widget in this case) bigger! ;) THX No!No!No!Yes! for QBW ;) |
Re: Is it that simple??? media player control, with d-bus scripts on QBW
mmmmm??? any ideas?? :)
|
Re: Is it that simple??? media player control, with d-bus scripts on QBW
Quote:
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 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 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 |
Re: Is it that simple??? media player control, with d-bus scripts on QBW
Thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx thx :) :) :) :) :)
|
Re: Is it that simple??? media player control, with d-bus scripts on QBW
Quote:
Code:
dbus-send --dest=com.nokia.mafw.renderer.Mafw-Gst-Renderer-Plugin.gstrenderer /com/nokia/mafw/renderer/gstrenderer com.nokia.mafw.renderer.resume Code:
#!/bin/sh |
Re: Is it that simple??? media player control, with d-bus scripts on QBW
oh.... i found a "resume....
but then i have 2 buttons (widgets) for pause, and resume... could i implement all in one? and tell me... for what do i need a current state that you provide me above??? THX ;) |
Re: Is it that simple??? media player control, with d-bus scripts on QBW
This looks good. Would it be possible to rotate the queenbeecon widgets by 90 degrees so that we could have a portrait desktop containing info on various system states, and music controls?
|
Re: Is it that simple??? media player control, with d-bus scripts on QBW
Quote:
and hey... there's a some brainstorming for QBW developers: can they make a rotate output function???? O_o :) |
Re: Is it that simple??? media player control, with d-bus scripts on QBW
Quote:
I'll give it a thought!!! |
Re: Is it that simple??? media player control, with d-bus scripts on QBW
Thanks man! ;)
|
All times are GMT. The time now is 23:03. |
vBulletin® Version 3.8.8