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

{{ player.name }}

{% if status_info.online %} 🟒 Online {% else %} ⚫ Offline {% endif %} Last seen: {{ status_info.last_seen_ago }}
✏️ Edit Player 🎬 Manage Playlist ← Back to Players

πŸ“‹ Player Information

Display Name: {{ player.name }}
Hostname: {{ player.hostname }}
Location: {{ player.location or '-' }}
Orientation: {{ player.orientation or 'Landscape' }}
Created: {{ player.created_at | localtime }}

πŸ” Authentication Details

Password Set: {% if player.password_hash %} βœ“ Yes {% else %} βœ— No {% endif %}
Quick Connect Code: {% if player.quickconnect_code %} βœ“ Yes {% else %} βœ— No {% endif %}
Auth Code: {% if player.auth_code %} βœ“ Yes
{% else %} βœ— No {% endif %}
✏️ Edit Authentication Settings

🎬 Playlist Management

{% if playlist %}
Total Items
{{ playlist|length }}
Total Duration
{% set total_duration = namespace(value=0) %} {% for item in playlist %} {% set total_duration.value = total_duration.value + (item.duration or 10) %} {% endfor %} {{ total_duration.value }}s
Playlist Version
{{ player.playlist_version }}
{% endif %} 🎬 Open Playlist Manager {% if not playlist %}
⚠️ No content in playlist. Open the playlist manager to add content.
{% endif %}

πŸ“Š Recent Activity & Feedback

{% if recent_feedback %}
{% for feedback in recent_feedback %} {% endfor %}
Time Status Message Error
{{ feedback.timestamp | localtime('%Y-%m-%d %H:%M:%S') }} {% if feedback.status == 'playing' %} ▢️ Playing {% elif feedback.status == 'idle' %} ⏸️ Idle {% elif feedback.status == 'error' %} ❌ Error {% else %} {{ feedback.status }} {% endif %} {{ feedback.message or '-' }} {% if feedback.error %} {{ feedback.error[:50] }}... {% else %} - {% endif %}
{% else %}
ℹ️ No activity logs yet. The player will send feedback once it starts playing content.
{% endif %}
{% endblock %}