{#- This file is part of Supysonic. Supysonic is a Python implementation of the Subsonic server API. Copyright (C) 2013-2018 Alban 'spl0k' Féron 2017-2024 Óscar García Amor Distributed under terms of the GNU AGPLv3 license. -#} {% extends "layout.html" %} {% block navbar_playlists %} Playlists {% endblock %} {% block body %}

My playlists

{% if not mine.count() %}

You don't have any playlists.

{% else %}
{% for p in mine %} {% endfor %}
PlaylistTracksPublicExportDelete
{{ p.name }} {{ p.get_tracks()|length }} {% if p.public %} {% else %} {% endif %}
{% endif %} {% if others.count() %}

Others' playlists

{% for p in others %} {% endfor %}
PlaylistOwnerTracks
{{ p.name }} {{ p.user.name }} {{ p.get_tracks()|length }}
{% endif %} {% endblock %}