ZippyCastJournal
← All articles

Streaming explained

Reading EXT-X-ENDLIST: telling live from on-demand in an HLS playlist

A practical guide to the EXT-X-ENDLIST tag in HLS playlists, what its presence or absence signals about a stream, and how to use it when a channel behaves oddly in ZippyCast.

Why one tag changes how a stream behaves

An HLS stream is described by a playlist file, usually ending in .m3u8, that lists the media segments a player should fetch. Most of the tags in that file describe segments: their duration, their order, where they live. One tag describes something different — the end of the list itself. That tag is EXT-X-ENDLIST, and its presence or absence is the single clearest signal in the playlist about whether you are looking at a finished recording or an ongoing broadcast.

This matters in ZippyCast because the player is an empty shell: it does not host or relay anything. Every segment you watch comes from the provider whose credentials you entered. When a channel behaves unexpectedly — refusing to seek, restarting, or showing a duration that makes no sense — reading whether the playlist declares an end is a quick way to understand what kind of stream the provider is actually serving you.

What EXT-X-ENDLIST declares

In the HLS playlist format, EXT-X-ENDLIST is a tag with no value. It appears on its own line and states that no more media segments will be added to the playlist. When a player sees it, the playlist is complete: the player knows the full set of segments and can treat the media as a fixed, finite item.

When the tag is absent, the playlist is open-ended. The provider may append new segments as the broadcast continues, and older segments may drop off the front of the list. The player is expected to re-fetch the playlist periodically to discover what has been added. This is the normal shape of a live channel playlist, and it is also how some providers deliver long-running streams that are not truly live but are packaged the same way.

Live, VOD, and the event case

The practical reading is straightforward. A playlist that ends with EXT-X-ENDLIST describes video on demand: a movie, an episode, a recorded programme. A playlist without it describes something still in progress. ZippyCast handles both, but the two behave differently on screen, and knowing which you have explains most of the surprises.

There is a middle case worth knowing. A playlist can grow for a while and then receive EXT-X-ENDLIST once the broadcast finishes, at which point it becomes a fixed list. If you open a channel during a live programme and it later stops growing, the provider may simply have closed the playlist at the end of the event. That is not a fault in ZippyCast; it is the provider marking the stream complete.

What this means for seeking and duration

Seeking depends on the playlist being finite. If a VOD playlist carries EXT-X-ENDLIST, the player can calculate a total duration from the segment durations and let you scrub anywhere in the file. If the tag is missing, the player has no declared end, so a scrub bar may be unavailable, may show only the buffered window, or may behave inconsistently between the web player and the native apps.

This is the most common source of confusion when a movie will not seek. The file may be perfectly playable, but if the provider packaged it as an open-ended playlist, the player treats it as live. The fix is not in ZippyCast's settings; it is a question for the provider about how that title is packaged.

Reading the tag alongside the rest of the playlist

EXT-X-ENDLIST is most useful when read with its neighbours. The EXT-X-TARGETDURATION tag gives the maximum segment length, and the EXTINF entries give each segment's duration; together with the end tag they let you sanity-check whether a playlist is complete. A playlist that claims to be finished but whose segments stop abruptly mid-programme is a provider-side packaging problem, not a playback problem.

The EXT-X-MEDIA-SEQUENCE tag is the other useful companion. In a live playlist it advances as segments roll off; in a finished playlist it simply records where the list started. If you reload a playlist and the sequence number is unchanged and an end tag is present, nothing more is coming. If the sequence advances on each reload, the stream is still running.

A short checklist before you blame the player

When a channel misbehaves in ZippyCast, a few quick observations narrow things down. First, does the playlist end with EXT-X-ENDLIST? If yes, expect a fixed duration and working seek. If no, expect live-style behaviour and treat a missing scrub bar as normal. Second, does the sequence number change between reloads? That confirms an active stream. Third, does another channel from the same provider behave the same way? If several do, the pattern is in the provider's packaging rather than in one title.

Remember that ZippyCast supplies no content and relays no streams; it reads the playlist the provider serves and plays what is described there. Reading the end tag tells you which kind of stream you were given, which is usually the fastest route to the right question — and the right person to ask.

Make yourself at home.

Try ZippyCast with your own authorized IPTV provider.

Open ZippyCast →