From 862ddc9059883900024d3e41f6a86f259134035a Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 4 Sep 2025 20:14:56 +0200 Subject: ... --- user-profiles/mpv/default.nix | 1 + user-profiles/yt-dlp.nix | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'user-profiles') diff --git a/user-profiles/mpv/default.nix b/user-profiles/mpv/default.nix index 94f241c8..48893f49 100644 --- a/user-profiles/mpv/default.nix +++ b/user-profiles/mpv/default.nix @@ -105,6 +105,7 @@ }; config = { ytdl = true; + ytdl-format = "ytdl"; ytdl-raw-options = "sub-langs=\"${config.programs.yt-dlp.settings.sub-langs}\""; subs-with-matching-audio = false; audio-display = false; diff --git a/user-profiles/yt-dlp.nix b/user-profiles/yt-dlp.nix index 5c9858a6..f59a71b9 100644 --- a/user-profiles/yt-dlp.nix +++ b/user-profiles/yt-dlp.nix @@ -7,10 +7,10 @@ cookies-from-browser = "firefox::none"; mark-watched = true; format = lib.concatStringsSep "/" [ - "bestvideo*[width<=2560][height<=1440][fps<=60]+bestaudio" - "best[width<=2560][height<=1440][fps<=60]" - "bestvideo*+bestaudio" - "best" + "bestvideo*[width<=2560][height<=1440][fps<=60][vcodec!*=av01][vcodec!*=avc1]+bestaudio" + "best[width<=2560][height<=1440][fps<=60][vcodec!*=av01][vcodec!*=avc1]" + "bestvideo*[vcodec!*=av01][vcodec!*=avc1]+bestaudio" + "best[vcodec!*=av01][vcodec!*=avc1]" ]; embed-subs = true; embed-thumbnail = true; -- cgit v1.2.3