v1.0.250 - Bug fix

Identified by: @Makario1337
pull/81/head^2
RandomNinjaAtk 2 years ago committed by GitHub
parent 4531a57a50
commit bd561b20c2
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.249" scriptVersion="1.0.250"
if [ -z "$lidarrUrl" ] || [ -z "$lidarrApiKey" ]; then if [ -z "$lidarrUrl" ] || [ -z "$lidarrApiKey" ]; then
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
@ -1610,7 +1610,7 @@ FuzzyDeezerSearch () {
fi fi
# Reject release if less than the min track count # Reject release if less than the min track count
if [ "$deezerAlbumTrackCount" -lt "$lidarrAlbumReleasesMinTrackCoun"t ]; then if [ "$deezerAlbumTrackCount" -lt "$lidarrAlbumReleasesMaxTrackCount" ]; then
continue continue
fi fi

Loading…
Cancel
Save