{% extends "base.html" %} {% block title %}Dashboard - DigiServer v2{% endblock %} {% block content %}

Dashboard

Players

{{ total_players or 0 }}

View Players

Playlists

{{ total_playlists or 0 }}

Manage Playlists

Media Library

{{ total_content or 0 }}

Unique media files

Storage

{{ storage_mb or 0 }} MB

Total uploads

Playlist Overview Manage

Pick a playlist to add media to or edit. Players listed here are the devices that will show it.

{% if playlist_overview %} {% for item in playlist_overview %}
{{ item.playlist.name }}
{{ item.content_count }} item{{ '' if item.content_count == 1 else 's' }} · {{ item.total_duration }}s · v{{ item.playlist.version }} · {% if item.player_count %} {{ item.online_count }}/{{ item.player_count }} online {% else %} no players {% endif %}
Edit
{% if item.players %}
{% for player in item.players %} {{ player.name }} {% endfor %}
{% else %}

No players assigned — content here is not shown on any screen yet. Assign a player →

{% endif %}
{% endfor %} {% else %}

No playlists yet. Create your first playlist →

{% endif %} {% if unassigned_players %}
{{ unassigned_players | length }} player{{ '' if unassigned_players | length == 1 else 's' }} not assigned to any playlist: {% for player in unassigned_players %} {{ player.name }}{{ ', ' if not loop.last else '' }} {% endfor %} — these will not display content until a playlist is assigned.
{% endif %}
{% if recent_logs %}

Recent Activity

{% for log in recent_logs %}
[{{ log.level.upper() }}] {{ log.message }} {{ log.timestamp | localtime('%Y-%m-%d %H:%M:%S') }}
{% endfor %}
{% endif %}

System Status

✅ All systems operational

📋 Playlist-centric architecture active

🔄 Groups removed - Streamlined workflow

⚡ DigiServer v2.0

{% endblock %}