Generate virtual timeslots for unscheduled calendar areas
[EPIC] Display virtual timeslots / Music Fallba... (aura#176)
Parent:Currently the Scheduler of Engine is meant to create virtual timeslots for areas in the programme which neither have timeslots nor playlists assigned.
In such cases Engine should play the so called Station Fallback Playlist.
It is more practical to have such virtual timeslots created in Steering, because:
- All services which are digesting the Programme API have the same view on the Programme ("Single source of truth").
- No more need to replication of interpolation logic for "filling the gaps with virtual timeslots" on the API consuming site (Engine, Website, ...)
- Dashboard can easily display such timeslots too e.g. in a grayed out form. This is similar what LOHROthek is doing with their "Lückenfüller" concept.
- Configuration of the Station Fallback Show / Playlist could be done in a very flexible way. It could even change dynamically over the period of a day. If that's what is needed in the future.
Proposal
-
All API endpoints providing timeslots have a parameter to either include or exclude these virtual timeslots ( includeVirtual=true
URL parameter). -
In API results, virtual timeslots are marked with a property virtual: true
. -
As soon a valid timeslot is created such virtual timeslots disappear, or shrink in their size, if there is still a gap left. -
Virtual timeslots are presented as if they were "real timeslots", holding all relevant meta information required for proper playout. Avoiding the need for any special case handling. Following fields are interpolated with configured values: -
Episode title: settings.programme.fallback.defaultPool
-> query pool description fromplayout.pools['defaultPool']
(compare config in #222) -
Check and discuss on demand if there is any other field required.
-
Dependency
Edited by David Trattnig