update ytd_audio script

This commit is contained in:
Tyler Starr 2024-10-14 17:15:12 -07:00
parent 4afd847491
commit b18b07bd33

View File

@ -15,10 +15,9 @@ in {
(pkgs.writeScriptBin "ytd_audio" ''
#!/usr/bin/env bash
linux-mount-engi
yt-dlp -f "bestaudio/best" \
--embed-metadata --embed-thumbnail \
-ciw -o "%(title)s.%(ext)s" \
-v --extract-audio "$1"
yt-dlp -x \
-ciw -o "%(title)s.%(ext)s" \
--embed-thumbnail -S acodec:m4a "$1"
'')
];
};