Page 1 of 1

detect required sabyenc version?

Posted: November 27th, 2017, 1:00 am
by OneCD
Hi all,

Can anyone suggest a way to automatically obtain the version of sabyenc that SABnzbd requires - prior to installing SABnzbd?

As the Sherpa installer (for the QNAP environment) uses the master branch, it currently requires 3.3.1 but the latest is 3.3.2 which SAB complains about. I'd like to install only the required sabyenc version.

But I'm also open to suggestion regarding ways around this. ;D

Thank you.

Re: detect required sabyenc version?

Posted: November 27th, 2017, 1:33 am
by OneCD
Ah, found it. It's in constants.py:

Code: Select all

SABYENC_VERSION_REQUIRED = '3.3.1'
I can work with that. ;)

Re: detect required sabyenc version?

Posted: November 27th, 2017, 2:14 am
by safihre
Sabnzbd 2.3.2 should also be fine with Sabyenc 3.3.1, is it not?
Only requires the 3.3.x to match.

Re: detect required sabyenc version?

Posted: November 27th, 2017, 2:37 am
by OneCD
I'm not on 2.3.2 yet @safihre. Still use the master branch and it's on 2.3.1.

But it looks like sabyenc is now at 3.3.2, so SAB 2.3.1 shows an error:
"SABYenc disabled: no correct version found! (Found v3.3.2, expecting v3.3.1)"

Re: detect required sabyenc version?

Posted: November 27th, 2017, 3:03 am
by safihre
Yeah sorry about that, I should have made it only 3.3.x sooner instead of forcing every little version.. Oops!

Re: detect required sabyenc version?

Posted: November 27th, 2017, 3:14 am
by OneCD
Well, I thought it was a bit odd - but I'm happy to work around it. ;)