Skip to content

Components

emveepee edited this page Apr 9, 2022 · 3 revisions

Components

Data Folder Location

Windows

C:\Users\Public\NPVR-data ... data files including channel icons and show art.
C:\Users\Public\NPVR-data\logs .... log files

Linux ... when NextPVR Server installed with deb installer

/var/opt/nextpvr ... data files including channel icons and show art.
/var/opt/nextpvr/logs ... log files

Docker

Note: config is the folder a user maps for config.

/config ... data files including channel icons and show art.
/config/logs ... log files

Others ... TBA

Program Folder Location

Windows

C:\Program Files\NextPVR

Linux ... when NextPVR Server installed with deb installer

/opt/nextpvr/system

Docker (included)

/apps

Others ... TBA

Files

Data Folder

config.xml ... stores settings.
npvr.db3 ... SQLite database that stores device, EPG and recording information.

NextPVR Server stores all of the values set in the Settings Web App and all lists of Recordings and all EPG data and everything else in npvr.db3 and config.xml. NextPVR Server can be reset to defaults by deleting npvr.db3 and config.xml. NextPVR Server will recreate npvr.db3 and config.xml with default values when restarted ... typically by rebooting the computer.

Logs folder

nrecord.log ... most recent log from NextPVR Server.
*.1, *.2, *.3 ... preceding logs from NextPVR Server.
device-*.log ... logs from processes that connect to tuner devices

The messages in log files are cached and written to the file on disk at intervals. Viewing the content of a "in progress" log file might not show the latest log messages. You can flush the cache to the file on disk by making a log zip file at Settings -> About.

Programs

Windows

NextPVRService.exe ... NextPVR Server background task.
NextPVRServer.exe ... NextPVR Server task that runs in a command prompt.
DeviceHostWindows.exe ... Background process that connects to tuner devices.
NextPVRUninstall.exe ... Uninstaller that is invoked by Windows Remove Programs.
NPVRTray.exe ... Tray task to, for example, display NextPVR status.
NScriptHelper.dll ... Library of utility functions for use in command and script files.

Processing

NextPVR Server starts when the computer starts and runs continuously in the background. NextPVR Server runs as a Windows Service or as a Dotnet process on Linux if installed with deb.

NextPVR Server ...

  • Communicates with tuner and IPTV devices. Recording and Live TV use NextPVR Server.

  • Performs manual and automatic EPG updates to the TV Guide.

  • Runs command or script files triggered by events that include recording starts and ends ... Scripts.

  • Schedules recordings at the end of each TV Guide update process.

  • Transcodes video from recordings and Live TV to create a video stream that can play in web browser software.