{% import 'macros.imp.j2' as macros %}

{{ title }}
{{ author }}

Description

{{ description }}


Metadata
Duration
{{ length // 60 }}:{{ length % 60 }}
Views
{{ views }}
Published
{{ published }}
Rating
{{ rating | round(1) }}/5
Visibility
{{ 'unlisted' if unlisted else 'public' }}

Available in {{ countries | length }} countries: {{ countries | join(', ') }}
{%for x in (infocards+endcards)|selectattr('content.error')%}{{x.content.error}}{%endfor%}
Info- and Endcards {% for card in infocards+endcards %}{# #}{% set c = card.content %}{# #}{% if card.type == 'VIDEO' %}{# #}{% call macros.card(c.video_id, c.title) %} {{ c.author }}  {{ c.length }} {% endcall %}{# #}{% elif card.type == 'CHANNEL' and c.channel_id != channel_id %}{# #}{% call macros.card_generic("/channel/"~c.channel_id, c.icons[250] if 'icons' in c else '', c.title) %} Channel {% endcall %}{# #}{% elif card.type == 'PLAYLIST' %}{# #}{% call macros.card_generic("/playlist?list="~c.playlist_id, "https://i.ytimg.com/vi/"~c.video_id~"/mqdefault.jpg", c.title) %} {{ c.author }} {{ c.n_videos }} videos {% endcall %}{# #}{% elif card.type == 'WEBSITE' %}{# #}{% call macros.card_generic(c.url, c.icons[250] if 'icons' in c else '', c.title) %} {{ c.domain }} {% endcall %}{# #}{% endif %}{# #}{% endfor %}