# -*- coding: utf-8 -*- # HellaNZB configuration file - Managed by LottaNZB defineServer(antiIdle=270, bindTo='@@APPORTREPLACED@@'@@APPORTREPLACED@@'], id='@@APPORTREPLACED@@', idleTimeout=30, password=None, skipGroupCmd=False, ssl=False, username=None) # Maximum amount of memory used to cache encoded article data segments # HellaNZB will write article data to disk when this cache is exceeded.Available settings: -1 for unlimited size, 0 to disable cache (only cache to disk), > 0 to limit cache to this size, in bytes, KB, MB, e.g. 1024 '1024KB' '100MB' '1GB'. Hellanzb.CACHE_LIMIT = 0 # Categorize Newzbin.com downloads # Save archives into a sub-directory of DEST_DIR named after their Newzbin.com category e.g. Apps, Movies, Music Hellanzb.CATEGORIZE_DEST = True # Current download directory # The NZB file currently being downloaded is stored here. Hellanzb.CURRENT_DIR = "/home/@@APPORTREPLACED@@/.local/share/hellanzb/nzb/daemon.current" # Debug log file # Log debug messages to the specified file. # Hellanzb.DEBUG_MODE = "" # Remove the PROCESSED_SUBDIR if the archive was successfully post-processed # Warning: The normal LOG_FILE should be enabled with this option - for a record of what HellaNZB deletes. Hellanzb.DELETE_PROCESSED = True # Download directory # Completed downloads go here. Depending on your configuration, they will already be validated and extracted. Hellanzb.DEST_DIR = "/home/@@APPORTREPLACED@@/Downloads" # Disable ALL ANSI color codes in the main screen # For terminals that don't support ANY ANSI codes. Hellanzb.DISABLE_ANSI = False # Disable ANSI color codes in the main screen # Preserves the in-place scroller. Hellanzb.DISABLE_COLORS = False # Optional external handler script # HellaNZB will run this script after having post-processed a download. # Hellanzb.EXTERNAL_HANDLER_SCRIPT = "" # Enable Mac OS X Growl notifications Hellanzb.GROWL_NOTIFY = False # Growl password Hellanzb.GROWL_PASSWORD = "@@APPORTREPLACED@@" # Growl notification server Hellanzb.GROWL_SERVER = "@@APPORTREPLACED@@" # File types to keep # Don't get rid of these file types when finished post-processing. Move them to PROCESSED_SUBDIR instead. Case insensitive. Hellanzb.KEEP_FILE_TYPES = ['nfo', 'txt'] # Enable libnotify daemon notifications Hellanzb.LIBNOTIFY_NOTIFY = False # Log file # Log output to the specified file. Set to None for no logging. Hellanzb.LOG_FILE = "/home/@@APPORTREPLACED@@/.local/share/hellanzb/log" # Number of log files to be backed up Hellanzb.LOG_FILE_BACKUP_COUNT = 0 # Maximum log file size # Automatically roll over both log files when they reach LOG_FILE_MAX_BYTES size. Hellanzb.LOG_FILE_MAX_BYTES = 0 # Path to the optional macbinconv command # This command is used to convert MacBinary files. # Hellanzb.MACBINCONV_CMD = None # Maximum number of files to decompress at the same time # Please note that extracting downloaded files is a ressource-demanding task and your system might become unresponsive if many of these processes are running at the same time. Hellanzb.MAX_DECOMPRESSION_THREADS = 2 # Maximum download speed # Limit all server connections to the specified KB/s. Hellanzb.MAX_RATE = 0 # Newzbin.com password # Newzbin.com password for automatic NZB downloading Hellanzb.NEWZBIN_PASSWORD = "@@APPORTREPLACED@@" # Newzbin.com username # Newzbin.com username for automatic NZB downloading Hellanzb.NEWZBIN_USERNAME = "@@APPORTREPLACED@@" # Not required file types # If any of the following file types are missing from the archive and cannot be repaired, continue processing because they are unimportant. Case insensitive. Hellanzb.NOT_REQUIRED_FILE_TYPES = ['log', 'm3u', 'nfo', 'nzb', 'sfv', 'txt'] # Support extracting NZBs from GZIP files with this suffix in QUEUE_DIR # Defaults to '.nzb.gz'. Set to False to disable. Case insensitive. Hellanzb.NZB_GZIPS = ".nzb.gz" # Support extracting NZBs from ZIP files with this suffix in QUEUE_DIR # Defaults to '.nzb.zip'. Set to False to disable. Case insensitive. Hellanzb.NZB_ZIPS = ".nzb.zip" # NZB queue delay # Delay enqueueing new, recently modified NZB files added to the QUEUE_DIR until this many seconds have passed since the NZB's last modification time. Defaults to 10 seconds. Hellanzb.NZBQUEUE_MDELAY = 10.0 # Alternative NZB file extensions # List of alternative file extensions matched as NZB files in the QUEUE_DIR. The 'nzb' file extension is always matched. Hellanzb.OTHER_NZB_FILE_TYPES = [] # Path to the par2 command # The par2 application is used to check whether the downloaded files are damaged or not and is usually located in /usr/bin. Hellanzb.PAR2_CMD = "/usr/bin/par2" # Directory containing postponed downloads # Archives interrupted in the middle of downloading are stored here temporarily. Hellanzb.POSTPONED_DIR = "/home/@@APPORTREPLACED@@/.local/share/hellanzb/nzb/daemon.postponed" # Directory prefix # This property doesn't have any effect in stand-alone mode. Hellanzb.PREFIX_DIR = "/home/@@APPORTREPLACED@@/.local/share/hellanzb" # Directory containing processed files # Sub-directory within the NZB archive directory to move processed files to. Hellanzb.PROCESSED_SUBDIR = "processed" # Processing directory # Archives currently being processed are stored here. It may contain archive directories or symbolic links to archive directories. Hellanzb.PROCESSING_DIR = "/home/@@APPORTREPLACED@@/.local/share/hellanzb/nzb/daemon.processing" # Queue directory # Queued NZB files are stored here. Hellanzb.QUEUE_DIR = "/home/@@APPORTREPLACED@@/.local/share/hellanzb/nzb/daemon.queue" # Don't automatically extract downloads # Downloads regularly consists of compressed RAR archives. HellaNZB can overtake the task of extracting the desired files. Hellanzb.SKIP_UNRAR = False # Download PAR files only if necessary # Damaged downloads can be repaired using recovery files. Downloading them only if necessary can significantly decrease the data to transfer. Hellanzb.SMART_PAR = True # Location of HellaNZB's state file # This file is used to store HellaNZB's state when HellaNZB isn't running. The state is intermittently written out as XML to this file. It includes the order of the queue and SmartPAR recovery information. Hellanzb.STATE_XML_FILE = "/home/@@APPORTREPLACED@@/.local/share/hellanzb/nzb/hellanzbState.xml" # Temporary storage directory Hellanzb.TEMP_DIR = "/home/@@APPORTREPLACED@@/.local/share/hellanzb/nzb/daemon.temp" # Force umask # HellaNZB inherits the umask from the current user's environment (unless it's running in daemon mode). # Hellanzb.UMASK = 0 # Path to unrar command # The unrar application is used for automatic extraction of downloaded files and is usually located in /usr/bin. Hellanzb.UNRAR_CMD = "/usr/bin/unrar" # Working directory # The archive currently being downloaded is stored here. Hellanzb.WORKING_DIR = "/home/@@APPORTREPLACED@@/.local/share/hellanzb/nzb/daemon.working" # XML RPC password # You might probably never use this, but the command line XML RPC calls do - it should definitely be changed from its default value. The XML RPC username is hardcoded as 'hellanzb'. Hellanzb.XMLRPC_PASSWORD = "@@APPORTREPLACED@@" # XML RPC port number # Port number the XML RPC server will listen on and the client will connect to. None for no XML RPC server. Hellanzb.XMLRPC_PORT = 8760 # XML RPC hostname # Hostname for the XML RPC client to connect to. Defaults to 'localhost'. Hellanzb.XMLRPC_SERVER = "@@APPORTREPLACED@@" # Bind XML RPC server to IP address # IP address on which the XML RPC server will be bound to. '0.0.0.0' for any interfaces, '127.0.0.1' will disable remote access. Hellanzb.XMLRPC_SERVER_BIND = "@@APPORTREPLACED@@"