{% for playlist in playlists %} {% set active = current_playlist and ''~playlist.id == ''~current_playlist.id %}
{% set title = playlist.name|trim %} {% set title = title if title|length > 0 %} {{ truncate((title)|default(l.common_untitled), 35, '...') }}
{% set total_duration = seconds_to_hhmmss(durations[playlist.id]) %} {% if total_duration %} {{ total_duration }} {% else %} {{ l.common_empty }} {% endif %}
{% if playlist.fallback %} {% else %} {% endif %}
{% endfor %}