{########################################################################### # Copyright (c) 2025, Антон Аксенов # This file is part of iptv.axenov.dev web interface # MIT License: https://git.axenov.dev/IPTV/web/src/branch/master/LICENSE ###########################################################################} {% extends "template.twig" %} {% block title %}[{{ playlist.code }}] {{ playlist.name }} - {{ config('app.title') }}{% endblock %} {% block head %} {% endblock %} {% block header %}

О плейлисте: {{ playlist.name }}

{% if (playlist.channels|length > 500) %} {% endif %} {% if playlist.isOnline is same as(false) %} {% endif %} {% endblock %} {% block content %}
{% if playlist.isOnline is same as(false) %} {% endif %}
Код {% if playlist.isOnline is same as(true) %} {{ playlist.code }} онлайн {% elseif playlist.isOnline is same as(false) %} {{ playlist.code }} оффлайн {% elseif playlist.isOnline is same as(null) %} {{ playlist.code }} unknown {% endif %}
Описание

{{ playlist.description }}

Ccылка для ТВ m3u.su/{{ playlist.code }}
Источник {{ playlist.source }}
Наполнение группы: {{ playlist.groups|length }}, каналы: {{ playlist.channels|length }} ({{ playlist.onlineCount }} + {{ playlist.offlineCount }})
Возможности  Программа передач: {{ playlist.hasTvg ? 'есть' : 'нет' }}
 Перемотка (архив): {{ playlist.hasCatchup ? 'есть' : 'нет' }}
M3U {{ playlist.url }}
Проверка плейлиста {{ to_date(playlist.checkedAt) }}
Ошибка проверки {{ playlist.content }}
{% if (playlist.content.attributes) %}

Дополнительные атрибуты

{% for attribute,value in playlist.attributes %} {% endfor %}
{{ attribute }} {{ value }}
{% endif %}

Список каналов: {{ playlist.channels|length }}

{% if (playlist.channels|length > 0) %} {% if (playlist.groups|length > 1) %}
{% endif %}
{% for tag in playlist.tags %} {% endfor %}
{% for channel in playlist.channels %} {% endfor %}
{{ loop.index }}  {{ channel.title }}
{% if (channel.attributes['tvg-id']) %}
 {{ channel.attributes['tvg-id'] }}
{% endif %} {% if (channel.contentType != null) %}
 {{ channel.contentType }}
{% endif %} {% if channel.tags|length > 0 %} {% for tag in channel.tags %} #{{ tag }} {% endfor %} {% endif %}
{% endif %}
{% endblock %} {% block footer %} {% endblock %}