-
Notifications
You must be signed in to change notification settings - Fork 19
/
config.py
executable file
·56 lines (42 loc) · 1.63 KB
/
config.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
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
from __future__ import print_function, unicode_literals, division, absolute_import
import os
####################################################
## Edit this section with your account details. ##
####################################################
TC_USERNAME = ''
TC_PASSWORD = ''
TC_PASSKEY = ''
TMDB_API_KEY = ''
IMGBAM_USERNAME = ''
IMGBAM_PASSWORD = ''
####################################################
## Edit this section with your system details. ##
####################################################
# Set this to your rtorrent watch folder path to automatically seed new torrents
WATCH_DIR = '~'
# Logs will be written to this directory, as {Release.Name}.log
# NOTE: Existing logs will be overwritten.
LOG_DIR = '~'
# All tracker cookies will be saved here
COOKIE_DIR = '~'
# Paths to various binaries on your system (in case they are not on the system path)
MEDIAINFO_PATH = 'mediainfo'
FFMPEG_PATH = 'ffmpeg'
FFPROBE_PATH = 'ffprobe'
UNRAR_PATH = 'unrar'
# Set this to True if you want to delete files that don't make it into the uploaded torrent.
# NOTE: If you want to cross-seed, this might not be a good idea.
DELETE_UNWANTED_FILES = False
# How many screenshots to upload by default
NUM_SCREENSHOTS = 4
DELETE_SCREENS_AFTER_UPLOAD = True
####################################################
## End user-edited sections ##
####################################################
# Expand paths
if WATCH_DIR is not None:
WATCH_DIR = os.path.expanduser(WATCH_DIR)
if LOG_DIR is not None:
LOG_DIR = os.path.expanduser(LOG_DIR)
if COOKIE_DIR is not None:
COOKIE_DIR = os.path.expanduser(COOKIE_DIR)