mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-15 09:17:31 -08:00
update ytd_audio script
This commit is contained in:
parent
4afd847491
commit
b18b07bd33
@ -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"
|
||||
'')
|
||||
];
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user