mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2025-10-10 14:00:12 +08:00
rename torrent_name to torrents for notifications
This commit is contained in:
parent
c013ff755b
commit
b00c69a33e
4 changed files with 10 additions and 10 deletions
|
@ -56,7 +56,7 @@ class CrossSeed:
|
|||
"function": "cross_seed",
|
||||
"title": "Adding New Cross-Seed Torrent",
|
||||
"body": "\n".join(body),
|
||||
"torrent_name": t_name,
|
||||
"torrents": [t_name],
|
||||
"torrent_category": category,
|
||||
"torrent_save_path": dest,
|
||||
"torrent_tag": "cross-seed",
|
||||
|
@ -113,7 +113,7 @@ class CrossSeed:
|
|||
"function": "tag_cross_seed",
|
||||
"title": "Tagging Cross-Seed Torrent",
|
||||
"body": body,
|
||||
"torrent_name": t_name,
|
||||
"torrents": [t_name],
|
||||
"torrent_category": t_cat,
|
||||
"torrent_tag": "cross-seed",
|
||||
"torrent_tracker": tracker,
|
||||
|
|
|
@ -36,7 +36,7 @@ class ReCheck:
|
|||
"function": "recheck",
|
||||
"title": "Resuming Torrent",
|
||||
"body": body,
|
||||
"torrent_name": torrent.name,
|
||||
"torrents": [torrent.name],
|
||||
"torrent_category": torrent.category,
|
||||
"torrent_tracker": tracker["url"],
|
||||
"notifiarr_indexer": tracker["notifiarr"],
|
||||
|
@ -82,7 +82,7 @@ class ReCheck:
|
|||
"function": "recheck",
|
||||
"title": "Resuming Torrent",
|
||||
"body": body,
|
||||
"torrent_name": torrent.name,
|
||||
"torrents": [torrent.name],
|
||||
"torrent_category": torrent.category,
|
||||
"torrent_tracker": tracker["url"],
|
||||
"notifiarr_indexer": tracker["notifiarr"],
|
||||
|
@ -105,7 +105,7 @@ class ReCheck:
|
|||
"function": "recheck",
|
||||
"title": "Rechecking Torrent",
|
||||
"body": body,
|
||||
"torrent_name": torrent.name,
|
||||
"torrents": [torrent.name],
|
||||
"torrent_category": torrent.category,
|
||||
"torrent_tracker": tracker["url"],
|
||||
"notifiarr_indexer": tracker["notifiarr"],
|
||||
|
|
|
@ -58,7 +58,7 @@ class RemoveUnregistered:
|
|||
"function": "untag_tracker_error",
|
||||
"title": "Untagging Tracker Error Torrent",
|
||||
"body": "\n".join(body),
|
||||
"torrent_name": torrent.name,
|
||||
"torrents": [torrent.name],
|
||||
"torrent_category": torrent.category,
|
||||
"torrent_tag": self.tag_error,
|
||||
"torrent_tracker": tracker["url"],
|
||||
|
@ -165,7 +165,7 @@ class RemoveUnregistered:
|
|||
"function": "tag_tracker_error",
|
||||
"title": "Tag Tracker Error Torrents",
|
||||
"body": tor_error,
|
||||
"torrent_name": self.t_name,
|
||||
"torrents": [self.t_name],
|
||||
"torrent_category": self.t_cat,
|
||||
"torrent_tag": self.tag_error,
|
||||
"torrent_status": msg,
|
||||
|
@ -185,7 +185,7 @@ class RemoveUnregistered:
|
|||
attr = {
|
||||
"function": "rem_unregistered",
|
||||
"title": "Removing Unregistered Torrents",
|
||||
"torrent_name": self.t_name,
|
||||
"torrents": [self.t_name],
|
||||
"torrent_category": self.t_cat,
|
||||
"torrent_status": msg,
|
||||
"torrent_tracker": tracker["url"],
|
||||
|
|
|
@ -34,7 +34,7 @@ class TagNoHardLinks:
|
|||
"function": "tag_nohardlinks",
|
||||
"title": title,
|
||||
"body": "\n".join(body),
|
||||
"torrent_name": torrent.name,
|
||||
"torrents": [torrent.name],
|
||||
"torrent_category": torrent.category,
|
||||
"torrent_tag": self.nohardlinks_tag,
|
||||
"torrent_tracker": tracker["url"],
|
||||
|
@ -63,7 +63,7 @@ class TagNoHardLinks:
|
|||
"function": "untag_nohardlinks",
|
||||
"title": "Untagging Previous Torrents that now have hardlinks",
|
||||
"body": "\n".join(body),
|
||||
"torrent_name": torrent.name,
|
||||
"torrents": [torrent.name],
|
||||
"torrent_category": torrent.category,
|
||||
"torrent_tag": self.nohardlinks_tag,
|
||||
"torrent_tracker": tracker["url"],
|
||||
|
|
Loading…
Add table
Reference in a new issue