{% extends "template.html" %} {% block content %}

luniebox

Welcome to luniebox web-interface. This is for configuring and control your luniebox device.

Daemon

{% if daemon_error: %}

{{ daemon_error }} Start daemon
{% endif %} {% if daemon_status: %}
{{ daemon_status }}
{% endif %}

Spotify Integration

{% if spotify['errors']['setup']: %}

{% endif %} {% if spotify['errors']['not_running']: %} {% endif %} {% if spotify['status']['not_active']: %} {% endif %} {% if spotify['status']['device']: %} {% endif %} {% if spotify['status']['item']: %} {% with item = spotify['status']['item'] %} {% endwith %} {% endif %}
Current Device {{ spotify['status']['device']['name'] }}
{{ 'Currently playing' if spotify['status']['is_playing'] else 'Last played' }} {% include "spotify/items/track.html" %}

Music Player Daemon Integration

{% if not mpd: %}

Music Player Daemon not connected Restart mpd
{% endif %} {% if mpd: %} {% if mpd['song']: %} {% with item = mpd['song'] %} {% endwith %} {% endif %}
Current state {{ mpd['state'] }}
{{ 'Currently playing' if mpd['state'] == 'play' else 'Last played' }}
{{ item['title'] }}

{{ item['artist'] }}

{{ item['album'] }}
{% endif %}

This will stop daemon. You need to restart daemon afterwards!

Read card Play card
{% endblock %}