{% extends 'base.html' %} {% block title %}Program Automation{% endblock %} {% block content %}

SYSOP CONTROL / PROGRAM AUTOMATION

Scheduled programs

Run persisted mixed-mode programming from the server, independent of browser sessions.

LEGACY PLAYLIST AUTOMATION

Create automation rule

{% if programs %}
{% else %}

Create a program in your broadcast library first.

{% endif %}
{% for rule in rules %}

{{ format_frequency(rule.frequency_khz) }} MHz / {{ 'ENABLED' if rule.enabled else 'DISABLED' }}

{{ rule.name }}

{{ rule.program_name }} / {{ rule.trigger_type|replace('_',' ')|upper }} {{ rule.trigger_value }}{% if rule.next_run_at %} / NEXT {{ rule.next_run_at }}{% endif %}

{% for action,label in [('run','RUN NOW'),('stop','STOP'),('disable' if rule.enabled else 'enable','DISABLE' if rule.enabled else 'ENABLE'),('delete','DELETE')] %}
{% endfor %}
{% else %}
~

No program automation rules configured.

{% endfor %} {% endblock %}