From: Simon Ruderich Date: Sat, 1 Apr 2023 08:09:24 +0000 (+0200) Subject: multimedia: mpv: save secondary-sid to watch-later X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=d6d4106445e4a4bcbe318cfa05792544bfabc8ce;p=config%2Fdotfiles.git multimedia: mpv: save secondary-sid to watch-later --- diff --git a/multimedia/mpv/input.conf b/multimedia/mpv/input.conf index b6dbd2b..ff67640 100644 --- a/multimedia/mpv/input.conf +++ b/multimedia/mpv/input.conf @@ -50,3 +50,8 @@ _ ignore # was cycle video # Short seeks. Shift+RIGHT seek 5 - exact Shift+LEFT seek -5 - exact + +# Bindings for secondary-sid; necessary because CLI option --secondary-sid is +# not saved in watch-later state files +x cycle secondary-sid +X cycle secondary-sid down diff --git a/multimedia/mpv/mpv.conf b/multimedia/mpv/mpv.conf index 96ebf6d..31d6c8e 100644 --- a/multimedia/mpv/mpv.conf +++ b/multimedia/mpv/mpv.conf @@ -74,4 +74,9 @@ demuxer-max-bytes=300MiB # Very useful when watching series. prefetch-playlist=yes +# Save secondary-sid to watch-later state files. Note that this won't work if +# --secondary-sid is used on the command line (mpv only saves settings with a +# different value). +watch-later-options-append=secondary-sid + # vim: ft=mplayerconf