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 #!/usr/bin/with-contenv bash
scriptVersion="2.46" scriptVersion="2.47"
scriptName="Audio" scriptName="Audio"
### Import Settings ### Import Settings
@ -650,10 +650,6 @@ DownloadProcess () {
fi fi
log "$page :: $wantedAlbumListSource :: $processNumber of $wantedListAlbumTotal :: $lidarrArtistName :: $lidarrAlbumTitle :: $lidarrAlbumType :: Processing files with beets..." log "$page :: $wantedAlbumListSource :: $processNumber of $wantedListAlbumTotal :: $lidarrArtistName :: $lidarrAlbumTitle :: $lidarrAlbumType :: Processing files with beets..."
ProcessWithBeets "$audioPath/incomplete" ProcessWithBeets "$audioPath/incomplete"
if [ -f /config/extended/beets-error ]; then
return
fi
fi fi
# Embed Lyrics into Flac files # Embed Lyrics into Flac files
@ -843,16 +839,6 @@ ProcessWithBeets () {
fi 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 () { DownloadQualityCheck () {