NextPVR Forums

Full Version: Script locations and parameters ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have used the installer to install NVPR on my RPI4 4GB. Can I check that the location of scripts on such an installation is:

/opt/nextpvr/system/data/scripts

as the Wiki locates them to '..' which isn't much use. Also, the placeholder.txt sample file in this location references Windows, rather than Linux type script filesĀ 

How do I pass parameters to these script files ? To use comskip for example in Windows I would use:

"D:\Utilities\comskip\comskip.exe" --ini="D:\Utilities\comskip\comskip.ini" --playnice --ts %1

What would be the Linux version of this ?

Thanks

Chris

It is linux so it is a linux bash script. parameters are $ not %

You may need to do research on bash scripts. I use

nice -n 19 comskip --ini=/home/martin/Comskip/comskip.ini "$1" > /dev/null

You may want to take out the redirect while you get it running.

Martin
Martin

Thanks as always for the quick response. I will try using your example as a guide. Can I check that:

/opt/nextpvr/system/data/scripts

is the correct location for these scripts to live ?

Thanks

Chris