Merge pull request #105 from RandomUser345/main

Change releasedate comparison to greater or equal rather than greater…
pull/113/head
RandomNinjaAtk 2 years ago committed by GitHub
commit 8f00a1e1de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,5 @@
#!/usr/bin/env bash
scriptVersion="1.0.255"
scriptVersion="1.0.256"
if [ -z "$lidarrUrl" ] || [ -z "$lidarrApiKey" ]; then
lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)"
if [ "$lidarrUrlBase" == "null" ]; then
@ -1109,7 +1109,7 @@ SearchProcess () {
if [[ ${currentDateClean} -gt ${lidarrAlbumReleaseDateClean} ]]; then
if [[ ${currentDateClean} -ge ${lidarrAlbumReleaseDateClean} ]]; then
log "$processNumber of $wantedListAlbumTotal :: $lidarrArtistName :: $lidarrAlbumTitle :: $lidarrAlbumType :: Starting Search..."
else
log "$processNumber of $wantedListAlbumTotal :: $lidarrArtistName :: $lidarrAlbumTitle :: $lidarrAlbumType :: Album ($lidarrAlbumReleaseDate) has not been released, skipping..."

Loading…
Cancel
Save