-
Notifications
You must be signed in to change notification settings - Fork 0
Triggering Script from NextPVR
Kyle Johnson edited this page May 6, 2020
·
5 revisions
To trigger the script to run, you need to add something to your PostProcessing file in NextPVR.
You need to go to the NextPVR scripts directory, edit (or create) PostProcessing.bat
, and add:
"C:\Program Files\Python36\python.exe" "C:\CustomApps\trigger.kodiscan\execute.py" "%3"
The path to the Python executable needs to match your Python installation, and the path to the script needs to match the path on your system to the script.
You need to go to the NextPVR scripts directory, edit (or create) PostProcessing.sh
, and add:
python3 /config/scripts/trigger.kodiscan/execute.py "$3"
The path to the script needs to match the path on your system to the script. This example is from a Docker instance where is script is placed in the NextPVR scripts directory. If your directory path has spaces in any of the folder name, the recommendation is to surround the script path with double quotes.