v2.41 - Notify Lidarr to import, let blackhole be managed by lidarr.

This commit is contained in:
RandomNinjaAtk
2024-04-12 16:23:51 -04:00
committed by GitHub
parent 54f7b52b76
commit 52a1b74f8e

View File

@@ -1,5 +1,5 @@
#!/usr/bin/with-contenv bash
scriptVersion="2.40"
scriptVersion="2.41"
scriptName="Audio"
### Import Settings
@@ -717,13 +717,6 @@ DownloadProcess () {
mv "$audioPath/complete/$downloadedAlbumFolder" "$importPath"
if [ -d "$importPath/$downloadedAlbumFolder" ]; then
LidarrProcessIt=$(curl -s "$arrUrl/api/v1/command" --header "X-Api-Key:"${arrApiKey} -H "Content-Type: application/json" --data-raw '{"name":"RefreshMonitoredDownloads"}')
log "$page :: $wantedAlbumListSource :: $processNumber of $wantedListAlbumTotal :: $lidarrArtistName :: $lidarrAlbumTitle :: $lidarrAlbumType :: LIDARR IMPORT NOTIFICATION SENT! :: $1"
lidarrDownloadImportNotfication="true"
LidarrTaskStatusCheck
fi
if [ -d "$importPath/$downloadedAlbumFolder" ]; then
NotifyLidarrForImport "$importPath/$downloadedAlbumFolder"
lidarrDownloadImportNotfication="true"