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:
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 can connect the headset, and start playing music by using my phone, so it doesn't seem to be that at fault.
Been trying this for hours now! Any help would be much appreciated.
Regards,
Chris