For players and directories #
A reader is any program that wants station details: a listening app, a smart speaker, a directory, a crawler. This page summarises the v0.2.4 draft. The specification is the reference.
Find the manifest #
Given what you already have, try these in order.
- You have a stream URL. Request it and look for a
Linkresponse header withrel="radio-manifest". - You have a station homepage. Look in the page head for
<link rel="alternate" type="application/radio-manifest+json">. - You have a domain. Request
/.well-known/radio-manifest.json.
Read it #
- Fetch the manifest over HTTPS and parse it as JSON.
- Validate it against the JSON Schema files. Reject or flag documents that fail.
- Check that it is served from the origin of the station's homepage, or that this origin links to it. A manifest that is not should not be trusted as the station's own.
- Keep the station's stable identifier, so that if the manifest address changes you can follow the station instead of creating a duplicate.
- Respect the
lockedflag if present: do not accept a move of a station that was not made by its owner.
Live information #
Manifests can point to a live event stream and a polling fallback with the same JSON shape. Events carry the air time, and each stream declares its typical delay, so a player can show a title when the listener actually hears the song. See the specification for event types and resuming.
Old players #
Plain stream URLs and ICY metadata keep working. The manifest adds information next to them; it does not replace them.
Examples to test against #
Use the examples as test input. A formal conformance checklist is part of the draft and may still change.