diff --git a/SABnzbd.py b/SABnzbd.py index 1f828d6..f65220d 100755 --- a/SABnzbd.py +++ b/SABnzbd.py @@ -428,6 +428,11 @@ def GetProfileInfo(vista_plus): def print_modules(): """ Log all detected optional or external modules """ + if sabnzbd.decoder.HAVE_SABYENC: + logging.info("SABYenc module... found!") + else: + logging.info("SABYenc module... NOT found!") + if sabnzbd.decoder.HAVE_YENC: logging.info("_yenc module... found!") else: diff --git a/interfaces/Config/templates/config.tmpl b/interfaces/Config/templates/config.tmpl index 5fa877a..5279e0f 100644 --- a/interfaces/Config/templates/config.tmpl +++ b/interfaces/Config/templates/config.tmpl @@ -68,6 +68,15 @@ + + + SABYenc: + + $T('notAvailable') + + + + $T('opt-enable_unzip'): diff --git a/sabnzbd/interface.py b/sabnzbd/interface.py index 721def4..73b2fa4 100644 --- a/sabnzbd/interface.py +++ b/sabnzbd/interface.py @@ -54,7 +54,7 @@ from sabnzbd.downloader import Downloader from sabnzbd.nzbqueue import NzbQueue import sabnzbd.wizard from sabnzbd.utils.servertests import test_nntp_server_dict -from sabnzbd.decoder import HAVE_YENC +from sabnzbd.decoder import HAVE_YENC, HAVE_SABYENC from sabnzbd.utils.sslinfo import ssl_version, ssl_protocols_labels from sabnzbd.constants import \ @@ -1266,6 +1266,7 @@ class ConfigPage(object): conf['have_7zip'] = bool(sabnzbd.newsunpack.SEVEN_COMMAND) conf['have_cryptography'] = bool(sabnzbd.HAVE_CRYPTOGRAPHY) conf['have_yenc'] = HAVE_YENC + conf['have_sabyenc'] = HAVE_SABYENC if sabnzbd.HAVE_SSL: conf['have_ssl'] = 1