forked from RhinoRhys/radarr-collections
-
Notifications
You must be signed in to change notification settings - Fork 0
/
words.py
98 lines (76 loc) · 3.87 KB
/
words.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
"""
Library of written output
To customise your logging and results files, feel free to change any of the words in " "
Changing any of the {#} variables WILL cause errors.
"""
helptext = ["rcm.py <option>",
"",
"Options:",
"| Short | Long | Use",
"|----------|----------------|---------",
"| -h | --help | Displays this help.",
"| -f | --full | Repeat initial scan, recheck all movies.",
"| -s <num> | --start <num> | Specify start point, useful for big libraries if errors occur. (forces -f)",
"| -t <num> | --tmdbid <num> | Check single TMDB ID for Collections.",
"| -d | --down | Only search movies with files. Ignore Wanted list.",
"| -p | --people | Disable all Collection scanning, only scan People.",
"| -q | --quiet | Disables verbose logging in command line. Log file still created.",
"| -n | --nolog | Disables log file creation. Verbose logging still visible.",
"| -c | --cache | Disables automatic adding to Radarr, instead saves list of missing movies to text file.",
"| -a | --art | Saves list of Collection artwork URLs to text file."
]
name = "Radarr Collection and People Manager by u/RhinoRhys"
hello = "Welcome to " + name
start_err = "Error - Start point {0} greater that data length {1} - Exiting"
template_err = "Error - Profile template TMDB ID for People Monitoring not in database - Exiting"
tp_err = "Error - t and p options not compatible"
peeps = "People only mode: Ignoring Collections"
run_mov_mon = "Checking {0} Movies"
run_col_mon = "Checking {1} existing Collections"
run_per_mon = "Checking {2} monitored People"
single = "Scanning:"
dent = " -> "
full = "Running full scan:" + "\n" \
+ dent + run_mov_mon + " \n" \
+ dent + run_per_mon
update = "Running update scan:" + "\n" \
+ dent + run_mov_mon + "\n" \
+ dent + run_col_mon + "\n" \
+ dent + run_per_mon
wanted = "Ignore wanted list active: only checking Movies with files"
art = "Collection Artwork URLs file will be created"
cache = "Auto adding disabled: saving results to file"
start = "Start point specified: skipping {0} items"
api_auth = "Unauthorized - Please check your {0} API key"
api_wait = ">>> Too many requests - waiting {0} seconds <<<"
api_misc = ">>> Unplanned error from {0} API, return code: {1} - Retrying, attempt {2} <<<"
radarr = "Radarr ID: {0}"
mov_info = u"{1} TMDB ID: {2}{3}{4} ({5}){6}"
stage_info = u"{0}{1}{2} (ID: {3})"
other = stage_info + ": {4} Movies in collection:"
person = stage_info + ": Monitoring: {4}"
no_col = "None"
in_col = "In Collection"
col_err = "Error - Not Found"
skip = "Skipping"
two = " "*3 + ">> "
in_data = two + radarr + mov_info + "In Library"
not_data = two + " "*11 + mov_info + "Missing"
ignore = two + " "*11 + mov_info + "Blacklisted"
rated = two + " "*11 + mov_info + "Rating Too Low"
found = u"{0}{1} TMDB ID: {2}{3}{4} ({5})"
col_art = u'{0}{1} https://image.tmdb.org/t/p/original{2}'
cast = two + "Appeared in {0} Movies:"
crew = two + "Credited for {0} on {1} Movies:"
three = " "*3 + ">>>" + " "*21 + "{0}"
add_true = three + dent + "Added sucessfully"
add_fail = three + dent + "Failed to add [Response Code: {1}]"
exiting = " - Exiting at item {1}"
api_retry = "{0} API Error - Retry limit reached" + exiting
offline = "Error {0} offline" + exiting
retry_err = "Too many errors adding to Radarr - Switching to caching mode"
found_open = "Total Movies Found: {0}"
found_start = "From Collections: {1}"
found_middle = "From People: {2}"
auto_cache = "Too many errors adding to Radarr, found_{0}.txt has been saved in the output folder instead"
bye = "Found {0} Movies" + "\n\n" + "Thank You for using " + name