pause music if headphones are unplugged

Bug #1187054 reported by Danielle Foré
62
This bug affects 15 people
Affects Status Importance Assigned to Milestone
Wingpanel Sound Indicator
Fix Released
Wishlist
Djax

Bug Description

If a user unplugs a pair of headphones, we should send out an MPRIS pause.

Tags: pulseaudio

Related branches

Changed in elementaryos:
status: New → Confirmed
Revision history for this message
Danielle Foré (danrabbit) wrote :

It actually sounds like there's a PulseAudio module called "cork" that takes care of this.

tags: added: pulseaudio
Revision history for this message
Shelby Brinegar (razzberrypi) wrote :

This would be a very nice feature. I like the feature on my Android MP3 player very much. The music is paused until the user hits the 'play' button.
Another nice feature on my player is that there are two separate volumes. When the headphones are unplugged, the volume goes to the level it was at before the headphones were inserted. When the headphones are plugged in, the volume goes to the last volume level it was at when they were previously inserted. Can be very helpful at times.

Revision history for this message
Brett (bman1559) wrote :

If any one really wants something now

https://gist.github.com/BmanDesignsCanada/441576114f64a616ce9e

It does require xautomation which can just be installed with apt-get install xautomation
Then just add it to the startup programs and it works decently for now

Changed in elementaryos:
milestone: none → loki-beta1
Djax (parnold-x)
affects: elementaryos → wingpanel-indicator-sound
Changed in wingpanel-indicator-sound:
assignee: nobody → Djax (parnold-x)
milestone: loki-beta1 → none
status: Confirmed → In Progress
milestone: none → loki-beta1
RabbitBot (rabbitbot-a)
Changed in wingpanel-indicator-sound:
status: In Progress → Fix Committed
Changed in wingpanel-indicator-sound:
milestone: loki-beta1 → loki-alpha1
Cody Garver (codygarver)
Changed in wingpanel-indicator-sound:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.