Update AutoExtras.service

This commit is contained in:
RandomNinjaAtk 2023-07-09 11:50:03 -04:00 committed by GitHub
parent d0a047bd25
commit b01b500691
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,8 +50,8 @@ AutoExtrasProcess () {
fi
if [ ! -f "/config/logs/AutoExtras.txt" ]; then
touch "/config/logs/AutoExtras.txt"
chmod 777 "/config/logs/AutoExtras.txt"
touch "/config/logs/AutoExtras.txt"
chmod 777 "/config/logs/AutoExtras.txt"
fi
exec &> >(tee -a "/config/logs/AutoExtras.txt")
@ -70,9 +70,9 @@ AutoExtrasProcess () {
loopCount=0
for id in $(echo $radarrMovieIds); do
loopCount=$(( $loopCount + 1 ))
log "$loopCount of $radarrMovieTotal :: $id :: Processing with MovieExtras.bash"
bash /config/extended/scripts/MovieExtras.bash "$id" "$cookiesFile"
loopCount=$(( $loopCount + 1 ))
log "$loopCount of $radarrMovieTotal :: $id :: Processing with MovieExtras.bash"
bash /config/extended/scripts/MovieExtras.bash "$id" "$cookiesFile"
done
}