v1.0.159 - bug fix for copypasta

pull/16/head
RandomNinjaAtk 2 years ago committed by GitHub
parent 8e3402a21c
commit 29f82028f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
scriptVersion="1.0.158" scriptVersion="1.0.159"
lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)" lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)"
if [ "$lidarrUrlBase" = "null" ]; then if [ "$lidarrUrlBase" = "null" ]; then
lidarrUrlBase="" lidarrUrlBase=""
@ -1542,7 +1542,7 @@ ArtistDeezerSearch () {
fi fi
# String Character Count test, quicker than the levenshtein method to allow faster processing # String Character Count test, quicker than the levenshtein method to allow faster processing
characterMath=$(( ${#tidalAlbumTitleClean} - ${#lidarrAlbumReleaseTitleClean} )) characterMath=$(( ${#deezerAlbumTitleClean} - ${#lidarrAlbumReleaseTitleClean} ))
if [ $characterMath -gt 5 ]; then if [ $characterMath -gt 5 ]; then
continue continue
elif [ $characterMath -lt 0 ]; then elif [ $characterMath -lt 0 ]; then

Loading…
Cancel
Save