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 … 13 14 15 16 17 … 34 Next »
Scripts...

 
  • 0 Vote(s) - 0 Average
Scripts...
TheCompWiz
Offline

Junior Member

USA
Posts: 9
Threads: 2
Joined: Feb 2022
#1
2022-03-30, 02:03 PM
I've used NextPVR on Windows, but am at-heart a Linux guy.  I trying to implement the "Scripts" in Linux, following the directions for Windows, but I'm either missing something, or the scripts for Linux need to be implemented or named differently.  I tried creating a script called "PreStartup.sh" in /var/opt/nextpvr/scripts, but it seems to never be executed.  Should I name them .bat?  Any help would be greatly appreciated.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,819
Threads: 954
Joined: May 2006
#2
2022-03-30, 02:07 PM
.sh is fine but it is possible you didn't chmod them as executable.

Martin
TheCompWiz
Offline

Junior Member

USA
Posts: 9
Threads: 2
Joined: Feb 2022
#3
2022-03-30, 02:23 PM
Hi Martin! I did make sure that the scripts were +x. I can run them manually, and they work perfectly. I just can't get NextPVR to run them.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,819
Threads: 954
Joined: May 2006
#4
2022-03-30, 02:29 PM
What does ls -l /var/opt/nextpvr/scripts/PreStartup.sh show?

Also perhaps restart the service and upload the zipped log and we can see what is going on.

Martin
TheCompWiz
Offline

Junior Member

USA
Posts: 9
Threads: 2
Joined: Feb 2022
#5
2022-03-30, 02:31 PM
-rwxr-xr-x 1 root root 62 Mar 29 11:30 /var/opt/nextpvr/scripts/PreStartup.sh
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,819
Threads: 954
Joined: May 2006
#6
2022-03-30, 02:34 PM (This post was last modified: 2022-03-30, 02:34 PM by mvallevand.)
Ok that is the same as mine, so it probably is running and if we see the logs we might see a fail.

Martin
TheCompWiz
Offline

Junior Member

USA
Posts: 9
Threads: 2
Joined: Feb 2022
#7
2022-03-30, 02:39 PM
Looks like I get to eat some humble-pie. I had done it properly... but there was a path-error in my script. Fixed. Sorry to pester you Martin.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,819
Threads: 954
Joined: May 2006
#8
2022-03-30, 02:41 PM
No problem, glad you sorted it out.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



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

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

Linear Mode
Threaded Mode