Detection of unrar binary version, and rar version
Posted: May 6th, 2014, 5:21 pm
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:
@shypike: do you think this is useful? If so, I'll make a git request. Would 0.7.x be OK?
- 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)