if cat "/config/logs/deezer-artist-id-not-found.txt"| grep "https://musicbrainz.org/artist/$lidarrArtistForeignArtistId/relationships"| read;then
if cat "/config/logs/deezer-artist-id-not-found.txt"| grep "https://musicbrainz.org/artist/$lidarrArtistForeignArtistId/edit"| read;then
sleep 0.01
else
echo"Update Musicbrainz Relationship Page: https://musicbrainz.org/artist/$lidarrArtistForeignArtistId/relationships for \"${lidarrArtistName}\" with Deezer Artist Link" >> "/config/logs/deezer-artist-id-not-found.txt"
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"
if cat "/config/logs/tidal-artist-id-not-found.txt"| grep "https://musicbrainz.org/artist/$lidarrArtistForeignArtistId/relationships"| read;then
if cat "/config/logs/tidal-artist-id-not-found.txt"| grep "https://musicbrainz.org/artist/$lidarrArtistForeignArtistId/edit"| read;then
sleep 0.01
else
echo"Update Musicbrainz Relationship Page: https://musicbrainz.org/artist/$lidarrArtistForeignArtistId/relationships for \"${lidarrArtistName}\" with Tidal Artist Link" >> "/config/logs/tidal-artist-id-not-found.txt"
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"