madcowfred / newsmangler

NNTP binary poster with mulitple connection support
37 stars 18 forks source link

one folder -> two binsearch-entries #21

Open nickma82 opened 11 years ago

nickma82 commented 11 years ago

A posted folder (including file + par2Files) ends up as two entries in binsearch. Shoud be one entry. :)

Detail: This folder structure:

ls ubuntu13_04_netboot_mini/
* ubuntu13_04_netboot_mini.iso 
* ubuntu13_04_netboot_mini.iso.par2 ubuntu13_04_netboot_mini.iso.vol01+2.par2 ...

ends up like this in binsearch

1. ubuntu13_04_netboot_mini [2/6] - "ubuntu13_04_netboot_mini.iso.par2" yEnc (1/1)
 collection size: 3.66 MB, parts available: 8 / 8 - 5 par2 files
2. ubuntu13_04_netboot_mini [1/6] - "ubuntu13_04_netboot_mini.iso" yEnc (1/48)  bar

using this command to post mangler -g alt.binaries.test.yenc "ubuntu13_04_netboot_mini"

Python 2.7.4

madcowfred commented 11 years ago

I have no control over how binsearch indexes things. If you have some example subject lines that it does parse correctly I can see about tweaking whatever it's choking on.