Catch-up and timeshift: how IPTV archives work, player by player
IPTV catch-up means playing a program that has already aired, from an archive the provider records on its own servers. Timeshift usually means pausing or rewinding the channel you're watching now, from a buffer on your device or home server. The two get mixed up, partly because Xtream Codes servers use the word "timeshift" in their archive addresses. This guide explains how archives work, how players request them, and what each popular player and server does.
One point before anything else: whether a channel has an archive, and how many days it keeps, is decided by the provider channel by channel. A player can only offer what the server records. If your provider offers catch-up on a channel, the steps below show how to reach it; if it doesn't, no setting will create it.
Catch-up versus timeshift
| Provider catch-up | Local timeshift | |
|---|---|---|
| Where the video is stored | On the provider's servers | On your device or home server |
| How far back you can go | The archive window, often a few days, on channels that have one | Only back to the moment you tuned in, up to the buffer size |
| Works on | Channels the provider archives | Any channel |
| Uses storage at home | No | Yes, RAM or disk |
| Needs a matched guide | Yes, to know when programs start and end | No |
A third variant sits in between: a home server such as Tvheadend can keep the timeshift buffer for its clients, so a TV can pause live channels without storing anything itself.
How a player requests an archive
A catch-up request is an ordinary stream request with a start time and a duration built into the address. The format depends on the server software.
Xtream Codes panels
The API marks each live channel with tv_archive (archive on or off) and tv_archive_duration (how long it is kept), and per-program guide data can carry a has_archive flag. Kodi's IPTV Simple source code shows the address it builds for this type of server:
http://example-server.com:8080/timeshift/username/password/{duration:60}/{Y}-{m}-{d}:{H}-{M}/101.ts
Here {duration:60} is the program length in seconds divided by 60, so minutes, followed by the start date and the start hour and minute, then the channel's stream ID. If your catch-up always starts a fixed number of hours early or late, the server and the player disagree about the time zone of that start time.
Flussonic servers
Flussonic builds archive addresses from the live address. According to the same source code, MPEG-TS channels use a timeshift_abs form with an absolute start time, and HLS channels use timeshift_rel with an offset from now.
Generic templates
Other servers expect time parameters added to the live address, such as ?utc={utc}&lutc={lutc} (program start and current time), or a full template in the playlist's catchup-source attribute. The M3U playlist article in this section lists the catch-up tags and placeholders.
Player by player
Kodi with IPTV Simple
Kodi's IPTV Simple client exposes each part of catch-up as a setting:
- Enable catchup turns the feature on. Tags in the playlist override these settings channel by channel.
- Catchup window is how many days back you can go; a
catchup-daystag overrides it per channel. - All channels support catchup using mode assumes every channel uses one method: Default, Append, Shift (SIPTV), Flussonic or Xtream codes. With an Xtream-style playlist, the Xtream codes mode builds the address above from each live URL.
- Catchup correction moves the requested time by a set number of hours, which fixes the time zone mismatch described earlier.
- Play from EPG in Live TV mode (using timeshift) decides how a past program plays. Off, it plays like a video bounded by its start and end. On, you can skip between programs across the whole archive window as if it were live.
- Buffer before programme start and Buffer after programme end add margins for shows that start early or overrun.
- Catchup only available on finished programmes stops you from opening the current program as catch-up before it ends.
To watch, open the guide, select a program that has already aired and play it. Kodi uses the inputstream.ffmpegdirect add-on for catch-up and timeshift playback; install it from the official repository if Kodi asks. For pausing live TV, IPTV Simple's Timeshift section enables a local buffer for HTTP or UDP streams. Its path and maximum length, set in hours, live in the inputstream.ffmpegdirect settings, and the buffer is cleared each time Kodi starts. An hour of HD can take several gigabytes, so point the buffer at a drive with room.
TiviMate
TiviMate's store listing names catch-up among its features, next to the TV guide, recording and multiview, and some features need its paid Premium upgrade. As with other players, an Xtream Codes login brings the archive information from the server, while an M3U link usually needs catch-up tags for the app to know which channels have an archive. When a channel has one, past programs in the guide become playable. Our TiviMate guide covers adding a playlist and the TV guide.
IPTV Smarters Pro and other Xtream apps
Apps built around the Xtream Codes API take the archive information from the server, so catch-up appears only on channels the server marks as archived. The menu where it appears differs from app to app. If a channel shows no archive in such an app, the API most likely reports none, and a different player won't change that.
IPTVnator and Fred TV on computers
IPTVnator supports TV archive, catch-up and timeshift in its desktop builds. The self-hosted web version leaves out the guide panels, so use the desktop app if you need archives. Fred TV, the cross-platform player formerly called Open TV, added timeshift and replay for Xtream live channels, which it calls catchback, in version 1.6.
Enigma2 receivers
Bouquet Maker Xtream offers catch-up for Xtream playlists, when the provider supports it, from the channel list using remote keys such as PVR or Video. XStreamity has catch-up start and end padding settings from 0 to 30 minutes, which helps with programs that don't keep to the schedule.
Tvheadend, Jellyfin and Plex
Tvheadend offers server-side timeshift for its clients under Configuration > Recording > Timeshift. That is a pause buffer for live channels, not access to the provider's archive. Jellyfin and Plex build their live TV around tuning channels and recording them with their DVR, and neither documents support for provider catch-up archives. With those servers, recording is the usual way to keep a program for later; the recording discussions in the community cover that side.
When catch-up doesn't work
- Past programmes aren't playable: the channel has no archive, catch-up is off in the player, or the channel isn't matched to the guide, so the player doesn't know when programs started. Check the guide match first.
- Playback starts hours early or late: set the catch-up correction, or in Xtream apps check that the device's time zone and clock are on automatic.
- You get the live channel instead of the past programme: the player used the wrong method for that server. Try the other catch-up mode, or switch between an Xtream login and an M3U link.
- The end of a programme is cut off: it overran its slot. Add a few minutes of padding after the program.
- Only the last day or two works: the archive is shorter than your catch-up window. Match the window to the provider's archive length.
- It works in one app and not another: the two apps build different addresses. Compare their catch-up modes or ask the provider which format their server expects.
Settings that help
- Keep the device clock on automatic network time. Catch-up requests are built from the clock and the guide.
- Use a guide whose channels match your playlist exactly; a wrong guide channel sends the wrong times to the server.
- Add one or two minutes of padding before and after programs.
- Give a local timeshift buffer a fast drive with free space, and set a maximum length so it can't fill the disk.
Sources and further reading
- kodi-pvr/pvr.iptvsimple: catch-up and timeshift settings
- IPTV Simple source: how Xtream and Flussonic archive addresses are built
- xbmc/inputstream.ffmpegdirect
- tellytv/go.xtream-codes: archive fields in the Xtream API
- kiddac/XStreamity
- kiddac/Bouquet_Maker_Xtream
- Fred TV (formerly Open TV) release notes
- 4gray/iptvnator