v1.0.253 - Make r128gain process less intensive

Make single threaded
pull/91/head
RandomNinjaAtk 2 years ago committed by GitHub
parent 81c6109a85
commit 8d22459c05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 () {

Loading…
Cancel
Save