Repository navigation
ICY metadata and existing streams
This article explains part of Radio 2.0 in plain words. It is not normative: where it differs from the specification, the specification is right.
Radio 2.0 sits beside ICY metadata and the Icecast and SHOUTcast protocols and replaces none of them. A station keeps streaming exactly as before. The manifest adds identity, richer metadata, timing and discovery on top.
| Defined in | Specification section 1, section 3 |
| Related members |
streams[].protocol (icecast, http, hls, ll-hls) |
| Related header |
icy-url (used only as a discovery fallback) |
| Change required of publishers | None to what existing players receive |
| Status | Draft |
ICY metadata is what Icecast and SHOUTcast streams already send to players, for example a current title. Many players and many directory entries depend on it. The specification's first section states that these protocols stay as they are: the manifest adds to them, and nothing asks a publisher to change what existing players receive.
The 0.2.0 changes removed two earlier claims: that ICY "breaks decoders", and the line "say goodbye to ICY". The reason recorded is that ICY works for what it does, and the manifest supplements it. Older players keep working and never notice the manifest. The FAQ on the website says the same: a station does not need to replace its stream or its ICY metadata.
| Need | ICY and the stream | Radio 2.0 |
|---|---|---|
| Play the audio | The stream URL | Lists the stream with format, bitrate and default |
| Current title | In-stream metadata | Typed Live events with air time |
| Follow a station that moves | Not covered | Permanent GUID |
| Find more about a station | Possibly icy-url
|
Discovery by header, HTML link or well-known path |
A stream entry can declare "protocol": "icecast" for an ICY-capable HTTP stream, or http, hls or ll-hls. In the examples, Icecast-style streams are listed next to an HLS playlist.
Radio 2.0 asks publishers to send a Link header on stream responses. That header reaches players that only know a stream URL, including streams already listed in old directories. If a stream has no Link header but sends an icy-url header holding an http or https URL, a consumer may take that URL as the homepage and then look for the manifest from there. When probing a stream, a consumer sends Icy-Metadata: 0 and reads only the response headers. See Discovery.
-
Do I need to change my Icecast setup? Not to keep existing listeners. To help discovery, send the
Linkheader on stream responses where the server allows it. - Is the title in the stream or in the event? Both can exist. Events carry the air time so a player can show the title when it is heard.
Radio 2.0 is an open standard, MIT licensed. Documentation: radio2.org. Questions: Discussions.
Overview
The manifest
Discovery and identity
Live data
Money
Implementations and tools
- Implementations
- Reference implementation
- radio2 command line tool
- Create a manifest
- Conformance
- Stations
- Brand and badges
Project
Documentation
Community