The Following User Says Thank You to hermitoz For This Useful Post: | ||
|
2010-01-11
, 21:57
|
Posts: 269 |
Thanked: 139 times |
Joined on Mar 2006
|
#2
|
|
2010-01-11
, 21:58
|
Posts: 130 |
Thanked: 51 times |
Joined on Sep 2009
|
#3
|
|
2010-01-12
, 11:55
|
|
Posts: 876 |
Thanked: 396 times |
Joined on Dec 2009
|
#4
|
|
2010-01-12
, 12:05
|
Posts: 1,224 |
Thanked: 1,763 times |
Joined on Jul 2007
|
#5
|
The Following User Says Thank You to Matan For This Useful Post: | ||
|
2010-01-12
, 12:18
|
|
Posts: 876 |
Thanked: 396 times |
Joined on Dec 2009
|
#6
|
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).
|
2010-01-12
, 12:19
|
|
Posts: 31 |
Thanked: 19 times |
Joined on Oct 2009
@ Edinburgh
|
#7
|
|
2010-01-19
, 16:45
|
|
Posts: 609 |
Thanked: 243 times |
Joined on Jan 2010
@ Eastern USA
|
#8
|
The Following User Says Thank You to xomm For This Useful Post: | ||
I'm wondering if it's possible to configure the Media Player so that it pauses music and video playback when the headphones get disconnected?
This would be nice especially if they get disconnected by accident somewhere it wouldn't be apropriate to have loud music coming from your phone.
Anyone have a clue on this?