mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2024-09-20 15:26:02 +08:00
fixes bug in group notifications
adds trace logs for share limits
This commit is contained in:
parent
24eb05bd89
commit
9572f68e4b
|
@ -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"],
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue