NextPVR Forums
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR v5 Support Linux v
« Previous 1 2 3 4 5 … 13 Next »
Script locations and parameters ?

 
  • 0 Vote(s) - 0 Average
Script locations and parameters ?
ceejayemm
Offline

Member

Posts: 54
Threads: 11
Joined: Sep 2019
#1
2020-10-14, 10:00 AM
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

Hardware:       Headless RPi4 4GB, Rasbian Lite on internal microSD card 
Recordings:     OpenMediaVault (v5.x) NAS, NFS share, mounted to RPi via autofs
Viewing client: Kodi / Libreelec on a seperate RPi 3b+
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 36,328
Threads: 722
Joined: May 2006
#2
2020-10-14, 11:55 AM
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
ceejayemm
Offline

Member

Posts: 54
Threads: 11
Joined: Sep 2019
#3
2020-10-14, 12:02 PM
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
Hardware:       Headless RPi4 4GB, Rasbian Lite on internal microSD card 
Recordings:     OpenMediaVault (v5.x) NAS, NFS share, mounted to RPi via autofs
Viewing client: Kodi / Libreelec on a seperate RPi 3b+
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  bulk comskip processing script baj1 7 255 2020-11-21, 08:44 PM
Last Post: baj1
  Post Delete script geniepro 5 685 2019-10-02, 12:54 AM
Last Post: flyingsubs
  help with script donbrew 2 345 2019-09-24, 03:35 AM
Last Post: donbrew
  Script Files vintdiesel 16 2,630 2019-09-22, 12:50 AM
Last Post: CDinger

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode