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