{% extends "template.html" %} {% block content %}
{% if path: %}

{{ path }}

{% endif %}
    {% for item in results %} {% if item.directory and (spotify and item.directory.startswith('spotify:') or not spotify and not item.directory.startswith('spotify:')): %}
  • Write to card Play now {% endif %}
  • {% if item.file and not item.file.startswith('.') and (spotify and item.file.startswith('spotify:') or not spotify and not item.file.startswith('spotify:')): %}
  • {{ item.file }}
    Write to card
  • {% endif %} {% endfor %}
{% if not spotify: %} List Spotify Downloads {% endif %} {% if spotify: %} List MPD files {% endif %}
{% endblock %}