How Scripted Schedules Actually Work
The Scripted Schedule API endpoints above are not called directly over HTTP by an external agent. Instead, they are consumed by a Python script running inside the ErsatzTV Docker container.
Active Build ID:
7dcb80de72e240179b9475564f590f84 (Channel 2 - Kimi K
Pit)
Architecture
ErsatzTV Docker Container
├── Built-in OpenAPI Python client (etv_client)
├── Entrypoint script: /app/scripted-schedules/entrypoint.py
└── Your custom script: /app/scripted-schedules/scripts/my_schedule.py
└── calls api_instance.add_marathon(), api_instance.add_duration(), etc.