kanishka-linux / kawaii-player

Multimedia player, media library manager and portable media server with PC-To-PC casting feature.
GNU General Public License v3.0
617 stars 44 forks source link

shortcuts in input.conf #11

Closed Joseph65 closed 6 years ago

Joseph65 commented 7 years ago

Shortcuts in input.conf in the directory ./config/kawaii-player/src/input.conf don't work i am adding my own shortcuts to that file.

kanishka-linux commented 7 years ago

input.conf was experimental in nature and did not work out quite well in overall setup and hence currently it has been disabled. I will try to address the issue in the next release.

kanishka-linux commented 7 years ago

I've added some quick fixes. First you'll need to install from latest source, then add 'MPV_INPUT_CONF=True' in the file '.config/kawaii-player/other_options.txt'. Once you'll add this line, the player will follow input.conf file for keyboard shortcuts. If some shortcuts are not written in './config/kawaii-player/src/input.conf' then it will follow global mpv shortcuts. This feature is working on latest mpv 0.26.0 . There were some problems in older versions of mpv in implementing this feature, therefore I had disabled it in the past. Now the feature looks stable, but still needs some more testing.

kanishka-linux commented 6 years ago

The issue has been fixed in latest release. The feature will only work with newer versions of mpv (most probably mpv with version 0.23 and greater).