{% extends 'base.html' %} {% block scripts %} {% endblock %} {% block header %} {# Rendered from the route's title, matching files.html -- a hardcoded heading here meant changing search.py only moved the browser tab text. #}
{% trans %}Add new songs from YouTube{% endtrans %}
{% endblock %} {% block content %}
{# On the thumbnail rather than after the title: titles wrap, so a tag
trailing the text lands wherever the last line happens to end. #}
{% if local_path %}
{# MSG: Badge on a YouTube search result marking a song that is already downloaded. #}
{% trans %}In library{% endtrans %}
{% endif %}
{% if result.duration %}{{ result.duration }}{% endif %}