X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=blobdiff_plain;f=multimedia%2Fmpv%2Finput.conf;fp=multimedia%2Fmpv%2Finput.conf;h=bf52fc22f403a0caba3c97ccefc91d7ff80a06ea;hp=0000000000000000000000000000000000000000;hb=8442aaf94abd0faeda81b6d2700c5e81a3357649;hpb=fa4f8dee46debc5351b37d24a25bde34cae9ee12 diff --git a/multimedia/mpv/input.conf b/multimedia/mpv/input.conf new file mode 100644 index 0000000..bf52fc2 --- /dev/null +++ b/multimedia/mpv/input.conf @@ -0,0 +1,50 @@ +# Mpv input binding file. + +# Copyright (C) 2014 Simon Ruderich +# +# This file is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This file is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this file. If not, see . + + +# First restore many useful mappings which were dropped in 0.5.0. +o osd # cycle through OSD modes +RIGHT seek 10 +LEFT seek -10 +PGUP seek 600 +PGDWN seek -600 ++ add audio-delay 0.100 # change audio/video sync +- add audio-delay -0.100 +( add balance -0.1 # change audio balance +) add balance 0.1 + +# "Legacy bindings (may or may not be removed in the future)". Bind them here +# so they won't get removed. +! add chapter -1 # skip to previous chapter +@ add chapter 1 # next + +# Fix ENTER to quit mpv when playing the last file, changed in 0.7.0. Thanks +# to rossy in #mpv on Freenode (2014-12-07 06:14 CET) for the suggestion how +# to restore the old behavior. +ENTER playlist_next force + + +# Unbind keys I sometimes hit accidentally and don't need. +_ ignore # was cycle video +[ ignore # was scale playback speed +] ignore # dito +{ ignore # dito +} ignore # dito + +# Short seeks. +Shift+RIGHT seek 5 - exact +Shift+LEFT seek -5 - exact