Thread
:
Possible to automatically pause playback when headphones disconnect?
View Single Post
Matan
2010-01-12 , 12:05
Posts: 1,224 | Thanked: 1,763 times | Joined on Jul 2007
#
5
Headphone events are reported on d-bus, so you can use dbus-scripts to run a script whenever headphones are inserted or removed. Such a script can send a pause (or unpause) command to media player when headphones are removed (or inserted).
Quote & Reply
|
The Following User Says Thank You to Matan For This Useful Post:
Bec
Matan
View Public Profile
Send a private message to Matan
Find all posts by Matan