{% extends "base.html" %} {% load static %} {% block title %}Ad Breaks - Stream Processor{% endblock %} {% block page_title %} Ad Breaks {% endblock %} {% block extra_css %} {% endblock %} {% block content %}

Ad Breaks

Monitor and analyze advertisement breaks detected in streams

About Ad Breaks

Ad breaks are automatically detected periods of commercial content within streams. They are identified by jingle detection pairs (start/end markers) and can be sent to external APIs for analysis and reporting.

Total Ad Breaks
{{ ad_breaks|length|default:0 }}
Completed
{% for break in ad_breaks %}{% if break.end_time %}{{ forloop.counter0|add:1 }}{% endif %}{% empty %}0{% endfor %}
In Progress
{% for break in ad_breaks %}{% if not break.end_time %}{{ forloop.counter0|add:1 }}{% endif %}{% empty %}0{% endfor %}
Sent to API
{% for break in ad_breaks %}{% if break.is_sent_to_api %}{{ forloop.counter0|add:1 }}{% endif %}{% empty %}0{% endfor %}

Filters

Clear Filters

Ad Breaks

{% if ad_breaks %}
{% for ad_break in ad_breaks %} {% endfor %}
Session Channel Start Time Duration Status Region API Status Actions
{{ ad_break.session.start_time|date:"M d, H:i" }}
{{ ad_break.channel_name }}
{{ ad_break.session.channel.name }}
{{ ad_break.start_time|date:"M d, Y" }}
{{ ad_break.start_time|time:"H:i:s" }}
{% if ad_break.duration_seconds %}
{{ ad_break.duration_seconds }}s
{% widthratio ad_break.duration_seconds 60 1 %}m {% widthratio ad_break.duration_seconds 1 1 %}s total
{% else %} - {% endif %}
{% if ad_break.end_time %} Completed {% else %} In Progress {% endif %} {{ ad_break.region }} {% if ad_break.is_sent_to_api %} Sent {% else %} Pending {% endif %}
{% if not ad_break.is_sent_to_api %} {% endif %}
{% if is_paginated %}
{% if page_obj.has_previous %} Previous {% endif %} {% if page_obj.has_next %} Next {% endif %}
{% endif %} {% else %}

No Ad Breaks Found

No advertisement breaks have been detected yet.

{% endif %}
{% endblock %}