JohnDoee / autotorrent

Matches torrents with files and gets them seeded
MIT License
269 stars 34 forks source link

Feature request: Check files against the hash #1

Closed Joshfindit closed 9 years ago

Joshfindit commented 9 years ago

Most old content and content that has been curated in to a Library has been renamed, subtracted from, and added to.

To use autotorrent on these files, it would be necessary to check the contents in full using piece hashes. Worst-case scenario, some files are missing or some of the data within the files is missing, but if there is a peer who has the 3% that you are missing, and you have the other 97%, then both could have 100% by 'seeding' the incomplete torrent.

JohnDoee commented 9 years ago

To make sure I understand the request correctly, can you please compare it with my example and maybe give a counter example.

Example: You have downloaded the Pioneer One season pack from http://vodo.net/download/torrent/127 (it has 6 episodes and a few small files).

The directory listing might look like this:

Episode 3 is the missing file.

AutoTorrent should then be able to ensure episode 1-2, 4-6 are the correct episodes even though one is corrupted and their names are messed up.

Joshfindit commented 9 years ago

Yes, that's an excellent example.

To add to the example; When you downloaded it, Sickbeard processed Pioneer One in to a library location: /media/Video/TV/Pioneer One/Season 01/ Sickbeard did not move "Support.Pioneer.One!.URL" or "vodo.nfo", and later deleted those two smaller files. It also added it's own .nfo files for each episode (/media/Video/TV/Pioneer One/Season 01/E1.mkv, /media/Video/TV/Pioneer One/Season 01/E1.nfo, and so on)

Somewhere along the way, there was a hard drive issue and E3 was lost along with a few bytes of E4. Now, you have a new internet connection, new server, or something else, and want to seed what you have for everyone's benefit.

autotorrent steps in, does the heavy lifting, and after you grab the rest of the data automatically, you're seeding 100% just like you wanted to.