RFC: Pause media players when headphones are unplugged
I would like to add a small patch to the mpris.js code in gnome-shell so that it detects when a headphone is unplugged and send a pause to the music players. This is the behavior that is common on smartphones and it seems to be useful behavior.
If this makes sense I am happy to look into this and propose a patch (it seems like volume.js already has all the code needed for detection of headphone and (un)plug so this is hopefully relatively straightforward. If you feel like this is the wrong approach just close with WONTFIX and I will see if I can find another solution.