From d6d4106445e4a4bcbe318cfa05792544bfabc8ce Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sat, 1 Apr 2023 10:09:24 +0200 Subject: [PATCH] multimedia: mpv: save secondary-sid to watch-later --- multimedia/mpv/input.conf | 5 +++++ multimedia/mpv/mpv.conf | 5 +++++ 2 files changed, 10 insertions(+) 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 -- 2.45.2