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

Ad Breaks

Monitor and analyze advertisement breaks detected in streams

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 %} {% endif %} {% else %}
No Ad Breaks Found

No advertisement breaks have been detected yet.

{% endif %}
{% endblock %}