{% set name_match = file['name_match'] > 94.9 %} {% set phash_match = file['phash_distance'] is not none and file['phash_distance'] <= 8 %}
Phash Match: {{ bool_to_icon(phash_match) }}
{% if file['phash_distance'] is not none %} Phash distance: {{ file['phash_distance'] }}
{% endif %} {% if file['phash_duration'] is not none %} Duration Match: {{ bool_to_icon(file['phash_duration']) }}
{% endif %}
Site Match: {{ bool_to_icon(file['site_match']) }}
File: {{ file['name_parts']['site']|default('', True) }}
Found: {{ file['looked_up']['site']|default('', True) }}
Date Match: {{ bool_to_icon(file['date_match']) }}
File: {{ file['name_parts']['date']|default('', True) }}
Found: {{ file['looked_up']['date']|default('', True) }}
Name Match: {{ bool_to_icon(name_match) }}
File: {{ file['name_parts']['name']|default('', True) }}
Found: {{ file['looked_up']['name']|default('', True) }}
Matched With: {{ file['name'] }}