{% extends 'base.html' %} {% block title %}Match Results{% endblock %} {% block content %}

Match Results

{% if match.entry_exists %}

Entry exists: {{ match.catalogue_error }}

{% elif match.catalogue_error %}

Catalogue save failed: {{ match.catalogue_error }}

{% elif match.duplicate and match.file_moved %}

Lower-ranked format deleted. Preferred file: {{ match.catalogue_path }}.

{% elif match.discard_files %}

Preferred file saved; completing duplicate cleanup.

{% elif match.file_moved %}

Saved to catalogue and moved to {{ match.catalogue_path }}.

{% elif match.catalogue_saved %}

Saved to catalogue; completing the file move.

{% endif %}

{{ file.filename }}
Query: {{ match.title if match.title is not none else '—' }}{% if file.media_type != 'tv' %} ({{ match.year if match.year is not none else '—' }}){% endif %} · {{ 'TV series · Name-only search' if file.media_type == 'tv' else 'Movies' }}

TMDB MATCH

{% if result.tone == 'resolved' %}{% endif %}{{ result.status }}
{% if result.tone != 'resolved' or match.selected_number %}

{{ result.explanation }}

{% endif %} {% for movie in result.movies %}
{% if movie.poster_url %}Poster for {{ movie.title }} {% else %}No poster available{% endif %}

{{ movie.title }}

{% if movie.selected %}

Selected by LLM

{% endif %}

{{ movie.year }} · {{ 'TV series' if movie.media_type == 'tv' else 'Movie' }} · {{ movie.language }}

{{ movie.rating }} out of 10 {% if movie.votes is not none %}{{ movie.votes }} votes{% endif %} TMDB #{{ movie.id }}

{{ movie.genres | join(' · ') if movie.genres else 'Genres not available' }}

{{ movie.overview }}

Release date
{{ movie.release_date }}
Original title
{{ movie.original_title }}
Language
{{ movie.language }}
{% endfor %} {% if result.total > result.movies | length %}

Showing {{ result.movies | length }} of {{ result.total }} results from the downloaded first page.

{% endif %}
{% if file.media_type == 'tv' %}

Episodes

{% if not match.episodes_mapped %}

Episode mapping will follow confirmation of the TV series. Files have not yet been mapped by the LLM.

{% endif %} {% set skipped = file.issues | selectattr('code', 'equalto', 'unresolved_tv') | list %} {% if skipped %}

Videos left at source

{% endif %}
{% endif %} {% if match.response is not none %}
View saved JSON
{{ response_json }}
{% endif %}

Back to batch

{% endblock %}