test
This commit is contained in:
parent
0edf54d416
commit
b4f5652cd3
@ -4,11 +4,10 @@ import os
|
|||||||
import sys
|
import sys
|
||||||
import requests
|
import requests
|
||||||
|
|
||||||
from .variables import expected_paths_env_variables
|
|
||||||
|
|
||||||
SCRIPT_PATH = os.path.realpath(__file__)
|
SCRIPT_PATH = os.path.realpath(__file__)
|
||||||
SCRIPT_DIR = os.path.dirname(SCRIPT_PATH)
|
SCRIPT_DIR = os.path.dirname(SCRIPT_PATH)
|
||||||
|
|
||||||
|
"""Edit here"""
|
||||||
script_settings = {
|
script_settings = {
|
||||||
"tdarr": {
|
"tdarr": {
|
||||||
"url": "http://tdarr-server1.ipa.dbb:8265",
|
"url": "http://tdarr-server1.ipa.dbb:8265",
|
||||||
@ -19,6 +18,16 @@ script_settings = {
|
|||||||
"output_level": 1
|
"output_level": 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
"""Dont't edit below"""
|
||||||
|
|
||||||
|
expected_paths_env_variables = {
|
||||||
|
"sonarr": {
|
||||||
|
"Download": ["sonarr_episodefile_path", "sonarr_deletedpaths"]
|
||||||
|
},
|
||||||
|
"radarr": {
|
||||||
|
"Download": ["radarr_moviefile_path", "radarr_deletedpaths"]
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
def loggit(logtext, force_err=False):
|
def loggit(logtext, force_err=False):
|
||||||
|
|||||||
18
variables.py
18
variables.py
@ -1,18 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
expected_paths_env_variables = {
|
|
||||||
"sonarr": {
|
|
||||||
"Download": ["sonarr_episodefile_path", "sonarr_deletedpaths"]
|
|
||||||
},
|
|
||||||
"radarr": {
|
|
||||||
"Download": ["radarr_moviefile_path", "radarr_deletedpaths"]
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
||||||
# TODO rename sonarr_series_path
|
|
||||||
# radarr_moviefile_paths split |
|
|
||||||
# radarr_moviefile_previouspaths
|
|
||||||
|
|
||||||
# TODO Delete
|
|
||||||
# sonarr_series_path
|
|
||||||
# radarr_deletedpaths
|
|
||||||
Loading…
Reference in New Issue
Block a user