forked from Waterboy1602/Addarr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefinitions.py
26 lines (23 loc) · 1.02 KB
/
definitions.py
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
import os
# Set Projects Root Directory
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
# Set Projects Configuration path
CONFIG_PATH = os.path.join(ROOT_DIR, "config.yaml")
CONFIG_EXAMPLE_PATH = os.path.join(ROOT_DIR, "config_example.yaml")
LANG_PATH = os.path.join(ROOT_DIR, "translations/")
CHATID_PATH = os.path.join(ROOT_DIR, "chatid.txt")
LOG_PATH = os.path.join(ROOT_DIR, "logs", "addarr.log")
ADMIN_PATH = os.path.join(ROOT_DIR, "admin.txt")
DEFAULT_SETTINGS = {
"entrypointAuth": "auth", #auth or a custom entrypoint
"entrypointAdd": "start", #start or a custom entrypoint
"entrypointAllSeries": "allSeries", #allSeries or a custom entrypoint
"entrypointAllMovies": "allMovies", #allSeries or a custom entrypoint
"entrypointTransmission": "transmission", #transmission or a custom entrypoint
"entrypointSabnzbd": "sabnzbd", #sabnzbd or a custom entrypoint
"logToConsole": True,
"debugLogging": False,
"language": "en-us",
"transmission": { "enable": False },
"enableAdmin": False
}