You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
448 B
19 lines
448 B
#!/usr/bin/with-contenv bash
|
|
if [ "$enableYoutubeSeriesDownloader" != "true" ]; then
|
|
echo "Youtube-Series-Downloader disabled, enable by setting parameter: enableYoutubeSeriesDownloader=true"
|
|
sleep infinity
|
|
else
|
|
echo "Waiting for Sonarr to startup..."
|
|
sleep 2m
|
|
fi
|
|
|
|
echo "Starting Script...."
|
|
for (( ; ; )); do
|
|
let i++
|
|
bash /config/extended/scripts/Youtube-Series-Downloader.bash
|
|
echo "Script sleeping for 1 hours..."
|
|
sleep 1h
|
|
done
|
|
|
|
exit $?
|