From 8d24fd101555500a80bb8a2b2bd34c62d5119c0b Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Thu, 14 May 2026 14:51:47 +0200 Subject: mpv: move format selection into mpv configuration --- config/mpv/config | 1 + config/qutebrowser/config.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config/mpv/config b/config/mpv/config index fc0a6d1..55050e0 100644 --- a/config/mpv/config +++ b/config/mpv/config @@ -1,2 +1,3 @@ sub-auto=fuzzy ytdl-raw-options=ignore-config=,sub-format=en,write-sub= +ytdl-format=bestvideo[height<=?1080]+bestaudio/best diff --git a/config/qutebrowser/config.py b/config/qutebrowser/config.py index c238076..1877b20 100644 --- a/config/qutebrowser/config.py +++ b/config/qutebrowser/config.py @@ -1,7 +1,7 @@ import os # Keybindings -mpv_cmd = 'mpv --ytdl-format=best[height<=1080]' +mpv_cmd = 'mpv' config.bind('x', f'spawn {mpv_cmd} {{url}}') config.bind(',x', f'hint links spawn {mpv_cmd} {{hint-url}}') -- cgit v1.2.3