Opened 3 years ago

#2862 new feature-request

Merge private trackers if same domain name

Reported by: Udasomu_Shakerabu Owned by:
Priority: minor Milestone: needs verified
Component: Core Version: 1.3-stable
Keywords: duplicate torrents Cc:

Description

Hi,

Bug #890 introduced tracker merging on adding identical torrents.

Bug #2412 disabled it for private torrents, for better ratio tracking.

I propose that trackers with the same main domain name, as one of the already present trackers for the torrent, still be merged for private trackers.

There are two use cases:

1) Some trackers change the tracker URL for unregistered users every month.

Sometimes, they include the month as a subdomain, so only the main domain name should be taken into account, when checking for trackers to merge.

2) Most private trackers include a private identifier in the tracker URL for registered users, and allow to renew it (if it has been published by mistake).

I may have seen some private trackers including this private identifier as a subdomain, so again, only the main domain name should be taken into account, when checking for trackers to merge.

In both cases, I would think existing trackers with the same main domain name should have 1 added to their tier, so they are not used anymore, unless the new trackers don't work.

For example, if an existing private torrent has the following tracker:

0 http://june.example.org/AAA/announce.php

... and the user adds a torrent with the same hash, but this tracker:

http://july.example.org/BBB/announce.php

... then Deluge would merge these trackers, resulting in this list:

0 http://july.example.org/BBB/announce.php 1 http://june.example.org/AAA/announce.php

Thanks in advance,

Bye.

Change History (0)

Note: See TracTickets for help on using tickets.