Skip to content

Commit e81fd95

Browse files
v2.47 - Remove legacy code from recent changes
1 parent bfa5416 commit e81fd95

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

lidarr/Audio.service.bash

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/with-contenv bash
2-
scriptVersion="2.46"
2+
scriptVersion="2.47"
33
scriptName="Audio"
44

55
### Import Settings
@@ -650,10 +650,6 @@ DownloadProcess () {
650650
fi
651651
log "$page :: $wantedAlbumListSource :: $processNumber of $wantedListAlbumTotal :: $lidarrArtistName :: $lidarrAlbumTitle :: $lidarrAlbumType :: Processing files with beets..."
652652
ProcessWithBeets "$audioPath/incomplete"
653-
654-
if [ -f /config/extended/beets-error ]; then
655-
return
656-
fi
657653
fi
658654

659655
# Embed Lyrics into Flac files
@@ -843,16 +839,6 @@ ProcessWithBeets () {
843839

844840
fi
845841

846-
if [ "$wantedAlbumListSource" == "missing" ]; then
847-
log "$page :: $wantedAlbumListSource :: $processNumber of $wantedListAlbumTotal :: $lidarrArtistName :: $lidarrAlbumTitle :: $lidarrAlbumType :: ERROR :: Already Imported Album (Missing)"
848-
rm -rf "$audioPath/incomplete"/*
849-
touch /config/extended/beets-error
850-
return
851-
else
852-
log "$page :: $wantedAlbumListSource :: $processNumber of $wantedListAlbumTotal :: $lidarrArtistName :: $lidarrAlbumTitle :: $lidarrAlbumType :: Importing Album (Cutoff)"
853-
return
854-
fi
855-
856842
}
857843

858844
DownloadQualityCheck () {

0 commit comments

Comments
 (0)