From 311defe578b0b7d89544f7b9dcd011cae34b02a9 Mon Sep 17 00:00:00 2001 From: alyssadev Date: Wed, 20 Sep 2023 23:20:00 +1000 Subject: [PATCH] removed debug prints --- slskdsearch.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/slskdsearch.py b/slskdsearch.py index d02232f..b2fa299 100644 --- a/slskdsearch.py +++ b/slskdsearch.py @@ -68,9 +68,8 @@ def search(album): if not track_names: break if matches == len([track["title"] for track in album["tracks"]]): - print(resp) slskd.transfers.enqueue(**resp) - #slskd.searches.delete(search["id"]) + slskd.searches.delete(search["id"]) return True if not matches: continue @@ -104,9 +103,9 @@ def add_album_to_lidarr(release_id, root_folder_index: int=0): lidarr_album["addOptions"] = {"searchForNewAlbum": False} lidarr_album["artist"]["monitored"] = True lidarr_album["artist"]["addOptions"] = {"monitor": "missing", "searchForMissingAlbums": False} - print_json(lidarr_album) + #print_json(lidarr_album) root_folder = lidarr_get_root_folder(root_folder_index) - print_json(root_folder) + #print_json(root_folder) # bring in values configured on root folder lidarr_album["artist"]["metadataProfileId"] = root_folder["defaultMetadataProfileId"] lidarr_album["artist"]["qualityProfileId"] = root_folder["defaultQualityProfileId"]