NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support macOS v
1 2 3 4 Next »
How to run NextPVR as a process (without the terminal)

 
  • 0 Vote(s) - 0 Average
How to run NextPVR as a process (without the terminal)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 55,216
Threads: 984
Joined: May 2006
#31
2026-03-27, 12:40 AM
Yes dscl

Code:
sudo dscl . -create /Users/nextpvr
sudo dscl . -create /Users/nextpvr UserShell /usr/bin/false
sudo dscl . -create /Users/nextpvr RealName "NextPVR"
sudo dscl . -create /Users/nextpvr UniqueID 501
sudo dscl . -create /Users/nextpvr PrimaryGroupID 20
sudo dscl . -create /Users/nextpvr NFSHomeDirectory /var/empty

No home folder I use /var/nextpvr/recordings for recordings. and I use the plist to point to /var/opt/nextpvr with the data files as discussed before.
Allan
Offline

Member

Canada
Posts: 127
Threads: 12
Joined: Dec 2024
#32
2026-03-27, 03:03 PM (This post was last modified: 2026-03-27, 03:29 PM by Allan.)
Creating a nextpvr user is what I was missing when I was struggling to get the launchdaemon to work. My workaround did the job, but I think your method is more orderly.

One thing: 501 is the UID that the OS assigns to the first interactive user when a new mac is set up. Each subsequent interactive user set up in users and groups gets the next number (502, 503, etc.). I am guessing that 501 was available because you deleted the user that initially had that UID. In most cases, assigning UniqueID 501 would not work. I don't know what would happen, probably an innocuous failure with an error message, but its possible it would break the active 501 user.

I believe that 1000 and up are the UIDs that are conventionally assigned to this kind of user. Out of curiosity, does nextpvr user show up in users and groups?

For the information of anyone who wants to determine what UIDs are available, the command to list all users and their UIDs is:
dscl . -list /Users UniqueID
or just existing UIDs in the 1000 range:
dscl . -list /Users UniqueID | grep 1...
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 55,216
Threads: 984
Joined: May 2006
#33
2026-03-27, 04:00 PM
I just picked the next system user on my machine but it could be any 500 level

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (4): « Previous 1 2 3 4


Possibly Related Threads…
Thread Author Replies Views Last Post
  NextPVR is being shut down/shutting itself down Allan 32 7,192 2025-01-16, 04:29 PM
Last Post: mvallevand
  Finding Multiple NextPVR's GlowTube 1 1,652 2024-11-06, 11:12 PM
Last Post: mvallevand
  Is there a "start" command that can be used in the Terminal app? Luisy44 2 1,973 2024-10-08, 07:56 PM
Last Post: Luisy44
  "NextPVR UI" App from Apple App Store a_yank_for_yes 3 3,235 2023-01-26, 07:25 PM
Last Post: sub
  NextPVR on M1 Mac? timbo3344 36 18,820 2022-10-17, 03:36 AM
Last Post: sub
  NextPVR SSD filling up cookrd1 2 2,533 2020-11-12, 03:05 PM
Last Post: cookrd1
  NextPVR install on a iMac running Catalina Edford 5 6,406 2020-07-31, 10:49 PM
Last Post: Edford
  Terminal Window jchhenderson 8 5,220 2019-12-04, 06:41 PM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode