From 10010cb4155b0585da2b4998c88abe0bc429a184 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Fri, 11 Aug 2023 15:28:54 +0000 Subject: [PATCH] Update Extras.bash --- sonarr/Extras.bash | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/sonarr/Extras.bash b/sonarr/Extras.bash index 5a82a11..6f12f28 100644 --- a/sonarr/Extras.bash +++ b/sonarr/Extras.bash @@ -1,5 +1,5 @@ #!/usr/bin/env bash -scriptVersion="1.7" +scriptVersion="1.8" arrEventType="$sonarr_eventtype" arrItemId=$sonarr_series_id tmdbApiKey="3b7751e3179f796565d88fdb2fcdf426" @@ -150,10 +150,9 @@ DownloadExtras () { continue fi - if python3 /usr/local/sma/manual.py --config "/config/extended/sma.ini" -i "$finalPath/$finalFileName.mkv" -nt &>/dev/null; then - sleep 0.01 + if python3 /config/extended/sma/manual.py --config "/config/extended/sma.ini" -i "$finalPath/$finalFileName.mkv" -nt &>/dev/null; then log "$itemTitle :: $i of $tmdbVideosListDataIdsCount :: $tmdbExtraType :: $tmdbExtraTitle :: Processed with SMA..." - rm /usr/local/sma/config/*log* + rm /config/extended/sma/config/*log* else log "$itemTitle :: $i of $tmdbVideosListDataIdsCount :: $tmdbExtraType :: $tmdbExtraTitle :: ERROR :: SMA Processing Error" rm "$finalPath/$finalFileName.mkv"