epg
EPG Plugin
Section titled “EPG Plugin”Electronic Program Guide: XMLTV import, channels, schedules, and recording rules. Pro plugin.
Requires: Basic license tier or higher.
nself license set nself_pro_...
Install
Section titled “Install”nself license set nself_pro_xxxxx...nself plugin install epgWhat It Does
Section titled “What It Does”Manages an Electronic Program Guide for IPTV and broadcast TV applications. Imports channel and schedule data from XMLTV sources, maintains a current/upcoming program schedule, and manages recording rules that trigger the recording plugin. Provides a GraphQL API via Hasura for guide display in client apps.
Configuration
Section titled “Configuration”| Env Var | Default | Description |
|---|---|---|
EPG_PORT | 3090 | EPG service port |
EPG_XMLTV_URL | none | XMLTV source URL |
EPG_REFRESH_INTERVAL | 86400 | Schedule refresh interval in seconds |
EPG_SCHEDULE_DAYS | 7 | Days of schedule to maintain |
| Port | Purpose |
|---|---|
| 3090 | EPG REST API |
Database Tables
Section titled “Database Tables”6 tables added to your Postgres database:
np_epg_sources: XMLTV source configurationsnp_epg_channels: channel definitionsnp_epg_programs: program schedulenp_epg_categories: program categoriesnp_epg_recording_rules: scheduled recording rulesnp_epg_sync_log: XMLTV sync history
Nginx Routes
Section titled “Nginx Routes”| Route | Target |
|---|---|
/epg/ | EPG query API |