Scripted Schedules
Scripted schedules allow users to create extremely customized channel programming using ErsatzTV's OpenAPI description.
Scripted schedules are executed by ErsatzTV and are passed the following arguments (in order):
- The API host (e.g.
http://localhost:8409
) - The build id (a UUID string that is required on all API calls)
- The playout build mode (e.g.
reset
orcontinue
) - Any custom arguments set in the Scripted Schedule field in the playout editor
Scripted schedules must be directly executable. If they are not, a wrapper script can be used.
An example implementation using Python is available in all docker images. See Python in Docker.