Comment 10 for bug 1397142

Revision history for this message
Lalo Martins (lalo.martins) wrote : Re: Sony SRS-BTM8 play/pause key not fully effective in Rhythmbox or Banshee

+1 here, mine is a Philips SHB7150, and the problem was already present at least in 14.10, maybe earlier.

Reason I'm commenting though: playing around with xev, it seems to take some black magic to predict whether I'll get XF86AudioPlay or XF86AudioPause.

- If no app is playing, it's always XF86AudioPlay, regardless what combination of apps is running.
- If rhythmbox is playing, it's XF86AudioPause.
- If gmusicbrowser, mpv, or vlc is playing, it alternates between the two (but neither app responds to it regardless of state and event).
- And mplayer probably doesn't register itself with whatever it is, since it always gets XF86AudioPlay.

I also found that if vlc or mpv is focused, it does play when it's paused and I press the button; when it's playing, it will only pause every other press (thinking of the xev experiment above, I guess when the generated keysym is XF86AudioPause). The same is not true of gmusicbrowser. As for mplayer, if it's focused it responds exactly right.