Notices


Reply
Thread Tools
Posts: 35 | Thanked: 11 times | Joined on Jan 2010 @ Sweden
#1
Hello!
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?
 

The Following User Says Thank You to hermitoz For This Useful Post:
Posts: 269 | Thanked: 139 times | Joined on Mar 2006
#2
Not natively. There might be an app for that (sorry... ) in development.
 
Posts: 130 | Thanked: 51 times | Joined on Sep 2009
#3
Good idea. +1 from me. Maybe the media player should also start playing when it is paused, and headphone is plugged in again.
Nice and easy way to pause without needing any button or display.
 
Bec's Avatar
Posts: 876 | Thanked: 396 times | Joined on Dec 2009
#4
Create a brainstorm or report it as bugs > enhancements category guys, or this thread will die pretty soon

I know the servers are slow and posting is a pain but it's worth it.

Link your ideas to the signature so people might review and rate them!
__________________
 
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).
 

The Following User Says Thank You to Matan For This Useful Post:
Bec's Avatar
Posts: 876 | Thanked: 396 times | Joined on Dec 2009
#6
Originally Posted by Matan View Post
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).
This sounds very interesting, It should also allow headset input for volume and swiching tracks.

Could you detail the matter a little and maybe link to a working d-bus example?

Thanks
__________________
 
dtrouton's Avatar
Posts: 31 | Thanked: 19 times | Joined on Oct 2009 @ Edinburgh
#7
There is a thread about this already, and an app someone is working on. See

http://talk.maemo.org/showthread.php?t=33215
 
xomm's Avatar
Posts: 609 | Thanked: 243 times | Joined on Jan 2010 @ Eastern USA
#8
Headphone Daemon is out. Extras-testing i think.
It's pretty useful.
 

The Following User Says Thank You to xomm For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 08:40.