Fixed Key Bindings bug on MacOS IINA #248
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
After following the Instructions for IINA to install Anime4k on IINA, the key binds would not work (no output on OSD or on IINA logs). However, when I was trying it with mpv (and using the same config directory), the commands for Anime4k worked.
Root Cause
Ultimately, I don't think this is due to Anime4k's installation method, but rather due to how IINA registers the key bindings in the active configuration file. I am not sure of any way to fix it from within Anime4k, so I am sharing the fix i found below.
Workaround
I followed the workaround from below and added the guide on how to implement on the install instructions for MacOS/IINA
Please refer to the original IINA issue for context