Skip to main content

process_programme_for_vod

Function process_programme_for_vod 

Source
pub fn process_programme_for_vod(
    config: &CatchupConfig,
    programme_catchup_id: &str,
) -> String
Expand description

Build a catchup URL for VOD playback of an EPG programme.

Translated from CatchupController::ProcessEPGTagForVideoPlayback(). For VOD mode, the catchup source is typically just {catchup-id} or a URL template containing {catchup-id}. This function substitutes the catchup-id and processes any remaining time placeholders.

§Arguments

  • config - The channel’s resolved catchup configuration.
  • programme_catchup_id - The catchup-id from the EPG entry.