Thread
:
[SOLVED]Bluetooth Headset Button to pause/play Canola/Mplayer
View Single Post
qwerty12
2008-07-29 , 10:44
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#
3
I'd be interested in seeing what you can do as I'd be interested in replacing the dbus-send command with the proper python dbus commands.
Have you thought about looking into daemonising it like I do with headset-control?
Btw, replace:
os.system('dbus-send --dest=com.nokia.osso_media_server /com/nokia/osso_media_server com.nokia.osso_media_server.music.pause')
with:
os.system('run-standalone.sh dbus-send --dest=com.nokia.osso_media_server /com/nokia/osso_media_server com.nokia.osso_media_server.music.pause')
Quote & Reply
|
qwerty12
View Public Profile
Find all posts by qwerty12