Detection of unrar binary version, and rar version

Want something added? Ask for it here.
Post Reply
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Detection of unrar binary version, and rar version

Post by sander »

I've written some code into SABnzbd that will report
- the version of the unrar program
- the version of the rar file that was downloaded
This information should help to elimate (well: at least analyse) rar version mismatches.

Example sabnzbd.log:

Code: Select all

2014-05-06 23:34:32,088::INFO::[SABnzbd:504] unrar binary... found (/usr/bin/unrar)
2014-05-06 23:34:32,098::INFO::[SABnzbd:508] unrar binary version is: UNRAR 5.00 beta 8 freeware
...
2014-05-06 23:36:26,888::DEBUG::[newsunpack:610] type of rar file is Rar4 (or lower)
@shypike: do you think this is useful? If so, I'll make a git request. Would 0.7.x be OK?
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Detection of unrar binary version, and rar version

Post by shypike »

Logging is always useful, please do.
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: Detection of unrar binary version, and rar version

Post by sander »

Post Reply