Headphone controls aren't interacting with music-app
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Music App |
Invalid
|
Wishlist
|
Unassigned |
Bug Description
In Android and iOS (and others) you have the ability to change music-tracks via a remote attached to the headphones.
In Android/iOS you can switch tracks by holding the middle button of your headset.
A short press will pause/unpause or start the music.
What I think needs to be implemented (feel free to remove this for a blueprint or similar):
1. Music-App:
To make it possible for an extern program to interact with music-apps "now playing" music app has to define a interface though.
2. Background-
I think there needs to be a "higher component" (a daemon or Mir?) which registers those button presses as "Shortcuts" or something simmilar, I don't however know who to tag except music-app.
3. Linux-Kernel:
Mapping the headphone-buttons to a event the implementation of "2." can poll/listen to.
At least for Android-Compatible headphones this is already implemented, If I press my headset-button in the terminal-app I can see a "~" char appearing.
Changed in music-app: | |
status: | New → Confirmed |
Changed in music-app: | |
status: | Confirmed → Triaged |
importance: | Low → Wishlist |
Thanks! Eventually we'll get someone to look into this--but it won't make it into 13.10. Sorry.