Can sabyenc be made backward-compatible?

Want something added? Ask for it here.
Post Reply
User avatar
OneCD
Hero Member
Hero Member
Posts: 557
Joined: March 4th, 2017, 3:47 pm

Can sabyenc be made backward-compatible?

Post by OneCD »

Hello.

From time-to-time sabyenc is updated. Which can cause an error such as this one if using a 'master' branch of SABnzbd: "SABYenc disabled: no correct version found! (Found v3.4.0, expecting v3.3.2)"

This means a manual downgrade of the newer sabyenc:

Code: Select all

pip uninstall -y sabyenc; pip install sabyenc==3.3.2 && /etc/init.d/sabnzbd.sh restart
... until the 'develop' branch becomes the new 'master'.

Is there a way to prevent SABnzbd complaining when it finds a newer version of sabyenc?

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
safihre
Administrator
Administrator
Posts: 5338
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Can sabyenc be made backward-compatible?

Post by safihre »

In this case they are really not backwards compatible, since 3.4.0 has extra output variables.
It's already the case for minor versions (3.3.1 -> 3.3.2) that there are no errors, but for bigger changes they are just not exchangable.
The publishing of 3.4.0 to PyPi was an accident, I reverted that.
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: Can sabyenc be made backward-compatible?

Post by OneCD »

Okiedoke, thanks @safihre. ^-^
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