pub fn process_programme_for_timeshift(
config: &CatchupConfig,
programme_start: i64,
programme_end: i64,
programme_catchup_id: Option<&str>,
timezone_shift_secs: i32,
) -> StringExpand description
Build a catchup URL for time-shifted playback of a specific EPG programme.
Translated from the logic in CatchupController::ProcessEPGTagForTimeshiftedPlayback()
and CatchupController::GetCatchupUrl(). Takes programme start/end times and
produces the fully-substituted URL using the channel’s catchup source template.
§Arguments
config- The channel’s resolved catchup configuration.programme_start- Programme start time (UTC epoch seconds).programme_end- Programme end time (UTC epoch seconds).programme_catchup_id- Optional catchup-id from the EPG entry.timezone_shift_secs- Combined tvg-shift + catchup correction in seconds.