From 38c74270c3cc4e57ae2d68333845fa84e76bf457 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 3 Jun 2015 22:02:10 +0200 Subject: inpout.conf: make shift+o toggle between 2 states only The "osd" command cycles between 4 states (OSD level 0-3), which is probably confusing and inconvenient. OSD levels 0 and 2 are rarely needed. I would claim there is normally not much of a need to completely disable OSD by setting level 0 during playback. Level 2 is just slightly less information than level 3, and I'm not sure why it exists at all. Change it so that it toggles between level 3 and 1. Note that this ignores the default OSD level. If the default is 3, the first use of this key will set it to 3 again. Just assume 1 is the default. If someone complains, this could be improved. --- etc/input.conf | 2 +- etc/restore-old-bindings.conf | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/input.conf b/etc/input.conf index 0972fbb752..8c901f7f40 100644 --- a/etc/input.conf +++ b/etc/input.conf @@ -79,7 +79,7 @@ #> playlist-next # skip to next file #ENTER playlist-next # skip to next file #< playlist-prev # skip to previous file -#O osd # cycle through OSD mode +#O no-osd cycle_values osd-level 3 1 # cycle through OSD mode #o show-progress #P show-progress #I show-text "${filename}" # display filename in osd diff --git a/etc/restore-old-bindings.conf b/etc/restore-old-bindings.conf index ea0c664fa2..a9b34d1734 100644 --- a/etc/restore-old-bindings.conf +++ b/etc/restore-old-bindings.conf @@ -9,6 +9,10 @@ # # Older installations use ~/.mpv/input.conf instead. +# changed in mpv 0.10.0 + +O osd + # changed in mpv 0.7.0 ENTER playlist_next force -- cgit v1.2.3