Use the appropriate key for Media.iter_formats

This commit is contained in:
tcely authored and GitHub committed 2025-11-13 22:03:01 -05:00
1 parent 3a718ca9b2
commit dcb3c93340
1 file changed
+2 -2
+2 -2
View File
@@ -171,8 +171,8 @@
<tr title="Best available format for source requirements">
<td class="hide-on-small-only">Matched formats</td>
<td><span class="hide-on-med-and-up">Matched formats<br></span>
Combined: <strong>{% if combined_format %}{{ combined_format }}{% if combined_format_dict.language %} [{{ combined_format_dict.language }}]{% endif %} {% if combined_exact %}(exact match){% else %}(fallback){% endif %}{% else %}no match{% endif %}</strong><br>
Audio: <strong>{% if audio_format %}{{ audio_format }}{% if audio_format_dict.language %} [{{ audio_format_dict.language }}]{% endif %} {% if audio_exact %}(exact match){% else %}(fallback){% endif %}{% else %}no match{% endif %}</strong><br>
Combined: <strong>{% if combined_format %}{{ combined_format }}{% if combined_format_dict.language_code %} [{{ combined_format_dict.language_code }}]{% endif %} {% if combined_exact %}(exact match){% else %}(fallback){% endif %}{% else %}no match{% endif %}</strong><br>
Audio: <strong>{% if audio_format %}{{ audio_format }}{% if audio_format_dict.language_code %} [{{ audio_format_dict.language_code }}]{% endif %} {% if audio_exact %}(exact match){% else %}(fallback){% endif %}{% else %}no match{% endif %}</strong><br>
Video: <strong>{% if video_format %}{{ video_format }} {% if video_exact %}(exact match){% else %}(fallback){% endif %}{% else %}no match{% endif %}
</strong></td>
</tr>