|
|
|
@ -224,7 +224,17 @@ SearchProcess () {
|
|
|
|
|
continue
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
if [ "$dlClientSource" = "deezer" ];then
|
|
|
|
|
skipTidal=true
|
|
|
|
|
skipDeezer=false
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
if [ "$dlClientSource" = "tidal" ];then
|
|
|
|
|
skipDeezer=true
|
|
|
|
|
skipTidal=false
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
if [ "$skipDeezer" = "false" ]; then
|
|
|
|
|
if [ -z "$deezerArtistUrl" ]; then
|
|
|
|
|
log ":: $processNumber of $wantedListAlbumTotal :: $lidarrArtistName :: $lidarrAlbumTitle :: DEEZER :: ERROR :: musicbrainz id: $lidarrArtistForeignArtistId is missing Tidal link, see: \"/config/logs/error/$lidarrArtistNameSanitized.log\" for more detail..."
|
|
|
|
|
if [ ! -d /config/logs/error ]; then
|
|
|
|
@ -235,6 +245,7 @@ SearchProcess () {
|
|
|
|
|
fi
|
|
|
|
|
skipDeezer=true
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
if [ "$skipDeezer" = "false" ]; then
|
|
|
|
|
for dId in ${!deezeArtistIds[@]}; do
|
|
|
|
@ -248,7 +259,7 @@ SearchProcess () {
|
|
|
|
|
done
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
skipTidal=false
|
|
|
|
|
if [ "$skipTidal" = "false" ]; then
|
|
|
|
|
if [ -z "$tidalArtistUrl" ]; then
|
|
|
|
|
log ":: $processNumber of $wantedListAlbumTotal :: $lidarrArtistName :: $lidarrAlbumTitle :: TIDAL :: ERROR :: musicbrainz id: $lidarrArtistForeignArtistId is missing Tidal link, see: \"/config/logs/error/$lidarrArtistNameSanitized.log\" for more detail..."
|
|
|
|
|
if [ ! -d /config/logs/error ]; then
|
|
|
|
@ -259,6 +270,7 @@ SearchProcess () {
|
|
|
|
|
fi
|
|
|
|
|
skipTidal=true
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
if [ "$skipTidal" = "false" ]; then
|
|
|
|
|
if [ ! -d /config/cache/tidal ]; then
|
|
|
|
@ -682,14 +694,19 @@ LidarrTaskStatusCheck () {
|
|
|
|
|
done
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if [ "$dlClientSource" = "deezer" ] || [ "$dlClientSource" = "tidal" ] || [ "$dlClientSource" = "both" ];then
|
|
|
|
|
GetMissingCutOffList
|
|
|
|
|
SearchProcess
|
|
|
|
|
else
|
|
|
|
|
log ":: ERROR :: No valid dlClientSource set"
|
|
|
|
|
log ":: ERROR :: Expected configuration :: deezer or tidal or both"
|
|
|
|
|
log ":: ERROR :: dlClientSource set as: \"$dlClientSource\""
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
if [ "$addRelatedArtists" = "true" ]; then
|
|
|
|
|
if [ "$AddRelatedArtists" = "true" ]; then
|
|
|
|
|
AddRelatedArtists
|
|
|
|
|
else
|
|
|
|
|
log ":: ERROR :: AddRelatedArtists is disabled"
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
exit
|
|
|
|
|