A quick additional not: using "xdotool key XF86AudioPlay" and "xdotool key XF86AudioPause" works correctly, so maybe it's not all media keys that are broken and there's something odd about my Bluetooth one.
A quick additional not: using "xdotool key XF86AudioPlay" and "xdotool key XF86AudioPause" works correctly, so maybe it's not all media keys that are broken and there's something odd about my Bluetooth one.