From 84bc23ff0dd999e575c5327c14faffa8cca0997a Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Thu, 27 Jul 2023 17:01:38 +0000 Subject: [PATCH] v1.8 - bug fix for detecting non split albums setting and typo fix --- sabnzbd/audio.bash | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/sabnzbd/audio.bash b/sabnzbd/audio.bash index e34a4d6..7dbb678 100644 --- a/sabnzbd/audio.bash +++ b/sabnzbd/audio.bash @@ -1,6 +1,6 @@ #!/usr/bin/with-contenv bash TITLESHORT="APP" -scriptVersion="1.7" +scriptVersion="1.8" scriptName="Audio" #### Import Settings @@ -71,11 +71,11 @@ Main () { log "Audio Quality Match Verification: DISABLED" fi - if [ "${DetectNonSplitAlubms}" = TRUE ]; then - log "Detect Non Split Alubms: ENABLED" + if [ "${DetectNonSplitAlbums}" = TRUE ]; then + log "Detect Non Split Albums: ENABLED" log "Max File Size: $MaxFileSize" else - log "DetectNonSplitAlubms: DISABLED" + log "DetectNonSplitAlbums: DISABLED" fi log "Processing: $1" @@ -269,7 +269,9 @@ Main () { settings "$1" clean "$1" - detectsinglefilealbums "$1" + if [ "${DetectNonSplitAlbums}" = TRUE ]; then + detectsinglefilealbums "$1" + fi if [ "${AudioVerification}" = TRUE ]; then verify "$1"