summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido Cella <guido@guidocella.xyz>2023-09-27 12:30:32 +0200
committerDudemanguy <random342@airmail.cc>2023-10-01 14:09:46 +0000
commit043189c2298ea6ee9d1d88143946e6b95e907db8 (patch)
tree4c74ca82b71d678cf32f1ef9fb2a5d25727b08a6
parent9d9e986e068fc47575ad93557ce9f92b5a992dae (diff)
downloadmpv-043189c2298ea6ee9d1d88143946e6b95e907db8.tar.bz2
mpv-043189c2298ea6ee9d1d88143946e6b95e907db8.tar.xz
restore-old-bindings.conf: remove unusable bindings
Remove keybindings for properties that have been removed because they can no longer be used even if you restore them. Replace dvb-channel-name with dvbin-channel-switch-offset. Fix the L keybinding: it was bound to cycle-values loop when loop was an alias for loop-playlist, but now it's an alias for loop-file. "osd" was a command that cycles osd-level from 0 to 3. Keep only the newest I show-text "${filename}" from mpv 0.26, the mpv 0.5 line for it is a mistake because it was bound to that in input.conf from a749c61437 (2012) until 2e84934be7 (2017), while mpv 0.5 is from 2014.
-rw-r--r--etc/restore-old-bindings.conf15
1 files changed, 4 insertions, 11 deletions
diff --git a/etc/restore-old-bindings.conf b/etc/restore-old-bindings.conf
index cbf3527a1f..54b1524cae 100644
--- a/etc/restore-old-bindings.conf
+++ b/etc/restore-old-bindings.conf
@@ -23,16 +23,14 @@ WHEEL_RIGHT add volume 2
# changed in mpv 0.26.0
-h cycle tv-channel -1 # previous channel
-k cycle tv-channel +1 # next channel
-H cycle dvb-channel-name -1 # previous channel
-K cycle dvb-channel-name +1 # next channel
+H cycle dvbin-channel-switch-offset up
+K cycle dvbin-channel-switch-offset down
I show-text "${filename}" # display filename in osd
# changed in mpv 0.24.0
-L cycle-values loop "inf" "no"
+L cycle-values loop-playlist "inf" "no"
# changed in mpv 0.10.0
@@ -56,11 +54,6 @@ RIGHT seek 10
LEFT seek -10
+ add audio-delay 0.100
- add audio-delay -0.100
-( add balance -0.1
-) add balance 0.1
F cycle sub-forced-events-only
-TAB cycle program
-A cycle angle
U stop
-o osd
-I show-text "${filename}"
+o cycle-values osd-level