From 0653e45126f6f56386597b4408a39cbf378cd99c Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Mon, 5 Sep 2022 09:59:14 -0400 Subject: [PATCH] bugfix --- root/scripts/video-pp.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/root/scripts/video-pp.bash b/root/scripts/video-pp.bash index d390418..bdc1180 100644 --- a/root/scripts/video-pp.bash +++ b/root/scripts/video-pp.bash @@ -61,7 +61,7 @@ function Main { fi # check for video files - if find "$1" -type f -regex ".*/.*\.\((wmv\|mkv\|mp4\|avi\)" | read; then + if find "$1" -type f -regex ".*/.*\.\(wmv\|mkv\|mp4\|avi\)" | read; then sleep 0.1 else log "ERROR: No video files found for processing" @@ -378,7 +378,7 @@ function Main { rm "$1/sma-conversion-check" fi else - if find "$1" -type f -regex ".*/.*\.\((wmv\|mkv\|mp4\|avi\)" | read; then + if find "$1" -type f -regex ".*/.*\.\(wmv\|mkv\|mp4\|avi\)" | read; then log "Post Processing Complete!" else log "ERROR: Post Processing failed, no video files found..."