{% extends "base.html" %} {% block title %}Live TV - neTV{% endblock %} {% block head_extra %} {% if loading and not request.query_params.get('refreshing') %} {% endif %} {% endblock %} {% block content %} {% macro cat_icon(kind) %} {%- if kind == 'star' %} {%- elif kind == 'tv' %} {%- else %}{% endif %}{% endmacro %} {% macro cat_link(id, name, count, icon) %} {{ cat_icon(icon) }} {{ name }} {{ count }} {% endmacro %} {% macro cat_chip(id, name) %} {{ name }} {% endmacro %}
{% if sidebar_categories is defined %} {% endif %}

{{ selected_name | default('Live TV') }}

{{ total_count | default(channel_count) }} channels
{% if loading_message %}

{{ loading_message }}

{% elif epg_error %}

EPG Error: {{ epg_error }}

Showing channels without program info

{% endif %}
{{ selected_name | default('Live TV') }} {{ total_count | default(channel_count) }}
{% if sidebar_categories is defined %}
{{ cat_chip('', 'All') }} {% for c in sidebar_playlists %}{{ cat_chip(c.id, '★ ' ~ c.name) }}{% endfor %} {% for c in sidebar_categories %}{{ cat_chip(c.id, c.name) }}{% endfor %}
{% endif %} {% if grid_data %}
{% for marker in time_markers_mobile %}
{{ marker.label }}
{% endfor %}
{% for marker in time_markers %}
{{ marker.label }}
{% endfor %}
{% for row in grid_data %} {% set section = section_by_start.get(loop.index0) if section_by_start is defined else none %} {% if section %}
{{ section.name }}
{% endif %}
{% if row.channel.icon %} {% endif %} {{ row.channel.name }}
{% set row_idx = loop.index0 %}
{% if row.programs_mobile %} {% for prog in row.programs_mobile %}
{% if prog.catchup %}↺ {% endif %}{{ prog.title }}
{% endfor %} {% else %}
No info
{% endif %}
{% if row.programs %} {% for prog in row.programs %}
{% if prog.catchup %}↺ {% endif %}{{ prog.title }}
{{ prog.desc }}
{% endfor %} {% else %}
No program info
{% endif %}
{% endfor %}
{% else %}

No channels selected

Go to Settings to configure Live TV category filter

{% endif %}
{% endblock %} {% block scripts %} {% endblock %}