Streaming Channels

{% with messages = get_flashed_messages() %} {% if messages %} {% for message in messages %} {% endfor %} {% endif %} {% endwith %} {% if channels %}
{% for channel in channels %}
{{ channel.name }} {% if channel.is_default %} Default {% endif %} {% if not channel.is_active %} Inactive {% endif %}

{{ channel.description or 'No description' }}

Content ({{ channel.content|length }} items):
{% if channel.content %} {% for content in channel.content[:3] %}
{{ content.media_file.original_name }} {{ content.display_duration }}s
{% endfor %} {% if channel.content|length > 3 %}
and {{ channel.content|length - 3 }} more...
{% endif %} {% else %}

No content assigned
{% endif %}
Players ({{ channel.players|length }}):
{% if channel.players %}
{% for player in channel.players %} {{ player.name or player.device_id }} {% endfor %}
{% else %} No players assigned {% endif %}
{% endfor %}
{% else %}

No Channels Created

Create your first streaming channel to organize content for your displays.

{% endif %}