Thread
:
Stopping music/media player when headset unplugged
View Single Post
thp
2010-01-14 , 14:17
Posts: 1,391 | Thanked: 4,272 times | Joined on Sep 2007 @ Vienna, Austria
#
46
Originally Posted by
gunni
Does this script restart a paused player, too? This would be useful for me, too.
No, right now it just pauses the player whenever the headphone is unplugged. There are some caveats to having it resume playback on reconnect (especially where more applications are concerned).
One example: Assume you have Media Player and Panucci open. It's okay to send a "pause" signal to both. You probably don't want to send a "resume" signal to both, however. Which one to choose then? It's not really obvious. The code is open, so if you want to give it a shot, feel free to do so
Quote & Reply
|
The Following User Says Thank You to thp For This Useful Post:
gunni
thp
View Public Profile
Send a private message to thp
Visit thp's homepage!
Find all posts by thp