"Dupe-check-Plugin"

dsouvik215

Member
May 25, 2018
896
0
16
Is it possible to write a plugin which checks for already existing torrents? So that multible users are warned with "The torrent already exists".

I think that would be really nice to have?
 

das329717

Member
May 25, 2018
928
0
16
You mean instead of loading and starting to seed with the existing data?

Because if the torrents have different passkey the last user uploading the torrent can't seed with the existing data...
 

jith45

Member
May 25, 2018
960
0
16
No, only a name-check of the torrent.

example:
One User loads "centos-5.2-i386-server"
I want to load the same and when I add the torrent, a popup window appears with "The torrent already exists!"
Me: --> "oh, it's already existing .. I don't have to load it a second time" grin.gif

Like in torrentflux, if anyone knows it.
 

somus1735

Member
May 25, 2018
833
0
16
But the name of the torrent may vary according to the tracker or the version:

centos-5.2-i386-server-my.tracker.com.iso
centos-5.2-i386-server-my.secondtracker.com.iso
www.mytracker.com-centos-5.2-i386-server.iso

The system recognizes as different torrents but they are the same.

And if you check only a part of the name doesn't work either:

Let's say you check the first 10 characters
centos-5.2-i386-server.iso (can be centos-5.2-i386-server.iso / centos-5.2-amd64-server.iso)

The system recognizes centos-5.2 but are different versions

And if you check the HASH of every torrent, when you have certain amount of torrents (lets say a hundred) it will take a lot of resources to do the work.

You have to check a lot of variants.
 

das329717

Member
May 25, 2018
928
0
16
A hash collision check of a fingerprint of the NAMES and SIZES of the contained files bigger than 1% of the total size. The most useful way.
 

jith45

Member
May 25, 2018
960
0
16
Is it possible to write a plugin which checks for already existing torrents? So that multible users are warned with "The torrent already exists".

I think that would be really nice to have?
Possible. And something like that is already exist - plugin named 'multirpc'.

Description:
This is a integration solution for several users, who work at the some hosting.
With this plugin user can
- See torrents, owned by another users. And run some core commands (start, stop, etc) for its.
- Mark torrents as 'visible' or 'hidden' for another users.
- When user add a new torrent, plugin check another users first - may be, he already have a data files for this torrent. In this case, plugin will not download data, it simple copy (or hardlink) its from existing.
Of course, plugin has a lot of configurable options (which commands are enabled, is user can see passkeys, is user can see 'hidden' torrents etc).
Prerequests:
- Each user must have a separate rtorrent instance.
- All rtorrent instances must have a some version.
- All rtorrent instances must run on the some host.
Cost: $50.
 

somus1735

Member
May 25, 2018
833
0
16
Ahhh okay .. I did not seen this plugin. Sounds cool, thanks for ur replies smiley.gif
Could someone tell me where I can find it? google results are saying nothin.