Page 1 of 1
Normalize Filename Case?
Posted: December 22nd, 2011, 1:16 pm
by kraqh3d
To be honest, I can't say this is a sabnzb bug. It is a bit of an annoyance so I was hoping it could be corrected. I've been using sabnzb on linux for near a year now. I started off with the stock Debian Squeeze version but quickly added the unofficial ppa repository so I can keep up to date. Sabnzb works beautifully with one rare exception. Linux has a case sensitive file system and every so often I find a situation where the files in a rar set don't have matching case. I've only ever run into a situation where some are all lower case, and some are all upper case. During the unpacking, Sabnzb will report a failure that the next file in the rar set cannot be found. It's really seems to be an issue with unrar as I tried manual extraction as well. And Gnome's File-Roller Archive Manager has the same problem. After normalizing the case of the files, the set will unrar without any issues. There's already some options to replace spaces, dots, and illegal characters. Would there be any harm in an option to force all downloaded files to lowercase or the like to address this?
Re: Normalize Filename Case?
Posted: December 22nd, 2011, 2:52 pm
by shypike
It is an issue with unrar.
Lowercasing all files won't help, since we don't know what unrar is looking for.
BTW: I do most of my downloading on Linux and I've not run into this issue.
Which unrar version are you using?
Re: Normalize Filename Case?
Posted: December 22nd, 2011, 4:32 pm
by kraqh3d
Agreed. It's not an sabnzb issue. And I can assure that forcing all the files in the set to have a matching case does work. It's just easiest to use rename and force them all to lowercase. This doesn't happen often. I've probably hit this less than 10 times over the course of a year. I actually hit this issue today which is why posted this query. It occurs to me that part of the problem may be either par2, itself, or possibly how the par2 set is defined. I think sometimes repaired files may be all capital letters. This happens so rarely that I don't really pay attention, especially after I figured out the quick fix.
Here's dpkg output with the unrar and par2 versions:
ii unrar 1:3.9.10-1 Unarchiver for .rar files (non-free version)
ii par2 0.4-11 Parity Archive Volume Set, for checking and repair of files
Re: Normalize Filename Case?
Posted: December 22nd, 2011, 6:03 pm
by shypike
Looks like the normal unrar, although there should be more recent ones.
I'm not keen om renaming the files, because it could affect posts
that now do process correctly.
The actual cause is in fact careless posters who use Windows.