diff --git a/README.mkd b/README.mkd index 81c71a1..5f35dfa 100644 --- a/README.mkd +++ b/README.mkd @@ -1,53 +1,13 @@ -Release Notes - SABnzbd 1.2.0 +Release Notes - SABnzbd 1.2.1 ==================================== -## What's new in 1.2.0 -- New SSL engine: - * SSL connections will always negotiate strongest encryption available - * Strict verification of certificates (optional) - * Set custom SSL-Ciphers to increase performance (lowers encryption strength) - * Detail information in Status window on type of encryption used - * Webserver can use stronger encryption for HTTPS connections -- New RAR-file processing with full support for RAR5: - * All passwords are now tried on the first complete RAR-file during download - * RAR-based verification when no par2-files or SFV-files are available -- Improvements to Categories processing: - * Matching of start of category inside NZB with user-categories - For example 'Movies > HD' will match a 'movies' category - * Categories can now be ordered to customize matching to categories in NZB's -- Improvements to RSS feed management: - * Multiple feeds can now share the same set of filters - * Added 'From Show SxxEyy' filter - * Feeds will only re-evaluate after clicking 'Apply Filters' or 'Read Feed' - * Information from newznab, nZEDb and nntmux tags used (age, size and show info) - * Feeds now show the category, age and when the NZB was added to the queue -- Detection of par2-files in completely obfuscated NZB's -- Verification (par2) and UnRAR can now be aborted from Glitter -- Faster startup and restart of SABnzbd -- Duplicates can now be marked as Failed (to notify external tools) -- Config Search function - -## Changes: -- Python post/pre/notification-scripts now require execute (+x) permissions -- Dropped dependency on PyOpenSSL, now only requires cryptography package -- Update 7zip to 16.04 and UnRar to 5.40 for Windows/macOS -- Update Python to 2.7.13 on Windows and macOS binaries -- CherryPy logging only enabled when forced via command line -- Not having C yEnc module will trigger warning on startup +## What's new in 1.2.1 +- RSS Downloaded page now shows icon to indicate source ## Bug fixes -- Re-use IP-address for new connections when a server has open connections -- Auto-disables CPU-usage optimizations if they result in slowdown -- no_penalties now applies to all types of penalties -- par2cmdline would fail jobs in folders ending on ".par2" -- Fix problem where memory usage wasn't correctly limited, causing MemoryError's -- Removing files from active download was not working correctly -- Accept & fail for pre-queue script was not working correctly -- Recursive unpack failed on Windows with very long paths -- Problems loading Notifications page with Scripts Folder set - -## Translations -- Many translations updated, thanks to our translators! +- Cloaked files (rar within rar) were not detected anymore +- RSS reading could fail on newznab attributes +- Incorrectly marking jobs with folders inside as failed ## About SABnzbd is an open-source cross-platform binary newsreader. diff --git a/SABnzbd.py b/SABnzbd.py index 43cd4ab..6e79781 100755 --- a/SABnzbd.py +++ b/SABnzbd.py @@ -1239,7 +1239,7 @@ def main(): try: from ctypes import cdll libc = cdll.LoadLibrary('/usr/lib/libc.dylib') - boolSetResult = libc.setiopolicy_np(0, 1, 3) # @UnusedVariable + boolSetResult = libc.setiopolicy_np(0, 1, 3) logging.info('[osx] IO priority set to throttle for process scope') except: logging.info('[osx] IO priority setting not supported') @@ -1264,7 +1264,6 @@ def main(): web_dirc = Web_Template(None, DEF_STDCONFIG, '') wizard_dir = os.path.join(sabnzbd.DIR_INTERFACES, 'wizard') - # sabnzbd.lang.install_language(os.path.join(wizard_dir, DEF_INT_LANGUAGE), sabnzbd.cfg.language(), 'wizard') sabnzbd.WEB_DIR = web_dir sabnzbd.WEB_DIR2 = web_dir2 diff --git a/sabnzbd/cfg.py b/sabnzbd/cfg.py index e6d2090..6fbc7ca 100644 --- a/sabnzbd/cfg.py +++ b/sabnzbd/cfg.py @@ -188,7 +188,6 @@ complete_dir = OptionDir('misc', 'complete_dir', DEF_COMPLETE_DIR, create=False, script_dir = OptionDir('misc', 'script_dir', create=True, writable=False) nzb_backup_dir = OptionDir('misc', 'nzb_backup_dir', DEF_NZBBACK_DIR) admin_dir = OptionDir('misc', 'admin_dir', DEF_ADMIN_DIR, validation=validate_safedir) -# log_dir = OptionDir('misc', 'log_dir', 'logs') dirscan_dir = OptionDir('misc', 'dirscan_dir', create=False) dirscan_speed = OptionNumber('misc', 'dirscan_speed', DEF_SCANRATE, 0, 3600) size_limit = OptionStr('misc', 'size_limit', '0') @@ -240,9 +239,6 @@ no_penalties = OptionBool('misc', 'no_penalties', False) load_balancing = OptionNumber('misc', 'load_balancing', 2) ipv6_servers = OptionNumber('misc', 'ipv6_servers', 1, 0, 2) -# Internal options, not saved in INI file -debug_delay = OptionNumber('misc', 'debug_delay', 0, add=False) - api_key = OptionStr('misc', 'api_key', create_api_key()) nzb_key = OptionStr('misc', 'nzb_key', create_api_key()) disable_key = OptionBool('misc', 'disable_api_key', False, protect=True) diff --git a/sabnzbd/postproc.py b/sabnzbd/postproc.py index c13025d..482dcc3 100644 --- a/sabnzbd/postproc.py +++ b/sabnzbd/postproc.py @@ -233,7 +233,7 @@ def process_job(nzo): nzb_list = [] # These need to be initialized in case of a crash workdir_complete = '' - postproc_time = 0 # @UnusedVariable -- pep8 bug? + postproc_time = 0 script_log = '' script_line = '' crash_msg = ''