v2.41 - Notify Lidarr to import, let blackhole be managed by lidarr.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user