From 2c55e5a4e778ba7e33da6ea6c5382ea195819eef Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Mon, 5 Sep 2022 08:54:42 -0400 Subject: [PATCH] Add wmv --- 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 8e213fd..d390418 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 ".*/.*\.\(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 ".*/.*\.\(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..."