v1.1 sma bug fix

This commit is contained in:
RandomNinjaAtk 2023-07-08 13:44:24 -04:00 committed by GitHub
parent 43816d50d1
commit f9e64c0e29
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
#!/usr/bin/env bash
scriptVersion="1.0"
scriptVersion="1.1"
arrEventType="$sonarr_eventtype"
arrItemId=$sonarr_series_id
tmdbApiKey="3b7751e3179f796565d88fdb2fcdf426"
@ -174,7 +174,7 @@ DownloadExtras () {
continue
fi
if python3 /usr/local/sma/manual.py --config "/sma.ini" -i "$finalPath/$finalFileName.mkv" -nt &>/dev/null; then
if python3 /usr/local/sma/manual.py --config "/config/extended/sma.ini " -i "$finalPath/$finalFileName.mkv" -nt &>/dev/null; then
sleep 0.01
log "$itemTitle :: $i of $tmdbVideosListDataIdsCount :: $tmdbExtraType :: $tmdbExtraTitle :: Processed with SMA..."
rm /usr/local/sma/config/*log*