Add channel banner when switching channels

This commit is contained in:
markmental 2026-03-28 12:46:58 -04:00
commit be4e8b768f
9 changed files with 358 additions and 70 deletions

View file

@ -30,8 +30,13 @@ typedef struct ChannelList {
int channel_list_load(ChannelList *list, const char *media_dir);
void channel_list_destroy(ChannelList *list);
time_t channel_wall_time_from_ticks(time_t app_start_time, Uint64 app_start_ticks, Uint64 now_ticks);
double channel_schedule_elapsed_seconds(time_t app_start_time, time_t target_time);
double channel_live_position(const Channel *channel, time_t app_start_time, time_t now);
double channel_live_position_precise(const Channel *channel, Uint64 app_start_ticks, Uint64 now_ticks);
const ProgramEntry *channel_resolve_program_at_elapsed(const Channel *channel,
double elapsed_seconds,
double *program_seek_seconds,
int *program_index);
const ProgramEntry *channel_resolve_program(const Channel *channel,
Uint64 app_start_ticks,
Uint64 now_ticks,