1.0.237 - Use artist MBZ id for tracking if all videos were processed for artist

pull/60/head
RandomNinjaAtk 2 years ago committed by GitHub
parent 741ce042e7
commit 69bb20516d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,5 @@
#!/usr/bin/env bash
scriptVersion="1.0.236"
scriptVersion="1.0.237"
if [ -z "$lidarrUrl" ] || [ -z "$lidarrApiKey" ]; then
lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)"
if [ "$lidarrUrlBase" = "null" ]; then
@ -1052,8 +1052,7 @@ SearchProcess () {
if [ "$enableVideoScript" == "true" ]; then
if [ -d /config/extended/logs/video/complete ]; then
lidarrArtistVideoFolder="$(echo "$lidarrArtistFolder" | sed "s/ (.*)$//g" | sed "s/\.$//g")" # Plex Sanitization, remove disambiguation
if [ -f "/config/extended/logs/video/complete/$lidarrArtistVideoFolder" ]; then
if [ -f "/config/extended/logs/video/complete/$lidarrArtistForeignArtistId" ]; then
log "$processNumber of $wantedListAlbumTotal :: $lidarrArtistName :: $lidarrAlbumTitle :: $lidarrAlbumType :: Skipping until all videos are processed for the artist..."
continue
fi

Loading…
Cancel
Save