From ea310a36f6a801da713dd812bbce7ea247dc5314 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Sat, 7 Jan 2023 12:00:13 -0500 Subject: [PATCH] test --- tdarr_inform.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tdarr_inform.py b/tdarr_inform.py index a41daea..6f990fe 100644 --- a/tdarr_inform.py +++ b/tdarr_inform.py @@ -150,6 +150,8 @@ def main(): # Obtain file_path list arr = get_file_path_list(arr) + # Search Tdarr API for library database ID's + # Dedupe dbID/file_path combinations inform_dict = {} for file_path in arr["file_paths"]: loggit("Event Item: %s\n" % file_path) @@ -176,10 +178,4 @@ def main(): if __name__ == "__main__": - testdict = { - "sonarr_eventtype": "Download", - "sonarr_episodefile_path": "/Drivepool/Media/TV/Cartoons/Ben 10 (2016)/Season 2/Ben 10 (2016) - S02E31 - Chicken Nuggets of Wisdom.mkv" - } - for testkey in list(testdict.keys()): - os.environ[testkey] = testdict[testkey] main()