key-binding message has key name parameter only since mpv version 0.15.0 (as stated in manual), therefore trying to bind keys with earlier versions results in TypeError: _handle_key_binding_message() missing 1 required positional argument: 'key_name'.
This change makes this argument optional and default to None.
key-binding
message has key name parameter only since mpv version 0.15.0 (as stated in manual), therefore trying to bind keys with earlier versions results inTypeError: _handle_key_binding_message() missing 1 required positional argument: 'key_name'.
This change makes this argument optional and default to
None
.