Thread
:
Stopping music/media player when headset unplugged
View Single Post
qwerty12
2010-03-16 , 11:13
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#
103
I've managed to get it to not play music again if you take out the headset during a call but
only
if the Media Player application is not running - i.e. you just have the applet running. I've got what the applet does to pause the track sorted, but not what the Media Player application does itself to pause the track.
I'd like to figure out what the Media Player app does but if worst comes to worst (e.g. an internal setting which I cannot modify from the outside) , "killall -9 mediaplayer" springs to mind...
My current improvement over having it not play tracks again upon the ending of a call if the headphones are taken out during a call (provided the Media Player application is not running) requires headphoned to be added to the policy file. If I get it set up correctly (support for dpkg's triggers come to mind), would you be interested, thp?
Quote & Reply
|
The Following User Says Thank You to qwerty12 For This Useful Post:
thp
qwerty12
View Public Profile
Find all posts by qwerty12