Configuration¶
All panel settings are managed via Global Config (/config_dazn).
Settings are stored in a single row in the settings table.
DAZN Credentials¶
| Setting | Description |
|---|---|
| DAZN account email address | |
| Password | DAZN account password |
| Device ID | Auto-generated UUID v4 identifying the device. Regenerated automatically if missing or invalid; can be overridden manually. |
| User-Agent | Browser user-agent sent to DAZN APIs |
| Age PIN | 4-digit PIN for age-verified content |
xaccel-codec¶
| Setting | Description |
|---|---|
| URL | Base URL of your xaccel-codec instance (e.g. http://192.168.1.100:8080) |
| Token | Authentication token for xaccel-codec API calls (masked in the UI) |
CDN Configuration¶
The cdn_takes field is a JSON array of CDN name substrings to prefer
when selecting a playback source. The panel tries each entry in order
against the CDN names returned by DAZN's Playback API.
If no match is found, the panel logs NO CDN FOUND EXIT and skips
the event.
EPG Settings¶
| Setting | Description | Default |
|---|---|---|
| EPG Filename | Output filename for generated EPG XML | xctv-dazn-epg.xml |
| Schedule Days | Number of days to build EPG for (1–14) | 5 |
Apprise Notifications¶
| Setting | Description |
|---|---|
| Apprise URL | URL of your Apprise instance |
| Apprise Tags | Notification routing tags (e.g. telegram, discord) |
When configured, the panel sends a formatted schedule notification after each schedule rebuild.
TheSportsDB Integration¶
Premium API
TheSportsDB enrichment requires a Patreon premium account with V2 API access. Free keys have limited endpoints and rate limits.
| Setting | Description |
|---|---|
| Enable TheSportsDB | Checkbox to enable/disable enrichment |
| API Key | Your TheSportsDB premium API key |
When enabled, the EPG template engine calls TheSportsDB during
resolveTemplateVars() to populate venue, score, broadcast, badge,
and jersey variables. Results are cached in the tsdb_cache table
to stay within rate limits (100 requests/minute for premium).
See TheSportsDB Integration for details.
API Endpoints¶
The bottom of the Global Config page shows the cached DAZN API endpoints. Click Refresh API Endpoints from DAZN to re-discover them from the DAZN startup service.
Endpoints are cached in api_endpoints.json with a 6-hour TTL.
The panel probes each version (newest first) to find working URLs.
Environment Variables¶
All database credentials support environment variable overrides using
the XCtv_ prefix:
| Variable | Default | Description |
|---|---|---|
XCtv_dbHost |
127.0.0.1 |
Database host |
XCtv_dbUser |
dazn |
Database user |
XCtv_dbPass |
(empty) | Database password |
XCtv_dbName |
dazn |
Database name |