Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Support two torrents with the same info_hash from different trackers. #559

Open
vanchaxy opened this issue Dec 1, 2023 · 6 comments
Labels
bt client feature New feature or request integration Integration (API) with/for applications

Comments

@vanchaxy
Copy link

vanchaxy commented Dec 1, 2023

I have a lot of torrents skipped because of the same hash. I use 3 trackers that often copy torrents from each other with changing announce URL. Can we add a URL to the torrent table and use hash+URL to filter duplicates?

@zakkarry
Copy link
Collaborator

zakkarry commented Dec 1, 2023

I assume that the trackers you are referring to are public trackers.

This would open up an entire can of worms I don't even want to think about.

We wouldn't want to be modifying torrents in the client or otherwise, and this would require an entirely new method of injection, not to mention API calls to see if the tracker is already in the client and the inability to store multiple torrents with the same infohash in the cache.

I, personally, don't think this is something we would do.

@zakkarry zakkarry added feature New feature or request bt client integration Integration (API) with/for applications labels Dec 1, 2023
@mmgoodnow
Copy link
Collaborator

mmgoodnow commented Dec 1, 2023

This would amount to

  • be able to add an announce url to an existing torrent, x4 for each client. (Check for private flag as well)
  • be able to tell the torrents apart by announce url
  • Write code to ignore them as duplicates

@mmgoodnow
Copy link
Collaborator

mmgoodnow commented Dec 1, 2023

Somewhat surprisingly achievable actually. If a lot of people have this use case, it'd be worth thinking about.

@zakkarry
Copy link
Collaborator

zakkarry commented Dec 1, 2023

Potentially this opens the problem of misreporting stats, although on the trackers this would be applicable on I'm not sure they care.

@AN1MATEK
Copy link

Duplicated hashes are also a problem in private trackers. I have had the issue between IPT and PHD. You cannot even cross-seed them by manually adding the torrents, qBittorrent rejects it as duplicate. I think this is a limitation of qBittorrent more than cross-seed.

@zakkarry
Copy link
Collaborator

It is not exclusive to qBittorrent, this is generally the way clients work, usually because the key/reference to the torrents is done with the infohash in some capacity.

There might be one that would support this natively, however I'm not familiar with this. The result is generally people think they should just "Add Tracker" to the existing, and stats will thus be misreported and risk your account being banned for "cheating" - despite not having that intent.

This is mainly the reason I don't particularly support this use case (as stated above)

@mmgoodnow mmgoodnow changed the title [Feature request] Support two torrents with the same info_hash from different trackers. [Feature request] Support two torrents with the same info_hash from different trackers. Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bt client feature New feature or request integration Integration (API) with/for applications
Projects
None yet
Development

No branches or pull requests

4 participants