From 52a1b74f8e22a79a35993ff9ccda03f00d3ce5c0 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Fri, 12 Apr 2024 16:23:51 -0400 Subject: [PATCH] v2.41 - Notify Lidarr to import, let blackhole be managed by lidarr. --- lidarr/Audio.service.bash | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/lidarr/Audio.service.bash b/lidarr/Audio.service.bash index 38b6633..8df19f9 100644 --- a/lidarr/Audio.service.bash +++ b/lidarr/Audio.service.bash @@ -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"