Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Automatically Reannounce Torrent Where The Trackers Have Been Updated
  • Loading branch information
mehulboricha committed Apr 12, 2024
commit 4873f4e18e183a0c707a3db3bee84452c6b717f3
2 changes: 2 additions & 0 deletions transmission-trackers.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,5 +253,7 @@ def readLocalLists():
if diff:
lg('{}: Adding {} trackers (before: {})'.format(t.name, len(diff), len(ttrk)))
tc.change_torrent(t.id, trackerAdd=list(diff))
time.sleep(1)
tc.reannounce_torrent(t.id)
else:
dbg('{}: update not needed'.format(t.name))