Skip to content

Commit

Permalink
Automatically Reannounce Torrent Where The Trackers Have Been Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
mehulboricha committed Apr 12, 2024
1 parent 737683e commit 4873f4e
Showing 1 changed file with 2 additions and 0 deletions.
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))

0 comments on commit 4873f4e

Please sign in to comment.