detect required sabyenc version?

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
User avatar
OneCD
Hero Member
Hero Member
Posts: 557
Joined: March 4th, 2017, 3:47 pm

detect required sabyenc version?

Post 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.
Stuff I like: Apache bash cron DD-WRT Debian DNSMasq Entware FireFox GitHub ImageMagick Kate KDE LibreELEC Netrunner NFS NVIDIA OpenVPN Orvibo-S20 pfSense Python Raspberry-Pi RAID SABnzbd Transmission Usenet VirtualBox Watcher3 XFCE
User avatar
OneCD
Hero Member
Hero Member
Posts: 557
Joined: March 4th, 2017, 3:47 pm

Re: detect required sabyenc version?

Post by OneCD »

Ah, found it. It's in constants.py:

Code: Select all

SABYENC_VERSION_REQUIRED = '3.3.1'
I can work with that. ;)
Stuff I like: Apache bash cron DD-WRT Debian DNSMasq Entware FireFox GitHub ImageMagick Kate KDE LibreELEC Netrunner NFS NVIDIA OpenVPN Orvibo-S20 pfSense Python Raspberry-Pi RAID SABnzbd Transmission Usenet VirtualBox Watcher3 XFCE
User avatar
safihre
Administrator
Administrator
Posts: 5366
Joined: April 30th, 2015, 7:35 am
Contact:

Re: detect required sabyenc version?

Post 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.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
User avatar
OneCD
Hero Member
Hero Member
Posts: 557
Joined: March 4th, 2017, 3:47 pm

Re: detect required sabyenc version?

Post 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)"
Stuff I like: Apache bash cron DD-WRT Debian DNSMasq Entware FireFox GitHub ImageMagick Kate KDE LibreELEC Netrunner NFS NVIDIA OpenVPN Orvibo-S20 pfSense Python Raspberry-Pi RAID SABnzbd Transmission Usenet VirtualBox Watcher3 XFCE
User avatar
safihre
Administrator
Administrator
Posts: 5366
Joined: April 30th, 2015, 7:35 am
Contact:

Re: detect required sabyenc version?

Post by safihre »

Yeah sorry about that, I should have made it only 3.3.x sooner instead of forcing every little version.. Oops!
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
User avatar
OneCD
Hero Member
Hero Member
Posts: 557
Joined: March 4th, 2017, 3:47 pm

Re: detect required sabyenc version?

Post by OneCD »

Well, I thought it was a bit odd - but I'm happy to work around it. ;)
Stuff I like: Apache bash cron DD-WRT Debian DNSMasq Entware FireFox GitHub ImageMagick Kate KDE LibreELEC Netrunner NFS NVIDIA OpenVPN Orvibo-S20 pfSense Python Raspberry-Pi RAID SABnzbd Transmission Usenet VirtualBox Watcher3 XFCE
Post Reply