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" '' (pkgs.writeScriptBin "ytd_audio" ''
#!/usr/bin/env bash #!/usr/bin/env bash
linux-mount-engi linux-mount-engi
yt-dlp -f "bestaudio/best" \ yt-dlp -x \
--embed-metadata --embed-thumbnail \ -ciw -o "%(title)s.%(ext)s" \
-ciw -o "%(title)s.%(ext)s" \ --embed-thumbnail -S acodec:m4a "$1"
-v --extract-audio "$1"
'') '')
]; ];
}; };