v2.40 - Add secondary lidarr download scan import notification

This enables the older style of import notification
This commit is contained in:
RandomNinjaAtk
2024-04-12 04:38:27 -04:00
committed by GitHub
parent 28d6869098
commit 54f7b52b76

View File

@@ -1,5 +1,5 @@
#!/usr/bin/with-contenv bash
scriptVersion="2.39"
scriptVersion="2.40"
scriptName="Audio"
### Import Settings
@@ -724,8 +724,8 @@ DownloadProcess () {
LidarrTaskStatusCheck
fi
if [ -d "$audioPath/complete/$downloadedAlbumFolder" ]; then
NotifyLidarrForImport "$audioPath/complete/$downloadedAlbumFolder"
if [ -d "$importPath/$downloadedAlbumFolder" ]; then
NotifyLidarrForImport "$importPath/$downloadedAlbumFolder"
lidarrDownloadImportNotfication="true"
LidarrTaskStatusCheck
fi