Skip to content

Record channels for catch-up ​

Catch-up (TV archive, timeshift) lets viewers watch shows that already aired, from the guide in their app. Bitstream records a copy of the live signal. It never re-encodes.

Turn it on ​

  1. On the server that will store the recordings, open Servers, edit it, and set Archive folder and Archive limit (GB). Empty folder uses the node's archive_dir (default /var/lib/bitstream/archive). Limit 0 means no limit. The node always keeps 1 GiB of the disk free.
  2. Open the channel, go to Recording (timeshift), turn on Record for catch-up, pick the days to keep (1 to 30) and the Recording server. The free disk of each server shows next to its name.
  3. Save. After a minute the Archive box shows what is stored and lets you watch a past range in the panel.

With the API:

bash
curl -s -X PATCH $PANEL/streams/101 -H "Authorization: Bearer $TOKEN" -H 'Content-Type: application/json' \
  -d '{"archive_enabled": true, "archive_days": 7, "archive_node_id": 3}'
curl -s $PANEL/streams/101/archive -H "Authorization: Bearer $TOKEN"

Channels in Direct mode cannot be recorded (the signal never passes through a server).

How it works ​

  • The recording server keeps the channel running and writes segments of about 10 seconds, cut at keyframes, in one file per hour. A recording never slows down live viewers.
  • If the recording server does not play the channel itself, it pulls it from another server in the channel's server tree, never from the source. Your provider sees no extra connection.
  • Old hours are deleted after the days you chose. When the limit or the disk fills up, the oldest hours go first. If the disk is full, recording stops with the disk is full and starts again when there is room.
  • Recordings survive restarts of the node.

What apps see ​

  • player_api.php sends tv_archive: 1 and tv_archive_duration (days) for recorded channels, and has_archive: 1 on past programmes in get_simple_data_table.
  • The m3u_plus playlist adds catchup="xc", catchup-days and catchup-source, which TiviMate, OTT Navigator and Kodi IPTV Simple read.
  • Apps play /timeshift/U/P/{minutes}/{start}/{id}.ts (or .m3u8) and /streaming/timeshift.php.

Timezone: the start time in these URLs (2026-11-28:20-00) is read in the panel timezone (Settings, General), the same value apps get as server_info.timezone. Set it to your viewers' timezone, or past shows open at the wrong hour.

A catch-up viewer takes a connection like a live viewer. Going back in time on the same channel, from the same IP, reuses the same connection.

Adult content and parental control ​

Mark a category as Adult content on the Categories page (or when you create one inline). Apps then get is_adult: 1 for its channels, movies and series, and most of them can lock these behind a PIN. Playlists keep the category name in group-title.

For family accounts, turn on Hide adult content on the line. Adult categories then disappear from that line's lists, playlists and guide, and cannot be played. This works in every app, even those without a PIN lock.

Bitstream documentation