New overlay option to resolve an overlay to playlist, at the scheduled time.
Posted: 12 Jun 2023 00:06
Right now overlays support the "AsPlaylistInsert" option to resolve overlays to the playlist as embedded containers.
This works fine for overlays that are scheduled during the runtime of a program (eg: a program entry each hour and the overlays are scheduled at xx:15, xx:30, xx:45).
But there is an edge case: this does not work at the moment for overlays that are scheduled at the starttime of a program. The overlay is inserted into the playlist of the old hour and will be skipped once the playlist of the new hour takes over. This is the case for all start types (non-TimeUpdateSync and TimeUpdateSync)
I can think of 2 solutions to fix these issues:
This works fine for overlays that are scheduled during the runtime of a program (eg: a program entry each hour and the overlays are scheduled at xx:15, xx:30, xx:45).
But there is an edge case: this does not work at the moment for overlays that are scheduled at the starttime of a program. The overlay is inserted into the playlist of the old hour and will be skipped once the playlist of the new hour takes over. This is the case for all start types (non-TimeUpdateSync and TimeUpdateSync)
I can think of 2 solutions to fix these issues:
- Add a new option to respects the scheduled time and inserts the overlay as embedded container accordingly
Rather than inserting the overlay in the active playlist (or with TimeUpdateSync: above the TimeUpdateSync playlist entry), insert it on the actual scheduled time.
For TimeUpdateSync (which we are currently using), this behaviour is already implemented when using "Upcoming overlays > Resolve Overlay To Playlist". When clicking this button the overlay is inserted after the TimeUpdateSync, which is what we need.
- Add an option to resolve overlay to the playlist immediately when a program playlist becomes visible
This is like "ResolveEmbeddedContainersWhenScheduled", but as dynamic option that can be checked for an overlay, rather than the program. When a program is scheduled/started the corresponding overlay is already inserted as embedded container into the playlist.
This is a solution for this edge case, as the overlay is suppose to be scheduled at the start of the program. However, it wouldn't really work for overlays scheduled during the program, as there is no guarantee the playlist has been pre-scheduled til the time the overlay must be played back. This is not a problem in our use-case but is something to consider here. Perhaps checked overlays can be inserted at the end of the already loaded playlist entries.
