-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.template
31 lines (24 loc) · 907 Bytes
/
.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/usr/bin/env python
#
##############################################################################
### NZBGET POST-PROCESSING SCRIPT ###
# PP-script template
#
# NOTE: This script requires Python to be installed on your system.
##############################################################################
### OPTIONS ###
# testOption
#
# This is a test option
#testOption=yes
### NZBGET POST-PROCESSING SCRIPT ###
##############################################################################
import os
import sys
# NZBGet Exit Codes
NZBGET_POSTPROCESS_PARCHECK = 92
NZBGET_POSTPROCESS_SUCCESS = 93
NZBGET_POSTPROCESS_ERROR = 94
NZBGET_POSTPROCESS_NONE = 95
SampleIDs = os.environ['NZBPO_TESTOPTION'].split(',')
sys.exit(NZBGET_POSTPROCESS_SUCCESS)