{% extends 'base.html' %}{% load static %} {% block headtitle %}Media - {{ media.key }}{% endblock %} {% block content %}

Media {{ media.key }} {{ download_state_icon|safe }}

{% if media.title %}

{{ media.title }}

{% endif %}

{{ media.url }}

Downloading to: {{ media.source.directory_path }}

{% if not media.can_download %}{% include 'errorbox.html' with message='Media cannot be downloaded because it has no formats which match the source requirements.' %}{% endif %} {% if media.skip %}{% include 'errorbox.html' with message='Media is marked to be skipped and will not be downloaded.' %}{% endif %} {% include 'infobox.html' with message=message %}

{% if media.description %}{{ media.description|truncatewords:200 }}{% else %}(Media has no description).{% endif %}

{% if task %}
{% if task.locked_by_pid_running %} {{ task }}
Task started at {{ task.run_at|date:'Y-m-d H:i:s' }} {% else %} {{ task }}
Task will run {% if task.run_now %}immediately{% else %}at {{ task.run_at|date:'Y-m-d H:i:s' }}{% endif %} {% endif %}
{% endif %}
{% if not media.source.download_media %} {% endif %} {% if media.skip %} {% else %} {% endif %} {% if media.downloaded %} {% if media.downloaded_video_codec %} {% endif %} {% else %} {% endif %}
Source Source
{{ media.source }}
Duration Duration
{{ media.duration_formatted }}
Desired format Desired format
{{ media.source.format_summary }}
Fallback Fallback
{{ media.source.get_fallback_display }}
Source download? Source download?
{% if media.source.download_media %}{% else %}{% endif %}
Skipping? Skipping?
{% if media.skip %}{% else %}{% endif %}
Downloaded? Downloaded?
{% if media.downloaded %}{% else %}{% endif %}
Filename Filename
{{ media.filename }}
Directory Directory
{{ media.directory_path }}
File size File size
{{ media.downloaded_filesize|filesizeformat }}
Downloaded codecs Downloaded codecs
audio:{{ media.downloaded_audio_codec }}{% if media.downloaded_video_codec %}, video:{{ media.downloaded_video_codec }}{% endif %}
Container Container
{{ media.downloaded_container|upper }}
Downloaded FPS Downloaded FPS
{{ media.downloaded_fps }} FPS
Downloaded HDR? Downloaded HDR?
{% if media.downloaded_hdr %}{% else %}{% endif %}
Can download? Can download?
{% if media.can_download %}{% else %}{% endif %}
Available formats Available formats
{% for format in media.formats %}
ID: {{ format.format_id }} {% if format.vcodec|lower != 'none' %}, {{ format.format_note }} ({{ format.width }}x{{ format.height }}), fps:{{ format.fps|lower }}, video:{{ format.vcodec }} @{{ format.tbr }}k{% endif %} {% if format.acodec|lower != 'none' %}, audio:{{ format.acodec }} @{{ format.abr }}k / {{ format.asr }}Hz{% endif %} {% if format.format_id == combined_format or format.format_id == audio_format or format.format_id == video_format %}(matched){% endif %}
{% empty %} Media has no indexed available formats {% endfor %}
Matched formats Matched formats
Combined: {% if combined_format %}{{ combined_format }} {% if combined_exact %}(exact match){% else %}(fallback){% endif %}{% else %}no match{% endif %}
Audio: {% if audio_format %}{{ audio_format }} {% if audio_exact %}(exact match){% else %}(fallback){% endif %}{% else %}no match{% endif %}
Video: {% if video_format %}{{ video_format }} {% if video_exact %}(exact match){% else %}(fallback){% endif %}{% else %}no match{% endif %}
{% if media.downloaded %}
Redownload media
Delete and skip media
{% else %}
{% if media.skip %} Enable (unskip) media {% else %} Skip media {% endif %}
{% endif %} {% endblock %}