parent
12097968dd
commit
97d793e73e
1 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/with-contenv bash
|
#!/usr/bin/with-contenv bash
|
||||||
scriptVersion="2.7"
|
scriptVersion="2.8"
|
||||||
scriptName="Audio"
|
scriptName="Audio"
|
||||||
|
|
||||||
### Import Settings
|
### Import Settings
|
||||||
|
@ -472,9 +472,9 @@ DownloadProcess () {
|
||||||
if [ -z $arlToken ]; then
|
if [ -z $arlToken ]; then
|
||||||
rm -rf "$audioPath"/incomplete/*
|
rm -rf "$audioPath"/incomplete/*
|
||||||
log "$page :: $wantedAlbumListSource :: $processNumber of $wantedListAlbumTotal :: $lidarrArtistName :: $lidarrAlbumTitle :: $lidarrAlbumType :: All $failedDownloadAttemptThreshold Download Attempts failed, skipping..."
|
log "$page :: $wantedAlbumListSource :: $processNumber of $wantedListAlbumTotal :: $lidarrArtistName :: $lidarrAlbumTitle :: $lidarrAlbumType :: All $failedDownloadAttemptThreshold Download Attempts failed, skipping..."
|
||||||
else
|
else
|
||||||
DeezerClientTest
|
DeezerClientTest
|
||||||
if [ "$deezerClientTest" == "success" ];
|
if [ "$deezerClientTest" == "success" ]; then
|
||||||
log "$page :: $wantedAlbumListSource :: $processNumber of $wantedListAlbumTotal :: $lidarrArtistName :: $lidarrAlbumTitle :: $lidarrAlbumType :: All $failedDownloadAttemptThreshold Download Attempts failed, skipping..."
|
log "$page :: $wantedAlbumListSource :: $processNumber of $wantedListAlbumTotal :: $lidarrArtistName :: $lidarrAlbumTitle :: $lidarrAlbumType :: All $failedDownloadAttemptThreshold Download Attempts failed, skipping..."
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
@ -499,7 +499,7 @@ DownloadProcess () {
|
||||||
# If download failes X times, exit with error...
|
# If download failes X times, exit with error...
|
||||||
if [ $tidaldlFail -eq $failedDownloadAttemptThreshold ]; then
|
if [ $tidaldlFail -eq $failedDownloadAttemptThreshold ]; then
|
||||||
TidalClientTest
|
TidalClientTest
|
||||||
if [ "$tidalClientTest" == "success" ];
|
if [ "$tidalClientTest" == "success" ]; then
|
||||||
log "$page :: $wantedAlbumListSource :: $processNumber of $wantedListAlbumTotal :: $lidarrArtistName :: $lidarrAlbumTitle :: $lidarrAlbumType :: All $failedDownloadAttemptThreshold Download Attempts failed, skipping..."
|
log "$page :: $wantedAlbumListSource :: $processNumber of $wantedListAlbumTotal :: $lidarrArtistName :: $lidarrAlbumTitle :: $lidarrAlbumType :: All $failedDownloadAttemptThreshold Download Attempts failed, skipping..."
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue