The DVB-I Application Provider publishes a DVB-I service list and its content guide, and gives an admin portal for maintaining them without editing XML. It is the Service List Server and the Content Guide Server of the architecture in ETSI TS 103 770 V1.2.1, clause 4.1. In this tutorial you run it, add a channel, publish the list and the programme guide of that channel, and check what it publishes against the DVB-I schema.
Read the README of rt-dvb-i-application-provider before you start; it points to DEPLOYMENT.md for the settings you need before anyone else can reach the server. The other repositories below are only needed in the sections that name them.
Early Access: available to members first
rt-dvb-i-application-providerrt-dvb-i-service-list-registryWhere the other repositories are used:
rt-dvb-i-application: Tutorial: DVB-I Applicationrt-dvb-i-service-list-registry: Tutorial: DVB-I Service List Registry
| You want | Go to |
|---|---|
| The provider publishing a list in a minute | 1. Run the provider |
| To know what the admin portal offers | 2. The admin portal |
| A channel of your own in the list | 3. Add a channel and publish |
| A programme guide for the channel | 4.1 Programmes |
| A channel off the list for a while | 4.2 Switch a channel off |
| Proof that the XML is valid DVB-I | 5. Check what you published |
| The admin closed to others | 6. Close the admin |
You need: a Linux machine with git, Node.js 20 or later with npm, curl and a browser; about 30 MB of disk. For section 5 you also need python3 with the venv module and the DVB-I schema files (see that section).
1. Run the provider
cd ~
git clone https://github.com/5G-MAG/rt-dvb-i-application-provider.git
cd rt-dvb-i-application-provider
npm install
npm start
{"time":"2026-10-21T18:59:19.299Z","level":"info","msg":"No config.json, started from config.example.json","path":"..."}
{"time":"2026-10-21T18:59:19.302Z","level":"info","msg":"DVB-I Application Provider and Admin Portal listening (http)","port":4000}
DVB-I Application Provider and Admin Portal → http://localhost:4000
Service list → http://localhost:4000/service-list.xml
The first start copies config.example.json to config.json. That file is your service list from now on. (To keep config.json and the config-history folder outside the clone, set DVBI_DATA_DIR to a folder of your own before npm start.) In a second terminal, read the list, check how it is served, and ask the server about itself:
curl -s http://localhost:4000/service-list.xml | head -12
curl -sI http://localhost:4000/service-list.xml | grep -i content-type
curl -s http://localhost:4000/api/health
<?xml version="1.0" encoding="UTF-8"?>
<ServiceList
xmlns="urn:dvb:metadata:servicediscovery:2024"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:hls="vnd:apple:mpegurl"
xmlns:tva="urn:tva:metadata:2024"
xmlns:dvbisd-t="urn:dvb:metadata:servicediscovery-types:2023"
id="tag:5g-mag.org,2026:servicelist:local-demo"
version="2" xml:lang="en">
<Name>5G-MAG</Name>
<ProviderName>DVB-I Demo</ProviderName>
Content-Type: application/vnd.dvb.dvbisl+xml; charset=utf-8
{"status":"ok","version":2,"services":3}
The stock list has three channels (Tears of Steel, an Akamai UHD test stream and an Akamai live test stream). It is named 5G-MAG and has the Service List ID tag:5g-mag.org,2026:servicelist:local-demo, the same name and identifier as the stock entry of the DVB-I Service List Registry. The list is served with the media type application/vnd.dvb.dvbisl+xml that TS 103 770 V1.2.1 clause 5.1.2 requires for a Service List. The version attribute is the number of the list; the specification says it shall be incremented for every published change (clause 5.5.1, table 14, @version), and the provider does it each time you press Save & Publish.
2. The admin portal
Open http://localhost:4000/ in a browser.

