Fix STDERR spew from youtube-dl

This commit is contained in:
2020-01-23 14:31:34 -06:00
parent 89ebdfdbb8
commit 23d388c141

2
ptgdp
View File

@@ -122,7 +122,7 @@ cachesong() {
"${_config[ytdl_args]}" \
-x \
-o "$filename.%(ext)s" \
"$1")
"$1" 2>&1)
then
# Sanitize removes all periods, so this is safe
for file in "$filename".*; do