summaryrefslogtreecommitdiff
path: root/user-profiles
diff options
context:
space:
mode:
Diffstat (limited to 'user-profiles')
-rw-r--r--user-profiles/mpv/default.nix1
-rw-r--r--user-profiles/yt-dlp.nix8
2 files changed, 5 insertions, 4 deletions
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 @@
105 }; 105 };
106 config = { 106 config = {
107 ytdl = true; 107 ytdl = true;
108 ytdl-format = "ytdl";
108 ytdl-raw-options = "sub-langs=\"${config.programs.yt-dlp.settings.sub-langs}\""; 109 ytdl-raw-options = "sub-langs=\"${config.programs.yt-dlp.settings.sub-langs}\"";
109 subs-with-matching-audio = false; 110 subs-with-matching-audio = false;
110 audio-display = false; 111 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 @@
7 cookies-from-browser = "firefox::none"; 7 cookies-from-browser = "firefox::none";
8 mark-watched = true; 8 mark-watched = true;
9 format = lib.concatStringsSep "/" [ 9 format = lib.concatStringsSep "/" [
10 "bestvideo*[width<=2560][height<=1440][fps<=60]+bestaudio" 10 "bestvideo*[width<=2560][height<=1440][fps<=60][vcodec!*=av01][vcodec!*=avc1]+bestaudio"
11 "best[width<=2560][height<=1440][fps<=60]" 11 "best[width<=2560][height<=1440][fps<=60][vcodec!*=av01][vcodec!*=avc1]"
12 "bestvideo*+bestaudio" 12 "bestvideo*[vcodec!*=av01][vcodec!*=avc1]+bestaudio"
13 "best" 13 "best[vcodec!*=av01][vcodec!*=avc1]"
14 ]; 14 ];
15 embed-subs = true; 15 embed-subs = true;
16 embed-thumbnail = true; 16 embed-thumbnail = true;