lidarrAlbumReleaseTitleClean=$(echo"$lidarrAlbumReleaseTitle"| sed -e "s%[^[:alpha:][:digit:]]%%g" -e "s/ */ /g"| sed 's/^[.]*//'| sed 's/[.]*$//g'| sed 's/^ *//g'| sed 's/ *$//g')
log ":: $1 :: $lidarrArtistName :: $lidarrAlbumTitle :: Filtering results by lyric type and first word ($lidarrAlbumReleaseTitleFirstWord)..."
log ":: $1 :: $lidarrArtistName :: $lidarrAlbumTitle :: Artist Search :: Deezer :: $type :: Filtering results by lyric type and first word ($lidarrAlbumReleaseTitleFirstWord)..."
log ":: $1 :: $lidarrArtistName :: $lidarrAlbumTitle :: $lidarrAlbumReleaseTitleClean vs $deezerAlbumTitleClean :: Deezer Match Not Found :: Calculated Difference ($diff) greater than 5"
log ":: $1 :: $lidarrArtistName :: $lidarrAlbumTitle :: Artist Search :: Deezer :: $type :: $lidarrAlbumReleaseTitleClean vs $deezerAlbumTitleClean :: Deezer Match Not Found :: Calculated Difference ($diff) greater than 5"
fi
done
done
@ -1530,12 +1524,7 @@ ArtistDeezerSearch () {
if[$alreadyImported=true];then
return
else
if[$4=true];then
type=Explicit
else
type=Clean
fi
log ":: $1 :: $lidarrArtistName :: $lidarrAlbumTitle :: ERROR :: Album not found via $type Artist Search..."
log ":: $1 :: $lidarrArtistName :: $lidarrAlbumTitle :: Artist Search :: Deezer :: $type :: ERROR :: Album not found..."
fi
}
@ -1555,14 +1544,14 @@ FuzzyDeezerSearch () {
lidarrArtistNameSanitized="$(echo"$lidarrArtistName"| sed -e "s%[^[:alpha:][:digit:]]% %g" -e "s/ */ /g")"
lidarrAlbumReleaseTitleClean=$(echo"$lidarrAlbumReleaseTitle"| sed -e "s%[^[:alpha:][:digit:]]%%g" -e "s/ */ /g"| sed 's/^[.]*//'| sed 's/[.]*$//g'| sed 's/^ *//g'| sed 's/ *$//g')
deezerAlbumTitleClean=$(echo${deezerAlbumTitle}| sed -e "s%[^[:alpha:][:digit:]]%%g" -e "s/ */ /g"| sed 's/^[.]*//'| sed 's/[.]*$//g'| sed 's/^ *//g'| sed 's/ *$//g')
log ":: $1 :: $lidarrArtistName :: $lidarrAlbumTitle :: $lidarrAlbumReleaseTitleClean vs $deezerAlbumTitleClean :: Checking for Match..."
log ":: $1 :: $lidarrArtistName :: $lidarrAlbumTitle :: $lidarrAlbumReleaseTitleClean vs $deezerAlbumTitleClean :: Deezer Match Not Found :: Calculated Difference ($diff) greater than 5"
log ":: $1 :: $lidarrArtistName :: $lidarrAlbumTitle :: Fuzzy Search :: Deezer :: $lidarrAlbumReleaseTitleClean vs $deezerAlbumTitleClean :: Deezer Match Not Found :: Calculated Difference ($diff) greater than 5"
fi
done
else
log ":: $1 :: $lidarrArtistName :: $lidarrAlbumTitle :: ERROR :: No results found via Fuzzy Search..."
log ":: $1 :: $lidarrArtistName :: $lidarrAlbumTitle :: Fuzzy Search :: Deezer :: ERROR :: No results found via Fuzzy Search..."
lidarrAlbumReleaseTitleClean=$(echo"$lidarrAlbumReleaseTitle"| sed -e "s%[^[:alpha:][:digit:]]%%g" -e "s/ */ /g"| sed 's/^[.]*//'| sed 's/[.]*$//g'| sed 's/^ *//g'| sed 's/ *$//g')
log ":: $1 :: $lidarrArtistName :: $lidarrAlbumTitle :: Filtering results by lyric type and first word ($lidarrAlbumReleaseTitleFirstWord)..."
log ":: $1 :: $lidarrArtistName :: $lidarrAlbumTitle :: Artist Search :: Tidal :: $type :: Filtering results by lyric type and first word ($lidarrAlbumReleaseTitleFirstWord)..."
log ":: $1 :: $lidarrArtistName :: $lidarrAlbumTitle :: $lidarrAlbumReleaseTitleClean vs $tidalAlbumTitleClean :: Tidal Match Not Found :: Calculated Difference ($diff) greater than 5"
log ":: $1 :: $lidarrArtistName :: $lidarrAlbumTitle :: Artist Search :: Tidal :: $type :: $lidarrAlbumReleaseTitleClean vs $tidalAlbumTitleClean :: Tidal Match Not Found :: Calculated Difference ($diff) greater than 5"
fi
done
done
@ -1675,12 +1674,7 @@ ArtistTidalSearch () {
if[$alreadyImported=true];then
return
else
if[$4=true];then
type=Explicit
else
type=Clean
fi
log ":: $1 :: $lidarrArtistName :: $lidarrAlbumTitle :: ERROR :: Album not found via $type Artist Search..."
log ":: $1 :: $lidarrArtistName :: $lidarrAlbumTitle :: Artist Search :: Tidal :: $type :: ERROR :: Album not found"
lidarrAlbumReleaseTitleClean=$(echo"$lidarrAlbumReleaseTitle"| sed -e "s%[^[:alpha:][:digit:]]%%g" -e "s/ */ /g"| sed 's/^[.]*//'| sed 's/[.]*$//g'| sed 's/^ *//g'| sed 's/ *$//g')
tidalAlbumTitleClean=$(echo${tidalAlbumTitle}| sed -e "s%[^[:alpha:][:digit:]]%%g" -e "s/ */ /g"| sed 's/^[.]*//'| sed 's/[.]*$//g'| sed 's/^ *//g'| sed 's/ *$//g')
log ":: $1 :: $lidarrArtistName :: $lidarrAlbumTitle :: $lidarrAlbumReleaseTitleClean vs $tidalAlbumTitleClean :: Checking for Match..."
log ":: $1 :: $lidarrArtistName :: $lidarrAlbumTitle :: $lidarrAlbumReleaseTitleClean vs $tidalAlbumTitleClean :: Tidal Match Not Found :: Calculated Difference ($diff) greater than 5"
log ":: $1 :: $lidarrArtistName :: $lidarrAlbumTitle :: Fuzzy Search :: Tidal :: $type :: $lidarrAlbumReleaseTitleClean vs $tidalAlbumTitleClean :: Tidal Match Not Found :: Calculated Difference ($diff) greater than 5"
fi
done
else
if[$3=true];then
type=Explicit
else
type=Clean
fi
log ":: $1 :: $lidarrArtistName :: $lidarrAlbumTitle :: ERROR :: No results found via Fuzzy $type Search..."