Page 1 of 1

Detection of unrar binary version, and rar version

Posted: May 6th, 2014, 5:21 pm
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?

Re: Detection of unrar binary version, and rar version

Posted: May 6th, 2014, 10:12 pm
by shypike
Logging is always useful, please do.

Re: Detection of unrar binary version, and rar version

Posted: May 7th, 2014, 3:14 pm
by sander