-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.yaml.example
46 lines (41 loc) · 1.73 KB
/
config.yaml.example
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
# twitch-game-notify config file
# This config file is looked for at
#
# - repository_base/config.yaml (if running from source)
# - $XDG_CONFIG_HOME/twitch-game-notify/config.yaml
#
# Note that if $XDG_CONFIG_HOME is not defined then $HOME/.config/ is
# used instead.
# How often to send queries to the Twitch API, in seconds. Note that
# each Twitch client is allowed 30 queries per minute (or a query every
# 0.5 seconds).
query-period: 3
# Twitch API authorization - see https://dev.twitch.tv/docs/api/
twitch-api-client-id: "p0gch4mp101fy451do9uod1s1x9i4a"
twitch-api-client-secret: "itqb0thqi5cek18ae6ekm7pbqvh63k"
# Streamers: a list of streamer login names, and for each, which
# categories to notify about
streamers:
"distortion2":
include:
- "Dark Souls" # notify me only when Distortion2 plays Dark Souls
"outerheaven":
include:
- "*" # notify me when OuterHeaven streams any category
exclude:
- "Metal Gear Solid V: The Phantom Pain" # except for when he's playing MGSV
"otzdarva":
include:
- "*" # notify me when Otzdarva streams any category
exclude:
- "21779" # except for League of Legends
# Ignore 502 "Bad Gateway" errors: these are going to occur somewhat
# randomly and don't necessarily mean anything is wrong. For "one-shot"
# usage you probably want to know when one of these occurs, so you'll
# know if your information is correct; for persistant usage, since the
# 502 errors are somewhat random, if one occurs, you'll likely get the
# information you want on the next cycle. I recommend that you leave
# these settings as is unless you're debugging a connectivity problem or
# some other issues.
ignore-502-errors-one-shot: false
ignore-502-errors-persistant: true