NguyenTrinh / linkage

Automatically exported from code.google.com/p/linkage
GNU General Public License v2.0
0 stars 0 forks source link

Filtering chooses wrong file #29

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I have a torrent which has the following files:
gd1973-11-14.sbd.miller.79049.flac/gd73-11-14.79049.txt
gd1973-11-14.sbd.miller.79049.flac/gd73-11-14.all.md5
gd1973-11-14.sbd.miller.79049.flac/gd73-11-14.ffp.ffp
gd1973-11-14.sbd.miller.79049.flac/gd73-11-14d1t01.flac
gd1973-11-14.sbd.miller.79049.flac/gd73-11-14d1t02.flac
gd1973-11-14.sbd.miller.79049.flac/gd73-11-14d1t03.flac
gd1973-11-14.sbd.miller.79049.flac/gd73-11-14d1t04.flac
gd1973-11-14.sbd.miller.79049.flac/gd73-11-14d1t05.flac
gd1973-11-14.sbd.miller.79049.flac/gd73-11-14d1t06.flac
gd1973-11-14.sbd.miller.79049.flac/gd73-11-14d1t07.flac
gd1973-11-14.sbd.miller.79049.flac/gd73-11-14d1t08.flac
gd1973-11-14.sbd.miller.79049.flac/gd73-11-14d1t09.flac
gd1973-11-14.sbd.miller.79049.flac/gd73-11-14d1t10.flac
gd1973-11-14.sbd.miller.79049.flac/gd73-11-14d1t11.flac
etc...

I went into the torrent details and checked the 'filter' checkbox next to
every file except for the '...d1t11.flac' file. This is the only file I
wanted to download. The first thing I noticed is that the size next to this
single file says 20.84mb whereas, after I checked all the checkboxes, the
"Remaining" said 21mb.

But the real issue is that, once I moved the torrent to the top of my list
so that I would start downloading, it ended up downloading the
'...d1t01.flac' file instead of the one I chose. I have been able to
reproduce this behavior twice. FWIW, if it's somehow related to this
torrent specifically, you can download it from
http://bt.etree.org/download.php/501113/gd1973-11-14.sbd.miller.79049.flac.torre
nt

Thanks for your work on linkage!

Original issue reported on code.google.com by stonecr...@gmail.com on 5 Aug 2007 at 4:57

GoogleCodeExporter commented 8 years ago
I'll look into that particular torrent.

Do you use linkage in full allocation mode? If not the file filtering will not 
work,
and you'll en up with corrupt downloads. So it might be that, anyway I'll check 
it
out and post any new findings here.

Original comment by ZeFl...@gmail.com on 5 Aug 2007 at 9:02

GoogleCodeExporter commented 8 years ago
Ahh.. I had actually turned off full allocation mode right before I tried this, 
since
I was running low on hdd space. I just tried turning it on and indeed it worked,
thanks! Although it's interesting that not only is the file corrupt, but it 
actually
downloads the wrong file here.

In any case, I'm glad to have a workaround to get the file I needed :)

Original comment by stonecr...@gmail.com on 6 Aug 2007 at 12:07

GoogleCodeExporter commented 8 years ago
Ok great, with 0.1.6 we will use libtorrent 0.1.3 which should provide a better
filtering (with priorities). So that release will hopefully fix oddities likes 
this one.

Original comment by ZeFl...@gmail.com on 6 Aug 2007 at 11:05