sub ( '(?i)-AsRequested-xpost\.nzb$', '.nzb', fwp ) fwp = re. environ : print ( ' Filename not found in environment' ) sys. exit ( POSTPROCESS_ERROR ) if not 'NZBNP_NZBNAME' in os. environ : print ( '*** NZBGet post-processing script ***' ) print ( 'This script is supposed to be called from NZBGet (13.0 or later).' ) sys. # NZBGET SCAN SCRIPT # from _future_ import print_function import os, re, sys # Exit codes used by NZBGet POSTPROCESS_SUCCESS = 93 POSTPROCESS_ERROR = 94 POSTPROCESS_SKIP = 95 # Check if the script is called from NZBGet 13.0 or later if not 'NZBOP_SCRIPTDIR' in os. # NOTE: This script requires Python to be installed on your system. # Removes the following suffixes from NZB name: # NZBgeek / Obfuscated / BUYMORE / Scrambled. #!/usr/bin/env python3 # NZBGET SCAN SCRIPT # Clean NZB name. JBOPS 4K Transcode Stopping with Tautulli How to run the unRaid mover for qBittorent seeding torrents How to Sync 2 Radarr or Sonarr with each other
0 Comments
Leave a Reply. |