[Plugin] reannounce v0.1 - force reannounce every x secs.

Suggest, post, or discuss plugins for Deluge
mhertz
Moderator
Moderator
Posts: 2331
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

[Plugin] reannounce v0.1 - force reannounce every x secs.

Post by mhertz »

I took praddy's Randomize plugin and hacked it a bit. Before it would check if incoming port was firewalled every x secs and if it was then use another port and reannounce once(he had ISP problems with them blocking his ports). Now all port-related stuff is removed and it will force reannounce every x secs, default 120, but can be changed in '~/.config/deluge/reannounce.conf', which is generated at first run(deluge default is 600 secs).

Tested working on latest stable deluge v1.3.15 and latest deluge 2.0.3).

Note, it's not recommended setting the interval too low as you can get banned by trackers and it's also considered rude - Use at your own risk and don't blame me! The default interval is already stretching it! (I used 2 minutes as default because that was listed as minimum recommended in a guide about hacking rtorrent + also used as default in hrktorrent.)

I recommend using ltConfig by ratanak additionally and enabling at-least 'announce_to_all_trackers/tiers'.

An easy method to check the plugin is working, is with ipmagnet where you can see the plugin reannouncing every 2 minutes(default), or whatever you've defined as interval in 'reannounce.conf', instead of 10 minutes(deluge default).

reannounce-0.1.egg (deluge-2.0.3):
https://paste.c-net.org/SuiteDamien

reannounce-0.1-py2.7.egg (deluge-1.3.15):
https://paste.c-net.org/FoyerSwill

All credits goes to praddy and his Randomize plugin. The GPL'd code is in the egg.
Last edited by mhertz on Sun Jun 27, 2021 4:43 pm, edited 5 times in total.
mhertz
Moderator
Moderator
Posts: 2331
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: [Plugin] reannounce v0.1 - force reannounce every x secs.

Post by mhertz »

This plugin didn't work anymore in latest deluge-2.0.3(and couldn't be fixed by merely renaming it to other python version neither), but I managed to fix it and have edited my first post above to include this, so now there's a version for new deluge(v2.0.3) and another for the old(v1.3.15).
basher
Seeder
Seeder
Posts: 103
Joined: Wed Sep 29, 2021 8:42 am
Location: Estonia/Spain

Re: [Plugin] reannounce v0.1 - force reannounce every x secs.

Post by basher »

Note this plugin could potentially be modified to support real forced reannounce as per discussion here: viewtopic.php?p=234029#p234029
mutageni
New User
New User
Posts: 8
Joined: Sat Mar 30, 2024 3:22 pm

Re: [Plugin] reannounce v0.1 - force reannounce every x secs.

Post by mutageni »

Dear Mhertz: Does this plugin (reannounce-0.1.egg (deluge-2.0.3):) work with Deluge 2.1.1? I tried it but it is not working. Any insights?
mhertz
Moderator
Moderator
Posts: 2331
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: [Plugin] reannounce v0.1 - force reannounce every x secs.

Post by mhertz »

Hi, yes it does work I just checked - little lame honestly, but works, sure :)
mutageni
New User
New User
Posts: 8
Joined: Sat Mar 30, 2024 3:22 pm

Re: [Plugin] reannounce v0.1 - force reannounce every x secs.

Post by mutageni »

Thank you mhertz. Will check it again.

mhertz wrote: Thu May 09, 2024 5:57 pm Hi, yes it does work I just checked - little lame honestly, but works, sure :)
mutageni
New User
New User
Posts: 8
Joined: Sat Mar 30, 2024 3:22 pm

Re: [Plugin] reannounce v0.1 - force reannounce every x secs.

Post by mutageni »

Hi mhertz,
A follow up. I just noticed that I am not seeing the details of the reannounce plug-in in the left side portion. Is it normal?

mutageni wrote: Fri May 10, 2024 7:46 pm Thank you mhertz. Will check it again.

mhertz wrote: Thu May 09, 2024 5:57 pm Hi, yes it does work I just checked - little lame honestly, but works, sure :)
Attachments
Screenshot 2025-01-31 035659.png
Screenshot 2025-01-31 035659.png (32.93 KiB) Viewed 24402 times
mhertz
Moderator
Moderator
Posts: 2331
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: [Plugin] reannounce v0.1 - force reannounce every x secs.

Post by mhertz »

Hi! :)

Honestly didn't know how make plugins when hacked this up from others work(praddy), so need control it from a config file only i'm affraid, maybe I will smack a gui on it some day, but not in the mood now to be fully honest, but check in first post again for instructions, and I see in your profile you're on windows, so the config then isn't as referenced in first post, sorry, but in %appdata%\deluge\reannounce,conf.
mutageni
New User
New User
Posts: 8
Joined: Sat Mar 30, 2024 3:22 pm

Re: [Plugin] reannounce v0.1 - force reannounce every x secs.

Post by mutageni »

Thank you Mate. No worries. I tried to look into the configuration files and this is what I am seeing. Unfortunately, the ipmagnet link in the first post no longer works.
Attachments
del3.png
del3.png (47.03 KiB) Viewed 23212 times
del2.png
del2.png (71.26 KiB) Viewed 23212 times
del1.png
del1.png (64.24 KiB) Viewed 23212 times
mhertz
Moderator
Moderator
Posts: 2331
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: [Plugin] reannounce v0.1 - force reannounce every x secs.

Post by mhertz »

Thanks buddy, and that looks fine, for wanting 120 secs reannounces, and should work, but can be checked e.g also in trackers tab, seeing the counter reset around every 120 secs.
Post Reply