2020-07-23, 12:13 AM
(This post was last modified: 2020-07-23, 12:18 AM by mvallevand.)
(2020-07-22, 11:59 PM)sub Wrote:(2020-07-22, 11:53 PM)mvallevand Wrote: Ok then you must attempt to "find" config.xml to get the port and if so NShared must do an pseudo install before calling localhost.I just checked the code, and I'm pretty sure the only thing it shares from anything in NextPVR is the log file functions.
It defaults to http://127.0.0.1:8866, and pin 0000, but these can be overridden with -server:xxxxx:8866 and -pin:1234
Ok but since he is running as a user with no environment it doesn't find /var/opt/nextpvr/config.xml and it creates the .NPVR-data folder structure for logging and also the default config.xml
Code:
/home/martin/.NPVR-data/
/home/martin/.NPVR-data/logs
/home/martin/.NPVR-data/media
/home/martin/.NPVR-data/media/shows
/home/martin/.NPVR-data/media/channels
/home/martin/.NPVR-data/scripts
/home/martin/.NPVR-data/web
/home/martin/.NPVR-data/web/temp
Config.xml does not exists. Creating it from master.
That is why I suspect the pin now.
Martin