-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsonarr-update-tba.env.example
More file actions
92 lines (80 loc) · 4.48 KB
/
sonarr-update-tba.env.example
File metadata and controls
92 lines (80 loc) · 4.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# The Sonarr instances you want to interact with.
# If you are running Sonarr via Docker, you can use 'docker:<container_name>' to let the script automatically figure out the IP address
# e.g. if your container name is 'sonarr', then containerIp=("docker:sonarr")
# For multiple Sonarr instances, just add additional array items, e.g. containerIp=("docker:sonarr" "docker:sonarr-4k")
# If your instance is hosted on your system, you could just provide a direct IPv4 address, assuming it is valid/static
# e.g. if your instance is reachable via localhost, then containerIp=("127.0.0.1")
# Currently multiple Sonarr instances outside of Docker are unsupported. If you have multiple instances running on your host, create
# an issue and I'll try and motivate myself to add support for your situation.
## This is an array
containerIp=("docker:sonarr")
# If your Sonarr instance is not provided via Docker, you must uncomment the below variable and point to where your 'config.xml' for Sonarr is
## This is a string
#sonarrConfig="/path/to/your/sonarr/config.xml"
# Are we allowed to check for and notify of updates each time the script runs?
# Can be "Yes" "No" "True" "False"
## This is a string
updateCheck="No"
# How verbose should our output be?
# 1 = Errors only
# 2 = Warnings
# 3 = Informational
# 4 = Verbose
## This is a string
outputVerbosity="3"
# If you have entire libraries you want to ignore, you can run the script with verbose output, and watch for the
# line "Detected [int] libraries", then put the correspnding library ID into this array to have it ignored on future runs.
# If you have multiple Sonarr containers running in Docker, you should prefix the ID with the container
# you want it to correspond to, for example instead of:
# ignoreLibraryArr=("123")
# you would do:
# ignoreLibraryArr=("docker:sonarr:123")
## This is an array
ignoreLibrary=()
# If you have files you want to ignore, you can run the script with verbose output, and watch for the
# line "Found episode ID:", then put the episode ID into this array to have it ignored on future runs.
# If you have multiple Sonarr containers running in Docker, you should prefix the ID with the container
# you want it to correspond to, for example instead of:
# ignoreSeries=("456")
# you would do:
# ignoreSeries=("docker:sonarr:456")
## This is an array
ignoreSeries=()
# If you have files you want to ignore, you can run the script with verbose output, and watch for the
# line "Found episode ID:", then put the episode ID into this array to have it ignored on future runs.
# If you have multiple Sonarr containers running in Docker, you should prefix the ID with the container
# you want it to correspond to, for example instead of:
# ignoreEpisodes=("789")
# you would do:
# ignoreEpisodes=("docker:sonarr:789")
## This is an array
ignoreEpisodes=()
## Optional
# If you want to send a Discord message notfying of downloaded items, provide a webhook URL
## This is a string, for now
discordWebhook=""
# If you want to send a Telegram message notifying of renamed items, fill them out.
# Telegram bot API key, obtained from @BotFather
## This is a string
telegramBotId=""
# Telegram channel ID, if you don't know how to get this, use these instructions:
# https://gist.github.com/goose-ws/1c82c98ac4701af433eb5c7562109e51
## This is an array, so you can do multiple channels if you want.
# Format is: ("-100xxxxxxx2" "-100xxxxxxx1")
# Modifiers include threads for super groups, and silent notifications.
# If sending to a super group thread, you can specify the thread by adding '&message_thread_id=[int]',
# where [int] is the interger of the thread ID. (e.g. "-100xxxxxxxxx1&message_thread_id=12")
# For silent notifications, you can add the modifier '&silent=true' (e.g. "-100xxxxxxxxx1&silent=true")
## This is an array
telegramChannelId=()
# Do you want to send a Telegram message for script errors? Beware, the script is not capable of checking
# to see if an error message has already been sent, so depending on your cron settings this could become
# very spammy. Can be "Yes" "No" "True" "False"
## This is a string
telegramErrorMessages=""
# If you enabled Telegram messages for script errors, you can define a different channel for errors to
# be sent to, instead of the ones defined in the 'telegramChannelId' array above. This can only be a single
# channel, not an array. If you leave this blank, and have error messages enabled, then they will send to
# all channels in the 'telegramChannelId' array above.
## This is a string
telegramErrorChannel=""