fixes bug in group notifications

adds trace logs for share limits
This commit is contained in:
bobokun 2023-06-05 15:27:49 -04:00
parent 24eb05bd89
commit 9572f68e4b
No known key found for this signature in database
GPG key ID: B73932169607D927
3 changed files with 3 additions and 2 deletions

View file

@ -1 +1 @@
4.0.0-develop17
4.0.0-develop18

View file

@ -209,7 +209,7 @@ class RemoveUnregistered:
"torrents": [self.t_name],
"torrent_category": self.t_cat,
"torrent_status": msg,
"torrent_tag": tracker["tag"],
"torrent_tag": ", ".join(tracker["tag"]),
"torrent_tracker": tracker["url"],
"notifiarr_indexer": tracker["notifiarr"],
}

View file

@ -247,6 +247,7 @@ class ShareLimits:
tags = util.get_list(torrent.tags)
category = torrent.category or ""
grouping = self.get_share_limit_group(tags, category)
logger.trace(f"Torrent: {torrent.name} [{torrent.hash}] - Share Limit Group: {grouping}")
if grouping:
self.share_limits_config[grouping]["torrents"].append(torrent)