Skip to content

Commit 4873f4e

Browse files
committed
Automatically Reannounce Torrent Where The Trackers Have Been Updated
1 parent 737683e commit 4873f4e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

transmission-trackers.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,5 +253,7 @@ def readLocalLists():
253253
if diff:
254254
lg('{}: Adding {} trackers (before: {})'.format(t.name, len(diff), len(ttrk)))
255255
tc.change_torrent(t.id, trackerAdd=list(diff))
256+
time.sleep(1)
257+
tc.reannounce_torrent(t.id)
256258
else:
257259
dbg('{}: update not needed'.format(t.name))

0 commit comments

Comments
 (0)