]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
multimedia: mpv: save secondary-sid to watch-later
authorSimon Ruderich <simon@ruderich.org>
Sat, 1 Apr 2023 08:09:24 +0000 (10:09 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sat, 1 Apr 2023 08:09:24 +0000 (10:09 +0200)
multimedia/mpv/input.conf
multimedia/mpv/mpv.conf

index b6dbd2b784558dd15683be571770717f2d98546c..ff6764043cdae0335f9bf52274b12324e7e5b6fc 100644 (file)
@@ -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
index 96ebf6d680f24e60769f941120e67f4b580e994c..31d6c8eff88e8d3cd104b4d24ddbab37fd6fec40 100644 (file)
@@ -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