NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Other Clients LG LG TV app

 
  • 0 Vote(s) - 0 Average
LG TV app
Allan
Offline

Member

Canada
Posts: 106
Threads: 11
Joined: Dec 2024
#41
2025-06-02, 07:41 PM (This post was last modified: 2025-06-02, 07:43 PM by Allan.)
FYI, you can set a HOST_IP environment variable for the server if you want it to explicitly use a specific address, rather than the detected address

Thanks sub. 

I added a HOST_IP environment variable to my launchdaemon (excerpt below) as explained by Martin, and the backend now responds with the correct IP address even if parallels or sonicwall is running.


Code:
…
    <dict>
        <key>PATH</key>
        <string>/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin</string>
        <key>HOST_IP</key>
            <string>x.x.x.x</string>
    </dict>
…

BTW, Martin, I never could get the launchdaemon to work using the NEXTPVR_DATADIR_USERDATA environment variable (as you can see above, I'm not using it). Instead, I use the UserName key, which has the effect of looking for and storing the .npvr-Data directory in my user's directory. I could not get a launchdaemon to work (only a launchagent) until I did that. Except for the little glitch we have discussed elsewhere, the backend has run rock solid with no user intervention.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#42
2025-06-02, 08:56 PM
(2025-06-02, 07:41 PM)Allan Wrote: I added a HOST_IP environment variable to my launchdaemon (excerpt below) as explained by Martin, and the backend now responds with the correct IP address even if parallels or sonicwall is running.


Code:
…
    <dict>
        <key>PATH</key>
        <string>/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin</string>
        <key>HOST_IP</key>
            <string>x.x.x.x</string>
    </dict>
…
Great!
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (5): « Previous 1 2 3 4 5


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

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

Linear Mode
Threaded Mode