mpv 0.29.0-30-g6eb59fe (latest master) on MacOS Mojave 10.14.
./build/mpv a
[file] Cannot open file 'a' ...
Assertion failed: (self->_mk_tap_port != nil), function -[EventsResponder startMediaKeys]_block_invoke, file ../osdep/macosx_events.m, line 413.
Disable startMediaKeys in macosx_events.m, but that's not viable long term.
Latest MacOS requires accessibility permissions to access the media keys like this.
in case someone upgrades to Mojave on day one, and does not want to build mpv by himself
Here is a temporary solution
add
input-media-keys=no
to your mpv.conf file
It will at least make the mpv works, without media key support.
also look forward a long term solution
duplicate of #5908, fixed with #5953, another workaround https://github.com/mpv-player/mpv/issues/5908#issuecomment-424215013.
Most helpful comment
in case someone upgrades to Mojave on day one, and does not want to build mpv by himself
Here is a temporary solution
add
input-media-keys=noto your
mpv.conffileIt will at least make the mpv works, without media key support.
also look forward a long term solution