From f6a93e120aab11b6453a6fb91f0893ecff4b727c Mon Sep 17 00:00:00 2001 From: Colin Date: Thu, 19 Sep 2024 01:13:31 +0000 Subject: [PATCH] yt-dlp: fix that downloaded files have ordinary mtimes --- hosts/common/programs/yt-dlp.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hosts/common/programs/yt-dlp.nix b/hosts/common/programs/yt-dlp.nix index 9a1c5a5af..2ab4756f2 100644 --- a/hosts/common/programs/yt-dlp.nix +++ b/hosts/common/programs/yt-dlp.nix @@ -27,7 +27,10 @@ in # see the CONFIGURATION section of `man yt-dlp`. # # this config effects standalone `yt-dlp` AND users of it such as `mpv https://youtube.com/...`. - # + + # don't set the file's mtime to the https video's upload/edit date + --no-mtime + # to avoid frame drops or desync on low-power devices (lappy, moby, ...) # limit the max resolution, framerate, and avoid using codecs without HW acceleration # source: