1.11 - Only process MP3's iif there are multiple files

master
RandomNinjaAtk 2 years ago committed by GitHub
parent d067dbcdee
commit 35033b1478
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2,7 +2,7 @@
export LC_ALL=C.UTF-8
export LANG=C.UTF-8
TITLESHORT="APP"
ScriptVersion="1.10"
ScriptVersion="1.11"
SECONDS=0
set -e
@ -36,7 +36,7 @@ echo "Creating Chapters File and File list for FFMPEG processing..."
if [ $(find "$1" -type f -iname "*.mp3" | wc -l) -gt 0 ]; then
if [ $(find "$1" -type f -iname "*.mp3" | wc -l) -gt 1 ]; then
OLDIFS="$IFS"
IFS=$'\n'
start=0

Loading…
Cancel
Save