Fix STDERR spew from youtube-dl
This commit is contained in:
2
ptgdp
2
ptgdp
@@ -122,7 +122,7 @@ cachesong() {
|
|||||||
"${_config[ytdl_args]}" \
|
"${_config[ytdl_args]}" \
|
||||||
-x \
|
-x \
|
||||||
-o "$filename.%(ext)s" \
|
-o "$filename.%(ext)s" \
|
||||||
"$1")
|
"$1" 2>&1)
|
||||||
then
|
then
|
||||||
# Sanitize removes all periods, so this is safe
|
# Sanitize removes all periods, so this is safe
|
||||||
for file in "$filename".*; do
|
for file in "$filename".*; do
|
||||||
|
|||||||
Reference in New Issue
Block a user