diff --git a/lidarr/ARLChecker b/lidarr/ARLChecker index 6ee96b6..cc86c96 100644 --- a/lidarr/ARLChecker +++ b/lidarr/ARLChecker @@ -1,8 +1,11 @@ #!/usr/bin/with-contenv bash -scriptVersion="0.1" +scriptVersion="0.5" scriptName="ARLChecker" +### Import Settings +source /config/extended.conf + echo Starting ARL Token Check... python /custom-services.d/python/ARLChecker.py -c echo ARL Token Check Complete. Sleeping for 24hrs... -sleep 1m \ No newline at end of file +sleep "$arlUpdateInterval" \ No newline at end of file diff --git a/lidarr/extended.conf b/lidarr/extended.conf index 4dce11f..ed19b14 100644 --- a/lidarr/extended.conf +++ b/lidarr/extended.conf @@ -73,7 +73,9 @@ plexUrl="" # ONLY used if PlexNotify.bash is used, example: http://x.x.x.x:324 plexToken="" # ONLY used if PlexNotify.bash is used ##### DEEZER ARL UPDATE SCRIPT OPTIONALS -telegramBotEnable="false" -telegramBotToken="" # Get token from BotFather during bot creation. If you use a notify channel for Lidarr, you can probably use the same bot, as this script only takes temporary control. -telegramUserChatID="" # Get your userid by chatting: t.me/userinfobot +arlUpdateInterval='1m' # Interval to check ARL Validity (default 24 hours). Reboot container after changing. s = seconds, m = minutes, h = hours, d = days +telegramBotEnable="false" # Enable/Disable Telegram Bot to notify if ARL expires. Otherwise check text file in custom-services.d/python for status. +telegramBotToken="" # Get token from BotFather during bot creation. If you use a notify channel for Lidarr, you can probably use the same bot, as this script only takes temporary control. +telegramUserChatID="" # Get your userid by chatting: t.me/userinfobot +