nzbTo* files will now send section variable to nzbToMedia script so that manually processing doesn't bother with trying to post-process unrequired folders, also I've changed the way we call nzbToMedia so this should resolve issue #328 encoding issues.

Custom userscripts folder added to avoid auto-update conflicts so long as the custom scripts are stored in said folder, this folder is added to .gitignore
This commit is contained in:
echel0n 2014-04-17 05:16:29 -07:00
commit eac9619dcb
12 changed files with 47 additions and 70 deletions

View file

@ -130,13 +130,8 @@
### NZBGET POST-PROCESSING SCRIPT ###
##############################################################################
# Stub file to call nzbToMedia
import sys
import nzbToMedia
def main():
# call nzbToMedia
nzbToMedia.main()
if __name__ == "__main__":
exit(main())
section = "SickBeard"
nzbToMedia.main(sys.argv, section)