From 0ea84fb450b0e1f9f2ed3dcf00e80afa519bcf37 Mon Sep 17 00:00:00 2001 From: ksyasuda Date: Sat, 26 Mar 2022 11:56:37 -0700 Subject: [PATCH] fix episode naming for aria2c download --- ani-cli | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ani-cli b/ani-cli index dca84df..0089c8d 100755 --- a/ani-cli +++ b/ani-cli @@ -97,7 +97,7 @@ get_dpage_link() { download() { case "$2" in *mp4*) - aria2c --summary-interval=0 -x 16 -s 16 --referer="$1" "$2" --dir="$5" -o "${3}-${4}.mp4" --download-result=hide + aria2c --summary-interval=0 -x 16 -s 16 --referer="$1" "$2" --dir="$5" -o "${4}" --download-result=hide ;; *) ffmpeg -loglevel error -stats -referer "$1" -i "$2" -c copy "$5/${3}-${4}.mp4"