From d4e82500ae4219dc7da9198c58147c5f6badbbb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Thu, 14 Apr 2022 13:40:11 +0200 Subject: [PATCH] feat(mpv): limit resolution --- configs/mpv.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/mpv.nix b/configs/mpv.nix index 171af6b..bc11f5f 100644 --- a/configs/mpv.nix +++ b/configs/mpv.nix @@ -18,6 +18,7 @@ in { programs.mpv = { enable = true; config = { + ytdl-format = "bestvideo[height<=?720][fps<=?30][vcodec!=?vp9]+bestaudio/best"; ytdl-raw-options = lib.concatStringsSep "," [''sub-lang="de,en"'' "write-sub=" "write-auto-sub="]; screenshot-template = "%F-%wH%wM%wS-%#04n"; };