Tracker Editor - New Feature Request (possibly)

Suggestions and discussion of future versions
Post Reply
adelphiaUK
New User
New User
Posts: 8
Joined: Sun Jul 29, 2018 11:30 am
Location: Hayling Island, United Kingdom
Contact:

Tracker Editor - New Feature Request (possibly)

Post by adelphiaUK »

Hi.

I am currently going though all my torrents to update the trackers to make (some very old) torrent files use more up to date trackers by means of the "Default Tracker" plugin.

What I have found though is that some of my torrents have 160+ trackers and to manually remove each and every one from numerous torrent files is very tedious and takes an absolute age to clean them out.

Unless there is a method of doing this already, this is the new feature request and, as far as I can tell (being a programmer, although not in Python), it shouldn't be too much of an addition.

Can you add the ability to multi select entries in the "tracker" list and also a "clear list" button to empty the list completely with one click?

Something else, which will take a bit more coding, and that is to enable multiple torrents to be edited simultaneously to clear / add / remove rather than to do each torrent individually.

I know you're busy with real life stuff now but I'm keen to keep on with Deluge now that I have it (almost) working the way I want it to and it's so much easier to configure than a lot of other cross-platform server/clients.

I await your reply oh humble one.

Oh, one last thing; is Patreon a language thing where you are (which could be anywhere as far as I know) as in most native English speaking countries the word is Patron rather than Patreon.
Chris
Image
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Tracker Editor - New Feature Request (possibly)

Post by Cas »

There is an open ticket for multi-tracker editing: https://dev.deluge-torrent.org/ticket/2047

Patreon https://www.patreon.com/deluge_cas
adelphiaUK
New User
New User
Posts: 8
Joined: Sun Jul 29, 2018 11:30 am
Location: Hayling Island, United Kingdom
Contact:

Re: Tracker Editor - New Feature Request (possibly)

Post by adelphiaUK »

Thanks for pointing me to this and I've followed the links which suggests it was done some 14 months ago but has yet to be implemented. Is anyone going to do as suggested and make this a plugin or do we just wait and keep doing everything manually which is just so darn tedious; and should I also state seriously aggravates my RSI.

Not being a python programmer myself I can't even offer to help.
Chris
Image
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Tracker Editor - New Feature Request (possibly)

Post by Cas »

That link is a suggested change but I don't think that it is quite correct so was not implemented in codebase.

There is a python script that I created that you can try out.
adelphiaUK
New User
New User
Posts: 8
Joined: Sun Jul 29, 2018 11:30 am
Location: Hayling Island, United Kingdom
Contact:

Re: Tracker Editor - New Feature Request (possibly)

Post by adelphiaUK »

Yes, but as stated I've no clue about python. How would I use it? Thanks.
Chris
Image
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Tracker Editor - New Feature Request (possibly)

Post by Cas »

I have updated the script to make it easier to use: https://gist.github.com/cas--/5326335

It relies on the deluge config being in the default location so if it is different modify line 23.

Make the script executable and run it:

Code: Select all

./deluge_tracker_rename.py
It will prompt for tracker URL and either new URL or leave blank to remove tracker from list .e.g.:

Code: Select all

Tracker URL: udp://tracker.openbittorrent.com:80/announce
New tracker URL (leave empty to remove): 
State file: /home/user/.config/deluge/state/torrents.state
Remove tracker 'udp://tracker.openbittorrent.com:80/announce'
Continue? (y/n) y
Nothing to do
adelphiaUK
New User
New User
Posts: 8
Joined: Sun Jul 29, 2018 11:30 am
Location: Hayling Island, United Kingdom
Contact:

Re: Tracker Editor - New Feature Request (possibly)

Post by adelphiaUK »

Is this able to be run in the GUI or is it from command line only? Command line is no issue as I have access to that.
Chris
Image
Post Reply