v2.47 - Remove legacy code from recent changes

This commit is contained in:
RandomNinjaAtk 2024-08-07 14:22:57 +00:00 committed by GitHub
parent bfa5416537
commit e81fd95708
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,5 +1,5 @@
#!/usr/bin/with-contenv bash
scriptVersion="2.46"
scriptVersion="2.47"
scriptName="Audio"
### Import Settings
@ -650,10 +650,6 @@ DownloadProcess () {
fi
log "$page :: $wantedAlbumListSource :: $processNumber of $wantedListAlbumTotal :: $lidarrArtistName :: $lidarrAlbumTitle :: $lidarrAlbumType :: Processing files with beets..."
ProcessWithBeets "$audioPath/incomplete"
if [ -f /config/extended/beets-error ]; then
return
fi
fi
# Embed Lyrics into Flac files
@ -843,16 +839,6 @@ ProcessWithBeets () {
fi
if [ "$wantedAlbumListSource" == "missing" ]; then
log "$page :: $wantedAlbumListSource :: $processNumber of $wantedListAlbumTotal :: $lidarrArtistName :: $lidarrAlbumTitle :: $lidarrAlbumType :: ERROR :: Already Imported Album (Missing)"
rm -rf "$audioPath/incomplete"/*
touch /config/extended/beets-error
return
else
log "$page :: $wantedAlbumListSource :: $processNumber of $wantedListAlbumTotal :: $lidarrArtistName :: $lidarrAlbumTitle :: $lidarrAlbumType :: Importing Album (Cutoff)"
return
fi
}
DownloadQualityCheck () {