pub fn format_catchup_url(
template: &str,
start: i64,
duration_secs: i64,
catchup_id: Option<&str>,
timezone_shift_secs: i32,
) -> StringExpand description
Format a catchup URL template by substituting all time-related placeholders.
This is the main entry point, translated from FormatDateTime() in
CatchupController.cpp.
ยงArguments
template- URL template with placeholdersstart- Programme start time (UTC epoch seconds)duration_secs- Programme duration in secondscatchup_id- Optional programme catchup ID for{catchup-id}substitutiontimezone_shift_secs- Timezone offset to apply (channel tvg-shift + correction)