mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 05:43:16 -07:00
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:
parent
94354bb7d9
commit
eac9619dcb
12 changed files with 47 additions and 70 deletions
|
@ -68,12 +68,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 = "HeadPhones"
|
||||
nzbToMedia.main(sys.argv, section)
|
Loading…
Add table
Add a link
Reference in a new issue