QNAP 451+: SABnzbd/Sickbeard setup

  1. Install the Python 2.7 from the QNAP app center.
  2. Install the following qpkg from the QNAP community app repository:
  3. Configure SABnzbd with Usenet servers, and SickBeard with shows to search.
  4. Make sure that SABnzbd is configured to post-process by using the nzbtosickbeard.py script.This will also require configuring the values in: /share/Download/nzbToMedia/autoProcessMedia.cfg.
    Specifically

    • SickBeard integration had to be activated
    • The port had to be set to 7071 (based the SickBeard.qpkg config).
  5. If necessary, patch the first line of: /share/Download/nzbToMediaCharTranslator.py to use:
    #!/usr/bin/python2.7 -OO
  6. If necessary, patch: /share/CACHEDEV1_DATA/.qpkg/SABnzbdplus/SABnzbd.py to fix a bug causing SSL timeouts while  fetching nzb files from indexers using HTTPS (as per this forum post):
    opt_out_of_certificate_verification = True
    if opt_out_of_certificate_verification:
        try:
            import ssl
            ssl._create_default_https_context = ssl._create_unverified_context
        except:
            pass
    
  7. If necessary, patch: /share/CACHEDEV1_DATA/.qpkg/SickBeard/SickBeard/sickbeard/helpers.py errors related to searching for nab files (from this forum post):On line 227, remove the str() from around the e.code so it reads like:
    logger.log(u"HTTP error " + e.code + " while loading URL " + url, logger.WARNING)
    

    Then, do similar down on line 234 so it reads like:

    logger.log(u"URL error " + e.reason + " while loading URL " + url, logger.WARNING)