-
Notifications
You must be signed in to change notification settings - Fork 176
nzbget
- Set the ScriptDir in NZBGet, settings, PATHS, ScriptDir to your nzbToMedia folder or clone nzbToMedia into the default ScriptDir.
- All postprocessing scripts are now available to NZBGet and can be configured from the webUI NZBGet, settings (no need to edit autoProcessMedia.cfg). Just apply the appropriate settings and save all changes before starting a download.
- For details on what settings to use look here autoProcessMedia.cfg
- Set the scripts to run in this order in NZBGet, settings, EXTENSION SCRIPTS, ScriptOrder:
DeleteSamples, ResetDateTime, nzbTo*, Email, Logger
- Choose which scripts you want for default and for each category in NZBGet, settings, CATEGORIES, Categoryx.PostScript. eg
-
Category1Name
=TV
-
Category1PostScript
=DeleteSamples.py, ResetDateTime.py, nzbToSickBeard.py, Email.py, Logger.py
-
Category2Name
=movies
-
Category2PostScript
=DeleteSamples.py, ResetDateTime.py, nzbToCouchPotato.py, Email.py, Logger.py
Email and Logger can be removed if you don't want these enabled
- In order for correct failed download handling with SickBeard and CouchPotato
- NZBGet, Settings, CHECK AND REPAIR, HealthCheck =
Delete
- NZBGet, Settings, DOWNLOAD QUEUE, NzbCleanupDisk =
No
- Download Queue, PostStrategy =
Sequential
orBalanced
- Note that if
Aggressive
orRocket
is set, nzbToMedia will only allow 1 instance to run at any time, and will therefore have stalled processes running.
These steps are necessary to allow nzbToMedia to update itself using git.
SSH into your Synology. Edit the autoProcessMedia.cfg file located in the nzbToMedia folder:
vi /pat/to/nzbToMedia/autoProcessMedia.cfg
Under [General] Set the git_path variable to the git binary from the git package:
git_path = /usr/local/git/bin/git
Make sure the nzbget user is owner of the ppscript folder 'nzbToMedia':
New SynoCommunity package:
chown -R sc-nzbget:users /path/to/nzbToMedia
Old SynoCommunity package:
chown -R nzbget:users /path/to/nzbToMedia
Example:
chown -R sc-nzbget:users /volume1/@appstore/nzbget/share/nzbget/scripts/nzbToMedia
If nzbToMedia doesn't execute properly after an update, you might need to remove the old *.pyc files. Run inside the nzbToMedia folder:
find . -name "*.pyc" -exec rm -f {} \;
You should install python and then run the source version of these scripts following the directions above.
The details below relate to the (now obsolete) compiled .exe versions that I am not planning to maintain any longer.
If you want to use the compiled versions from here Compiled Scripts
you need to put the nzbToMedia folder into the scripts folder, and again configure the 3 scripts as per autoProcessMedia.cfg
Set the scripts to run in this order:
DeleteSamples.bat, ResetDateTime.bat, nzbToMedia.bat
Set these scripts for all categories to be processed.
DeleteSamples.bat, ResetDateTime.bat, nzbToMedia.bat