Comment 3 for bug 1642098

Revision history for this message
Jeremy Saklad (saklad5) wrote :

The causes of this bug are the hardcoded arguments in the par2 backend. Most notably, “-n1” conflicts with any user-specified arguments for “-l” or “-n”, and makes it impossible to use split par2 archives. Since par2 archives are supposed to be used as split archives, minimizing the amount of recovery blocks that have to be downloaded to repair a problem, this is a major issue.

The arguments are appended onto the hardcoded ones, checking to see if any of them conflict with the defaults. I was able to fix all reported problems by deleting the hardcoded arguments and supplying my own replacements, as a proof-of-concept.

To actually fix this, the --par2-options parameters should be made to override the currently hardcoded defaults.