NextPVR Forums
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Linux v
« Previous 1 … 14 15 16 17 18 … 26 Next »
Script locations and parameters ?

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

Member

Posts: 124
Threads: 21
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

Server          Headless RPi4 4GB, RaspberryPI OS Lite on USB mounted SSD
Recordings: OpenMediaVault (v6.x) NAS, NFS share, mounted to RPi via autofs
Client:          Kodi on Firestick 4K
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 45,336
Threads: 868
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: 124
Threads: 21
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
Server          Headless RPi4 4GB, RaspberryPI OS Lite on USB mounted SSD
Recordings: OpenMediaVault (v6.x) NAS, NFS share, mounted to RPi via autofs
Client:          Kodi on Firestick 4K
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  LibreElec file locations jcjefferies 24 499 2023-01-27, 05:32 PM
Last Post: jcjefferies
  Think all the script files must've disappeared mlp78758 13 286 2022-11-25, 05:34 PM
Last Post: mvallevand
  Linux upgrade shell script.. NextPVR-consumer 3 502 2021-12-05, 03:17 PM
Last Post: mvallevand
  bulk comskip processing script baj1 7 1,616 2020-11-21, 08:44 PM
Last Post: baj1
  Post Delete script geniepro 5 1,450 2019-10-02, 12:54 AM
Last Post: flyingsubs
  help with script donbrew 2 764 2019-09-24, 03:35 AM
Last Post: donbrew
  Script Files vintdiesel 16 4,392 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