Ubuntu par2 verification failing on misnamed articles
Posted: January 12th, 2011, 9:54 am
Hello,
I have been using SABnzbd for a while now, first on a windows machine and now on an Ubuntu headless machine that I made for downloads.
On both machines there is a single error that is common to both; failure to handle misnamed articles. If the article downloads rar files named XYZ.rar but the .par files are expecting ASD.rar, the verification will expect too many blocks and thus fail, even after having downloaded all the .par files associated with that article.
What I do currently is having a share from the download folder accessible on my windows PC and use QuickPar (a windows par verification tool) that recognizes the misnamed article and renames it. It can do that without the presence of any actual blocks available, so the downloading of blocks is not needed.
On checking the man par2 entry I found that par2 can also do that as long as you give it a command that takes an asterisk in the place of a filename to check. Renaming files is not part of the par2 automatic checks.
Having checked the newsunpack.py source file I have seen that SABnzbd uses the actual filename that is downloaded to check and repair. This does not handle misnamed articles, as the man par2 entry shows.
Is there a way that a function be entered in SABnzbd that can handle misnamed articles?
Thank you.
I have been using SABnzbd for a while now, first on a windows machine and now on an Ubuntu headless machine that I made for downloads.
On both machines there is a single error that is common to both; failure to handle misnamed articles. If the article downloads rar files named XYZ.rar but the .par files are expecting ASD.rar, the verification will expect too many blocks and thus fail, even after having downloaded all the .par files associated with that article.
What I do currently is having a share from the download folder accessible on my windows PC and use QuickPar (a windows par verification tool) that recognizes the misnamed article and renames it. It can do that without the presence of any actual blocks available, so the downloading of blocks is not needed.
On checking the man par2 entry I found that par2 can also do that as long as you give it a command that takes an asterisk in the place of a filename to check. Renaming files is not part of the par2 automatic checks.
Having checked the newsunpack.py source file I have seen that SABnzbd uses the actual filename that is downloaded to check and repair. This does not handle misnamed articles, as the man par2 entry shows.
Is there a way that a function be entered in SABnzbd that can handle misnamed articles?
Thank you.