From 8d22459c057599578b22ba4bcf1cb4a5f1948da8 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Tue, 27 Sep 2022 07:18:34 -0400 Subject: [PATCH] v1.0.253 - Make r128gain process less intensive Make single threaded --- root/scripts/audio.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/root/scripts/audio.sh b/root/scripts/audio.sh index 36f400e..e3b2cf4 100644 --- a/root/scripts/audio.sh +++ b/root/scripts/audio.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -scriptVersion="1.0.252" +scriptVersion="1.0.253" if [ -z "$lidarrUrl" ] || [ -z "$lidarrApiKey" ]; then lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)" if [ "$lidarrUrlBase" == "null" ]; then @@ -783,7 +783,7 @@ AddReplaygainTags () { # Input Data # $1 Folder path to scan and add tags log "$processNumber of $wantedListAlbumTotal :: $lidarrArtistName :: $lidarrAlbumTitle :: $lidarrAlbumType :: Adding Replaygain Tags using r128gain" - r128gain -r -a "$1" &>/dev/null + r128gain -r -c 1 -a "$1" &>/dev/null } NotifyLidarrForImport () {