![]() |
2011-03-17
, 22:10
|
|
Posts: 1,637 |
Thanked: 4,424 times |
Joined on Apr 2009
@ Germany
|
#2
|
The Following User Says Thank You to nicolai For This Useful Post: | ||
![]() |
2011-03-17
, 22:38
|
|
Posts: 60 |
Thanked: 9 times |
Joined on Apr 2010
@ Swindon, UK
|
#3
|
![]() |
2011-03-20
, 14:42
|
|
Posts: 60 |
Thanked: 9 times |
Joined on Apr 2010
@ Swindon, UK
|
#4
|
dbus-scripts --debug --system
The Following User Says Thank You to christye For This Useful Post: | ||
![]() |
2011-03-20
, 16:09
|
|
Posts: 2,473 |
Thanked: 12,265 times |
Joined on Oct 2009
@ Jerusalem, PS/IL
|
#5
|
Only thing I have to look at now is why, upon restarting the phone can't I use any command to start music playing - I have to press the play button on the widget instead. Anyway, I am happy with the results!
method call sender=:1.595 -> dest=com.nokia.mafw.playlist serial=128 path=/com/nokia/mafw/playlist; interface=com.nokia.mafw.playlist; member=create_playlist string "FmpAudioPlaylist" method return sender=:1.87 -> dest=:1.595 reply_serial=128 uint32 4
method call sender=:1.595 -> dest=com.nokia.mafw.renderer.Mafw-Gst-Renderer-Plugin.gstrenderer serial=226 path=/com/nokia/mafw/renderer/gstrenderer; interface=com.nokia.mafw.renderer; member=assign_playlist uint32 4
Nokia-N900:~# grep FmpAudioPlaylist /home/user/.mafw-playlists/* /home/user/.mafw-playlists/4:FmpAudioPlaylist
dbus-send --type=method_call --dest=com.nokia.mafw.renderer.Mafw-Gst-Renderer-Plugin.gstrenderer /com/nokia/mafw/renderer/gstrenderer com.nokia.mafw.renderer.assign_playlist uint32:4 dbus-send --type=method_call --dest=com.nokia.mafw.renderer.Mafw-Gst-Renderer-Plugin.gstrenderer /com/nokia/mafw/renderer/gstrenderer com.nokia.mafw.renderer.goto_index uint32:0 dbus-send --dest=com.nokia.mafw.renderer.Mafw-Gst-Renderer-Plugin.gstrenderer /com/nokia/mafw/renderer/gstrenderer com.nokia.mafw.renderer.play
![]() |
2011-09-28
, 21:50
|
Posts: 669 |
Thanked: 433 times |
Joined on May 2010
|
#6
|
![]() |
2012-03-30
, 17:10
|
Posts: 669 |
Thanked: 433 times |
Joined on May 2010
|
#7
|
I had posted this in the N900 forum, however, I feel that this may be a better place for it, as I guess it isn't specifically an N900 issue.
Having a bit of a problem with DBUS.
What I'm trying to do is when my bluetooth headset is connected, I want the phone to start playing music. Once the phone is disconnected from the headset, I want it to stop. Sounded pretty simple, I had already played a little bit with dbus (underclocking when locked).
Anyway. I have the command to play music in a file (/usr/local/bin/connect) which contains this command:
I typed in "dbus-scripts --debug" and at the end of the command it gave me the "Failed to open connection to session message bus
Been trying this for hours now! Any help would be much appreciated.
Regards,
Chris