This would indeed be a very useful application - and seems like a well implemented one (no interface, etc - just auto-pause when headset is unplugged) - if it would support more of the media players.
Ok you asked for it.. headphoned 1.3 (currently wandering through the autobuilder) gained support for pausing Panucci in addition to the built-in Media Player. The only other media player that is on my roadmap would be MPlayer, and that will be a bit more tricky
headphoned 1.3 is now in Extras-Devel for Chinook and Diablo. Please test this release, and report any issues here. I will push the package to Extras if no bugs surface in the next few days. Thankd for your help!
I installed 1.3 and, playing with panucci it seems to pause the player perfectly.
If I play through the speakers and insert the headphones it continues to play through the headphones without a pause - which I think works great.
headphoned 1.4 is now in Extras-Devel for Chinook and Diablo, and should support MPlayer in addition to Panucci and Media Player. This should also work for applications that use MPlayer as their backend (e.g. Canola).
headphoned 1.4 is now in Extras-Devel for Chinook and Diablo, and should support MPlayer in addition to Panucci and Media Player. This should also work for applications that use MPlayer as their backend (e.g. Canola).
Any change of getting this functionality for N900? At least I could not find a way to stop the music from playing in N900 speakers when the headphone plug was pulled out.
Any change of getting this functionality for N900? At least I could not find a way to stop the music from playing in N900 speakers when the headphone plug was pulled out.
The N900 maintains two different volume levels (for plugged and unplugged headphones), so to avoid public transport situations, you just have to unplug your headphones, set the volume to zero, plug them in again, and set your preferred volume. Whenever the headphones get unplugged, the volume will be muted, and when they are reconnected, the volume will be restored.
That said, there might be a use case for having headphoned the N900 as well, just have not got around to do it, as the volume feature described above fixes public transport situations for me already
The N900 maintains two different volume levels (for plugged and unplugged headphones), so to avoid public transport situations, you just have to unplug your headphones, set the volume to zero, plug them in again, and set your preferred volume. Whenever the headphones get unplugged, the volume will be muted, and when they are reconnected, the volume will be restored.
That said, there might be a use case for having headphoned the N900 as well, just have not got around to do it, as the volume feature described above fixes public transport situations for me already
OK, thanks! That also explains why I almost blew my ears: I set the volume quiet when using speakers, connected the headphones and started to wonder why the music was so terribly loud...
Is it by the way possible to send other commands besides PAUSE with your program? I have understood that it is for example possible to control Nokia 5800 XpressMusic's music player with Nokia AD-54 remote control. I tested the AD-54 with N900 and it does not work. I was just wondering if this is a hardware limitation or software limitation.
The N900 maintains two different volume levels (for plugged and unplugged headphones), so to avoid public transport situations, you just have to unplug your headphones, set the volume to zero, plug them in again, and set your preferred volume. Whenever the headphones get unplugged, the volume will be muted, and when they are reconnected, the volume will be restored.
now does this mute your phone so you can't hear it ring, or does that not factor into the equation?