From bd561b20c2ad4116d471fff611b092522f729731 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Sat, 24 Sep 2022 10:52:43 -0400 Subject: [PATCH 1/2] v1.0.250 - Bug fix Identified by: @Makario1337 --- 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 0686df5..9ae04bc 100644 --- a/root/scripts/audio.sh +++ b/root/scripts/audio.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -scriptVersion="1.0.249" +scriptVersion="1.0.250" if [ -z "$lidarrUrl" ] || [ -z "$lidarrApiKey" ]; then lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)" if [ "$lidarrUrlBase" == "null" ]; then @@ -1610,7 +1610,7 @@ FuzzyDeezerSearch () { fi # Reject release if less than the min track count - if [ "$deezerAlbumTrackCount" -lt "$lidarrAlbumReleasesMinTrackCoun"t ]; then + if [ "$deezerAlbumTrackCount" -lt "$lidarrAlbumReleasesMaxTrackCount" ]; then continue fi From 2098f9a0532937f14df2f4de7fe0f3c94f9021c4 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Sat, 24 Sep 2022 10:55:17 -0400 Subject: [PATCH 2/2] v1.0.251 - Bug fix for previous bug fix... Copy/pasta error.... --- 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 9ae04bc..b5eaa9b 100644 --- a/root/scripts/audio.sh +++ b/root/scripts/audio.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -scriptVersion="1.0.250" +scriptVersion="1.0.251" if [ -z "$lidarrUrl" ] || [ -z "$lidarrApiKey" ]; then lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)" if [ "$lidarrUrlBase" == "null" ]; then @@ -1610,7 +1610,7 @@ FuzzyDeezerSearch () { fi # Reject release if less than the min track count - if [ "$deezerAlbumTrackCount" -lt "$lidarrAlbumReleasesMaxTrackCount" ]; then + if [ "$deezerAlbumTrackCount" -lt "$lidarrAlbumReleasesMinTrackCount" ]; then continue fi