Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mac: report playback state to the MediaPlayer Command Center | der richter | 2020-01-26 | 1 | -11/+42 |
| | | | | | | some system logic for the global media key events depends on the right playback state. set the state properly to prevent more breakages in the future. | ||||
* | mac: add support for PLAYONLY and PAUSEONLY key codes to MediaPlayer | der richter | 2020-01-26 | 1 | -3/+3 |
| | | | | Fixes #7365 | ||||
* | mac: replace old event tap for media key support with MediaPlayer | der richter | 2019-12-15 | 1 | -0/+159 |
the old event tap has several problems, like no proper priority support or having to set accessibility permissions for mpv or the terminal. it is now replaced by the new MediaPlayer which has proper priority support and isn't as greedy as previously. this only includes Media Key support and not any of the other features included in the MediaPlayer framework, like proper Now Playing data (only set dummy data for now). this is only available on macOS 10.12.2 and higher. also removes some unnecessary redefines. Fixes #6389 |