{% extends "base.html" %} {% block title %}Canais ao Vivo{% endblock %} {% block extra_head %} {% endblock %} {% block content %}
{% if search or current_group %} Limpar {% endif %}
Todos ⭐ Favoritos {% for g in groups %} {{ g.label }} {% endfor %}
{% for c in canais.items %}
{% if c.logo %} {{ c.name }} 📺 {% else %} 📺 {% endif %}
▶

{{ c.name }}

{{ c.group_title }}{% if c.view_count %} · {{ c.view_count }} views{% endif %}{% if online_counts and online_counts.get(c.id) %} · {{ online_counts[c.id] }} online{% endif %}
AO VIVO {% if channel_health and channel_health.get(c.id) and not channel_health[c.id].is_online %} OFFLINE {% endif %} {% if epg_data and epg_data.get(c.id) %}
📺 {{ epg_data[c.id].title }}
⏳ {{ epg_data[c.id].remaining }}
{% endif %}
{% else %}
Nenhum canal encontrado.
{% endfor %}
{% if canais.pages > 1 %} {% endif %} {% endblock %} {% block scripts %} {% endblock %}