-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.py
99 lines (78 loc) · 4.04 KB
/
settings.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
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
93
94
95
96
97
98
99
#seettings.py
#!!! are essential settings
#!!!
### The users for which filtered folders will be created.
users = [
{'username': 'User1', 'token': 'TokenNumber123'},
{'username': 'User2-1080p', 'token': 'TokenNumber123'},
{'username': 'User3', 'token': 'TokenNumber123'},
{'username': 'User4', 'token': 'TokenNumber123'},
{'username': 'User5', 'token': 'TokenNumber123'},
# Add more users as needed
# if you add 1080p to the username it will start rclone filtering out everything bigger than 1080p
# find tokens by logging into plex.tv, then visit:
# first https://plex.tv/devices
# and then https://plex.tv/devices.xml
]
### Essential Automation settings:
#!!!
##the time between the watchlist checks for changes. Standard intervall = 30 seconds.
intervall = 30
## If autostart = True the automation will start after 60 seconds if no selection was made.
autostart = False
#!!!
## Plex host settings, used for rescaning the plex library after changes
tokenhost="TokenHost Number"
BASEURLHOST="http://localhost:32400" #standard: http://localhost:32400
###rclone settings
#!!!
## Sources set up in rclone. These will be mounted with the created filters. Remember to add the : for the source.
sources = [
{'source_name': 'your-remote', 'source': 'your-remote:'}, #{'source_name': 'your-remote', 'source': 'your-remote:'}
#{'source_name': 'Google', 'source': 'google-remote:'}, #{'source_name': 'your-remote2', 'source': 'your-remote2:'}
#{'source_name': 'your-remote3', 'source': 'your-remote3:'}, #{'source_name': 'your-remote3', 'source': 'your-remote3:'}
#{'source_name': 'your-remote4', 'source': 'your-remote4:'},
#{'source_name': 'your-remote5', 'source': 'your-remote5:'},
]
#!!!
## Destination for the user-filtered folders. It could be a driver letter or an existing folder. Please check the rclone FAQs for further information.
## In this example the following folder exists C:\User-Cloud\ .
destination="C:\\User-Cloud\\"
#optional
## These titles will be added for all your users folders. You could add one movie and one show to prevent plex_debrid from stopping for emtpy folders.
dummy_file = [
'dummy_file1', 'dummy_file2'#, 'dummy_file3', 'dummy_file3',
#'dummy_file4', 'dummy_file5', 'dummy_file6', 'dummy_file7',
#'dummy_file8', 'dummy_file9', 'dummy_fil10', 'dummy_file11',
]
#optional
## The offset time in seconds until a scan library signal will be sent to the plex server. Standard "scan_offset = 30"
scan_offset = 30
#optional
## available drive letters for the main mounts. If no main mount is wanted, leave blank. drive_letters = []
drive_letters = ['X:', 'Y:', 'Z:', "V:", "W:"] # Available drive letters, which are not used by other drives or tools. Standard: ['X:', 'Y:', 'Z:', "V:", "W:"]
#optional
### Creation of ignore.txt Settings:
##The directiory for the ignored list. Should be the same as in plex_debrid.
##If no ignored list is wanted, leave blank. output_directory = []
output_directory = r'C:\Users\ClemS\OneDrive\Desktop\plex-addons-python\New plex Script All in One\plex_jaunty'
## Titles to manually add to the ignored list
## These titles wont be added again by plex_debrid if plex_debrid was set up correctly.
manually_ignored_titles = [
"Show Title 1" #"ManualTitle 1",
#"ManualTitle 2",
#"ManualTitle 3",
# Add more titles as needed
]
#!!!
## settings for the rclone startup command. If unsure, leave the standards.
dircachetime="--dir-cache-time" #standard dircachetime="--dir-cache-time"
dircachetimesetting="10s" #standard dircachetimesetting="10s"
vfscachemode="--vfs-cache-mode" #standard vfscachemode="--vfs-cache-mode"
vfscachemodesetting="full" #standard vfscachemodesetting="full"
buffersize="--buffer-size" #standard buffersize="--buffer-size"
buffersizesetting="0.25G" #standard buffersizesetting="0.25G"
#Optional
### RealDebrid error link checker Settings:
## Replace <apiToken> with your actual API token
api_token = "<apiToken>"