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()