{% macro path_cell(paths) -%}
{%- if paths | length == 1 -%}
{{ paths[0] }}
{%- elif paths -%}
{{ paths | length }} paths
{% for path in paths %}
{{ path }}{% for subject in subjects %}{{ subject.name or subject.beets_id }}{{ ", " if not loop.last }}{% endfor %}
{% for subject in subjects %}
{{ subject.beets_id if subject.beets_id is not none else "—" }}
| When | Event | Release Name | Track names | Source path(s) | Destination path(s) |
|---|---|---|---|---|---|
| {% if event.pushed_at %} {% else %}—{% endif %} | {{ event.event_label }} | {{ subject_cell(event.albums, "beets album id") }} | {{ subject_cell(event.tracks, "beets track id") }} | {{ path_cell(event.source_paths) }} | {{ path_cell(event.destination_paths) }} |
No beets events have been ingested yet.
{% endif %}