Download Programme
download_programmeSave a past programme from a channel's catchup archive in the background, returning a job ID for status polling; optionally name files for Jellyfin/Plex.
Instructions
Download a past programme from a channel's catchup archive in the background. Returns a job_id; poll download_status.
Identify the programme with programme_id (from search_programmes / channel_schedule), or give start/end as ISO local datetimes (e.g. 2026-10-18T10:00) plus a title. The default format 'ts' saves the provider's stream untouched (Jellyfin/Plex play it). 'mkv' remuxes with ffmpeg (no re-encode, keeps subtitles) only if the user asks for it; it stays .ts if ffmpeg is missing or the video is interlaced (fields don't convert cleanly), with a warning on the job. force=True skips the free-connection check. Providers often take a few hours after a programme ends to make its recording available; a "not ready yet" failure means try again later.
Media-server naming (optional): give show (the series name as your media server knows it) to save as Jellyfin/Plex TV layout with an .nfo file: with season+episode -> 'Show/Season 02/Show - S02E05 - <episode_title>', without them -> date-based 'Show/Show - 2026-10-18'. season/episode are your best-effort identification (see programme_details); only pass them when confident. Without show, files are named ' - - '.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| show | No | ||
| force | No | ||
| start | No | ||
| title | No | ||
| format | No | ts | |
| season | No | ||
| episode | No | ||
| stream_id | Yes | ||
| programme_id | No | ||
| episode_title | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||