| Where | What it is |
|---|---|
| Toolbar | Import XML, Download XML, Validate, Compliance, History and Save & Publish |
| Receiver URL | The address clients fetch the list from, with a Copy button |
| Service List Settings | The name of the list, the provider, the content guide source, the language, the target country and the Service List ID |
| Services | One row for each channel: Clone, Edit, Delete, the up and down arrows, and the On switch. The selector next to Load Template offers ready-made starting points |
| Generated XML | The XML the list produces, with Refresh and Copy |
The portal saves nothing until you press Save & Publish: it rewrites config.json and raises the version of the list.
3. Add a channel and publish
The routine for every change: edit in the portal, Save Service in the editor, Save & Publish, then read the published XML.
-
In the services toolbar, choose Reference service (all fields, DASH) in the selector and press Load Template. The editor opens with every field filled in; the template does not set a period of availability, so the channel is open-ended.
-
Change these fields:
Field Value Service Name Tutorial ChannelLCN 4Unique ID (UID) tag:example.com,2026:service:tutorial-channelMulti-language service names, enlineTutorial Channel(the names there replace the Service Name in the published list)Stream URL of the DASH instance https://dash.akamaized.net/dash264/TestCasesUHD/2b/11/MultiRate.mpd, the DASH stream the stock list already usesTarget Region (under the instances) empty Subscription Package empty 
-
Press Save Service, then Save & Publish.
Check the published list: the channel is in it, and the version has gone up.
curl -s http://localhost:4000/service-list.xml | grep -n -E 'version="[0-9]+" xml:lang|channelNumber="4"|>Tutorial Channel<'
9: version="3" xml:lang="en">
24: <LCN channelNumber="4" serviceRef="tag:example.com,2026:service:tutorial-channel"/>
174: <ServiceName xml:lang="en">Tutorial Channel</ServiceName>
(The stock list was version 2, so the first publish makes it 3.) The template sets no period of availability, so the list has none either:
curl -s http://localhost:4000/service-list.xml | grep -c -i -E 'availability|validFrom'
0
The list is served with Last-Modified, and a client that sends If-Modified-Since gets 304 Not Modified until you publish again (clause 4.3.2.2):
LM=$(curl -sI http://localhost:4000/service-list.xml | grep -i last-modified | cut -d' ' -f2- | tr -d '\r')
curl -s -o /dev/null -w '%{http_code}\n' -H "If-Modified-Since: $LM" http://localhost:4000/service-list.xml
304
4. Recipes
Each recipe is the routine of section 3 with a different edit.
4.1 Programmes for a channel
The template already carries two programmes for its channel, Morning Report (60 minutes) and The Long Road (45 minutes). In the editor they are under the programmes heading; each has a title, a duration in minutes, a synopsis, and optional image, series, episode, age, genre and catch-up fields. + Add Programme adds a row.
The provider turns the programmes into a schedule that repeats them in order, from two hours before the current hour to eight hours after now. Ask for it with the unique ID of the channel (the guide takes it as sid):
curl -s 'http://localhost:4000/epg/nownext?sid=tag:example.com,2026:service:tutorial-channel'
<?xml version="1.0" encoding="UTF-8"?>
<TVAMain xmlns="urn:tva:metadata:2024" xmlns:mpeg7="urn:tva:mpeg7:2008" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tva="urn:tva:metadata:2024" xml:lang="en">
<ProgramDescription>
<ProgramInformationTable>
<ProgramInformation programId="crid://dvbi.example.com/2024/prog/0">
<BasicDescription>
<Title type="main">Morning Report</Title>
<Synopsis length="short">The day's news, business and weather.</Synopsis>
(The answer goes on with the second programme and the two schedule events. Which programme is first, and the times, depend on your clock.) /epg/schedule?sid=... returns the whole window in the same format. A channel with no programmes gets a valid, empty TVAMain document with status 200.
4.2 Switch a channel off
Press On on a channel; it changes to Off. Press Save & Publish. The channel and its channel number leave the published list, and the version goes up. Press Off, then Save & Publish, to bring it back.
curl -s http://localhost:4000/service-list.xml | grep -c '<Service '
3
(That is the count with one of four channels off.)
4.3 Go back to an earlier list
Press History: it lists the lists you published before, newest first, each with its version and the number of services. Press Restore on one, and confirm. The restored list is published at once, and it gets a new version, above every version the provider has published so far, not the old number (clause 5.5.1). The services in it follow the same rule: the version of a service (clause 5.5.2, table 15) is raised above every version published for that service, so a number is never used for two different descriptions of a service.
curl -s http://localhost:4000/api/health
{"status":"ok","version":5,"services":4}
After Restore on the oldest entry (the stock list, 3 services) the same request answers:
{"status":"ok","version":6,"services":3}
The first entry of History is now the list you left; press Restore on it to come back, and the version becomes 7 with 4 services. Check that the channel is back:
curl -s http://localhost:4000/service-list.xml | grep -c 'channelNumber="4"'
1
5. Check what you published
In the portal. Press Validate for the checks on the list: the names, the Service List ID (it must be a URI, clause 5.2.2), unique channel numbers and identifiers, and a stream and a valid address for every channel. The stock list passes all 11 checks on a fresh install, and so does the list of this page.

Press Compliance for a longer set of checks against TS 103 770 and DVB document A184r2 on the current list, or on an external one by address or file. On the list of this page it reported 38 of 38 checks passed and "Fully compliant". A list that carries the 5G-MAG extension instead gets a warning, "Local extension (outside the DVB schema)"; see Tutorial: DVB-I over 5G Broadcast.
Against the schema. The repository does not carry schema files. You supply them from a folder outside the clone.
-
Put the schema files in one folder, for example
~/dvb-i-schemas. The specification's electronic attachment archivets_103770v010201p0.ziphas the base schemadvbi_v6.0.xsdand its imports (TS 103 770 V1.2.1, annex B); the steps to download it are in Tutorial: DVB-I Service List Registry. The stock list carries HLS instances, which the base schema does not know, so the check needs the schema that adds the HLS and HbbTV extensions:dvbi_v6.0+hls+hbbtv.xsd, withhls-url-6.0.xsdandhbbtv-ext-6.0.xsd. A third party publishes them (see the note below), together withtva_metadata_3-1_2024.xsd, the file name thatdvbi_v6.0+hls+hbbtv.xsdimports. With the files of the archive andxml.xsdalready in the folder, add the four:cd ~/dvb-i-schemasfor f in 'dvbi_v6.0+hls+hbbtv.xsd' hls-url-6.0.xsd hbbtv-ext-6.0.xsd tva_metadata_3-1_2024.xsd; docurl -s -o "$f" "https://raw.githubusercontent.com/paulhiggs/dvb-i-tools/main/schemas/$f"done -
Run the repository's own check:
DVBI_SCHEMAS=~/dvb-i-schemas npm run test:xsdSchemas: ~/dvb-i-schemasservice list: dvbi_v6.0+hls+hbbtv.xsdTV-Anytime: tva_metadata_3-1_2024.xsdDVB-I / TV-Anytime XSD conformance testService list (comprehensive sample):✓ service-list.xml: VALIDService list (live config.json):✓ config.json: VALIDService list (local 5G extension):~ hybrid unicast + 5G: NOT CONFORMANT GROUND — carries the LOCAL 5G delivery extension (urn:5g-mag:metadata:dvbi-5g:2026), which no published schema defines. Valid against the published schema composed with schemas/dvbi-5g-ext-1.0.xsd; that is not conformance to TS 103 770. See COMPLIANCE.md.Service list (templates/):✓ dvbi-local-live-demo.json: VALID✓ service-template.json: VALIDEPG (live config.json endpoints):✓ epg-schedule.xml: VALID✓ epg-nownext.xml: VALID==== ALL VALID (1 not checked, see above) ====(The path on the first line is the folder you gave. The
NOT CONFORMANT GROUNDline is the test's own sample of a service on unicast and 5G; it is about the 5G broadcast extension, which no DVB schema defines, and the DVB-I over 5G Broadcast tutorial covers it. With only the files of the ETSI archive in the folder, the lists that carry HLS are reported asNOT CHECKED, becausedvbi_v6.0.xsdhas no HLS extension.) -
Check the list you published yourself with the
check.pyof Tutorial: DVB-I Service List Registry:curl -s http://localhost:4000/service-list.xml > list.xml~/dvbi-check/bin/python check.py "$HOME/dvb-i-schemas/dvbi_v6.0+hls+hbbtv.xsd" list.xmlVALID: list.xmlAgainst the base
dvbi_v6.0.xsd, the same stock list is reported invalid, because the schema does not knowm3u8RefType(the HLS instances). A list with DASH instances only is not affected by that.
The base files (dvbi_v6.0.xsd, dvbi_types_v1.0.xsd, tva_mpeg7.xsd) are from the ETSI archive and xml.xsd is from the W3C. The files that add HLS and HbbTV, and tva_metadata_3-1_2024.xsd, are copies from the schemas folder of a third-party repository, paulhiggs/dvb-i-tools, because they are not in the ETSI archive. tva_metadata_3-1_2024.xsd is not identical to the archive's tva_metadata_3-1.xsd: a diff, after removing line-ending differences, showed four differing lines (the two import paths, and the minOccurs and maxOccurs of the ScheduleEvent and Purpose elements). The repository's check accepts either file name.
6. Close the admin
Without a token, anyone who can reach the port can change the list and upload logos. Start the provider with ADMIN_TOKEN set before anyone else can reach it (DEPLOYMENT.md):
ADMIN_TOKEN="$(openssl rand -hex 24)" npm start
With a token set, the admin routes need Authorization: Bearer <token>, and the portal asks for the token the first time it is refused. The list and the guide stay public. Check with a second instance on another port:
ADMIN_TOKEN=secret123 PORT=4100 npm start
curl -s -o /dev/null -w '%{http_code}\n' http://localhost:4100/api/config
curl -s -o /dev/null -w '%{http_code}\n' -H 'Authorization: Bearer secret123' http://localhost:4100/api/config
curl -s -o /dev/null -w '%{http_code}\n' http://localhost:4100/service-list.xml
401
200
200
TS 103 770 V1.2.1, clause 7.3, says a DVB-I client uses HTTP over TLS to reach a Service List Server and a Content Guide Server, and allows plain HTTP only on the same private subnet as the client. The provider can serve HTTPS itself: set HTTPS_KEY_PATH and HTTPS_CERT_PATH to the paths of a PEM key and certificate, or terminate TLS in a reverse proxy (DEPLOYMENT.md).
7. Stop and clean up
Press Ctrl+C in the terminal of each instance. To remove the provider, delete ~/rt-dvb-i-application-provider, ~/dvb-i-schemas and ~/dvbi-check.
What was run for this page
Every command above was run on a clean clone of main (commit e3cfb1e, which includes the fixes of TS 103 770 V1.2.1 behaviour) on Ubuntu Linux with Node.js 24.21.0 and npm 11.19.0, Python 3.14.4 and lxml 6.1.3 (libxml2 2.14.6). The portal steps were driven in a headless Chromium (Playwright 1.61.1, Chromium 149.0.7827.55), which is also how the three pictures were taken. The page was last re-run on 2026-10-21.
Section by section: 1 run (the list, its Content-Type and /api/health read back; DVBI_DATA_DIR was run once with a folder of its own, and config.json and config-history were created there); 2 run (the portal opened and read); 3 run (the template loaded and changed as in the table, saved, published; the version, the channel number and the 304 read back; no availability period in the published XML); 4.1 run (/epg/nownext and /epg/schedule read and checked against the schema); 4.2 run (off, publish, count, on, publish); 4.3 run (History, Restore of the oldest entry, then of the newest; the versions 6 and 7 read from /api/health; the version of each service was read from the XML but the rule for services is taken from the code and its changelog, and was not tested case by case); 5 run (Validate 11 of 11 on the stock list and on the list of this page, Compliance 38 of 38 and "Fully compliant", npm run test:xsd and check.py valid); 6 run for the token on a second instance, and not run for HTTPS (HTTPS_KEY_PATH and HTTPS_CERT_PATH are from DEPLOYMENT.md).
Whether the stream URLs play was not part of this page's checks. A valid list and a published channel are what the provider is responsible for; the picture is checked in Tutorial: DVB-I Application.