maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   Support for stopping player when headphones are unplugged (https://talk.maemo.org/showthread.php?t=36506)

dmg 2009-12-10 00:09

Support for stopping player when headphones are unplugged
 
Unplugging the headphones is the quickest way to stop the player (no need to unlock the device, navigate to the media player and stop the song). This is in fact the way the Apple products do it. In the N810 there was a deamon that took care of this for those of us who needed this feature. Perhaps something similar can be implemented?

thanks!

--dmg

chemist 2010-01-12 20:54

Re: Add support for stopping player when headphones are uplugged
 
Please create a brainstorm item and read the links for brainstorm in my signature.

Helmuth 2010-01-13 16:26

Re: [Proposal pending] Add support for stopping player when headphones are uplugged
 
Please, dont STOP a song, PAUSE is even better. So you can resume it easy at the point it stopped playing. ;)

thp 2010-01-13 16:33

Re: [Proposal pending] Add support for stopping player when headphones are uplugged
 
No need to brainstorm - headphoned is what you want: http://thpinfo.com/2009/headphoned/

The Fremantle version is in the works, I'm just struggling with getting the upstart script working :)

See: http://talk.maemo.org/showthread.php?t=33215&page=5

chemist 2010-01-13 17:31

Re: Support for stopping player when headphones are unplugged
 
Moved from Brainstorm

thp 2010-01-14 00:13

Re: Support for stopping player when headphones are unplugged
 
FYI: headphoned 1.5 is now in Extras-Devel for Fremantle (Maemo 5). Usage is simple: Install and it will automatically send a PAUSE signal to Media Player, MPlayer and Panucci (whatever's running at the moment) when the 3.5mm jack detects an "unplugged" event.

Package page: http://maemo.org/packages/view/headphoned/

Happy public transit situation-avoiding!

Bec 2010-01-14 05:31

Re: Support for stopping player when headphones are unplugged
 
Awesome,

Would it be possible to detect other events such as button presses as well?
http://maemo.org/community/brainstor...n_input_reader

Thanks

torpedo48 2010-01-14 08:22

Re: Support for stopping player when headphones are unplugged
 
If you are interested in this enhancement, please go to this bug report:
https://bugs.maemo.org/show_bug.cgi?id=5797
Read all the comments, especially comment #13, which contains the best solution (until now), and vote for the bug. Actually voting for that bug means voting for comment #13, so if you have a better solution just propose it and let the others comment on it.


All times are GMT. The time now is 00:09.

vBulletin® Version 3.8.8