From 9bfa44aa49583ec26e808553c539b4801bc0de52 Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Thu, 1 May 2025 22:10:11 -0700 Subject: [PATCH] beatific: yt-dlp aliases --- modules/beatific.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/beatific.nix b/modules/beatific.nix index b723b13..4cb3fb4 100644 --- a/modules/beatific.nix +++ b/modules/beatific.nix @@ -69,13 +69,19 @@ in { cp = "cp -rp"; xo = "xdg-open"; scp = "scp -p"; + # cp:mv::scp:this smv = "rsync -av --remove-source-files"; + # Hide ffmpeg banners ffprobe = "ffprobe -hide_banner"; ffmpeg = "ffmpeg -hide_banner"; + # Short directory nav ".." = "cd .."; "..." = "cd ../.."; "...." = "cd ../../.."; "....." = "cd ../../../.."; + # yt-dlp aliases + yt-dlp-archive = "yt-dlp --write-description --write-annotations --write-subs --write-url-link --remux-video mkv --write-thumbnail --write-info-json --continue --sub-langs en --convert-subs srt --sleep-interval 10 --retry-sleep 10 --sleep-requests 5"; + yt-dlp-date = ''yt-dlp -o "%(upload_date)s - %(title)s [%(id)s].%(ext)s"''; }; security.sudo.extraRules = [{ users = [ "tvb" ];