{# The downloader hook's answer for one library entry's unrecorded source folder (swapped into its cell).
A match has been stored as the entry's inferred source path, so it renders exactly as the results table
will on the next load. #}
{% from "fragment_templates/source_path_cells.html" import inferred_path_cell with context %}
{% if lookup is none %}
Library entry not found.
{% elif not hook_enabled %}
No downloader API is configured.
Set the beetkeeper.downloader_hook section in your beets config (then restart) to look source folders up.
{% elif lookup.found_match %}
{{ inferred_path_cell(lookup.source_directory, album_id, item_id) }}
{% else %}
Not found via downloader
{% endif %}