mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 02:26:53 -07:00
Headphones fix for issue #321
This commit is contained in:
parent
657fe66b66
commit
b8b2f4923f
3 changed files with 7 additions and 18 deletions
|
@ -1,12 +1,4 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
# adds lib directory to system path
|
||||
import os
|
||||
import sys
|
||||
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), 'lib')))
|
||||
|
||||
import nzbtomedia
|
||||
|
||||
#
|
||||
##############################################################################
|
||||
### NZBGET POST-PROCESSING SCRIPT ###
|
||||
|
@ -20,6 +12,9 @@ import nzbtomedia
|
|||
|
||||
### NZBGET POST-PROCESSING SCRIPT ###
|
||||
##############################################################################
|
||||
import os
|
||||
import sys
|
||||
import nzbtomedia
|
||||
|
||||
if os.environ.has_key('NZBOP_SCRIPTDIR') and not os.environ['NZBOP_VERSION'][0:5] < '11.0':
|
||||
print "Script triggered from NZBGet (11.0 or later)."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue