fixed music downloading
This commit is contained in:
parent
fbf3516435
commit
b1d3c252b8
2
yt
2
yt
@ -76,7 +76,7 @@ lines() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
music() { # downloads a video, splitting by chapter and only saving the audio
|
music() { # downloads a video, splitting by chapter and only saving the audio
|
||||||
while "$1"; do
|
while test -n "$1"; do
|
||||||
yt-dlp -vx --split-chapters -o \
|
yt-dlp -vx --split-chapters -o \
|
||||||
"chapter:%(fulltitle)s - %(section_number)s %(section_title)s.%(ext)s" \
|
"chapter:%(fulltitle)s - %(section_number)s %(section_title)s.%(ext)s" \
|
||||||
"$1" --audio-quality 0 >> log 2>&1
|
"$1" --audio-quality 0 >> log 2>&1
|
||||||
|
Loading…
Reference in New Issue
Block a user