Skip to content

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.

For NextPVR4 and NextPVR5 on Windows

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.

For NextPVR5 on All Non-Windows Platforms

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.

Clone this wiki locally