media scwrypts v5 refactor
This commit is contained in:
15
scwrypts/media/youtube/yt-dlp.module.zsh
Normal file
15
scwrypts/media/youtube/yt-dlp.module.zsh
Normal file
@ -0,0 +1,15 @@
|
||||
#####################################################################
|
||||
|
||||
use youtube/get-download-path --group media
|
||||
|
||||
#####################################################################
|
||||
|
||||
DEPENDENCIES+=(yt-dlp)
|
||||
${scwryptsmodule}() {
|
||||
(
|
||||
cd -- "$(media.youtube.get-download-path)"
|
||||
yt-dlp \
|
||||
--restrict-filenames \
|
||||
$@
|
||||
)
|
||||
}
|
Reference in New Issue
Block a user