From 19dad6a2bb0df23eda1abb25e114b41fc1cf052c Mon Sep 17 00:00:00 2001 From: Makario1337 <74052988+Makario1337@users.noreply.github.com> Date: Sun, 11 Dec 2022 15:55:18 +0100 Subject: [PATCH] 1.0.302 - Webhook on missing Deezer/Tidal Link --- root/scripts/Audio.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/root/scripts/Audio.sh b/root/scripts/Audio.sh index 984d81d..58c9ae0 100644 --- a/root/scripts/Audio.sh +++ b/root/scripts/Audio.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -scriptVersion="1.0.302" +scriptVersion="1.0.303" if [ -z "$lidarrUrl" ] || [ -z "$lidarrApiKey" ]; then lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)" if [ "$lidarrUrlBase" == "null" ]; then @@ -1162,6 +1162,7 @@ SearchProcess () { else echo "Update Musicbrainz Relationship Page: https://musicbrainz.org/artist/$lidarrArtistForeignArtistId/edit for \"${lidarrArtistName}\" with Deezer Artist Link" >> "/config/logs/deezer-artist-id-not-found.txt" chmod 777 "/config/logs/deezer-artist-id-not-found.txt" + NotifyWebhook "Error" "Update Musicbrainz Relationship Page: for ${lidarrArtistName} with Deezer Artist Link" fi skipDeezer=true fi @@ -1185,6 +1186,7 @@ SearchProcess () { else echo "Update Musicbrainz Relationship Page: https://musicbrainz.org/artist/$lidarrArtistForeignArtistId/edit for \"${lidarrArtistName}\" with Tidal Artist Link" >> "/config/logs/tidal-artist-id-not-found.txt" chmod 777 "/config/logs/tidal-artist-id-not-found.txt" + NotifyWebhook "Error" "Update Musicbrainz Relationship Page: for ${lidarrArtistName} with Tidal Artist Link" fi skipTidal=true fi