Add background script for grabbing extras for existing titles

#6
pull/49/head
RandomNinjaAtk 2 years ago committed by GitHub
parent fd88abf473
commit fd14164afd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,19 @@
#!/usr/bin/with-contenv bash
if [ "$enableExtras" != "true" ]; then
echo "MovieExtras disabled, enable by setting parameter: enableExtras=true"
sleep infinity
else
echo "Waiting for Radarr to startup..."
sleep 2m
fi
echo "Starting Script...."
for (( ; ; )); do
let i++
bash /config/extended/scripts/AutoExtras.bash
echo "Script sleeping for 6 hours..."
sleep 6h
done
exit $?
Loading…
Cancel
Save