{# The stylesheet is embedded (reports/html._read_report_css): the report is one file. #} {#- Rows carry data-outcome / data-kind / data-item-id, and the raw guard or error message in data-reason, for scripted reviews. -#} {% macro emby_link(r) -%} Open in Emby {%- endmacro %} {% macro row(r) -%}
{% if r.image_url and r.image_url.startswith("data:") %}{% else %}{% endif %} {{ r.name }}{{ r.sub }} {% if r.why %}{{ r.why }}{% endif %} {{ r.facts }} {% if r.outcome == "next" %}{{ "goes " ~ r.when if r.when else "no date: its rating keeps it" }}{% endif %}
{% if r.next_step %}
Next step
{{ r.next_step }}{% if r.sibling_id %} Go to {{ r.sibling_name }}{% endif %}
{% endif %} {% if r.last_added %}
Last episode added
{{ r.last_added }}
{% endif %}
Path
{{ r.path or "unknown" }}
{% if r.exclude_id and r.outcome in ["would_remove", "next"] %}

To keep it for good, add to --exclude-ids: {{ r.exclude_id }}{% if not r.exclude_id.startswith("tt") %} (a bare number matches TMDB and TVDB alike){% endif %}

{% endif %} {% if r.outcome != "removed" %}{% endif %}
{%- endmacro %}

Emby Curator · cleanup report

{{ mode_short }} · {{ generated_human }}

{{ mode }}

{{ verdict.headline }}

{% if verdict.subline %}

{{ verdict.subline }}

{% endif %} {% if verdict.warning %}

Warning: {{ verdict.warning }}

{% endif %} {% if verdict.has_bar %} {% endif %} {% if verdict.sections or near_rows %} {% endif %} {% if verdict.decide %}
Next steps: copy-paste values
{% for a in verdict.decide %}
{{ a.label }}:
{{ a.command }}
{% endfor %}
{% endif %}
How titles were chosen
{% for f in rules.funnels %}

{{ f.what }}: {{ f.checked }} checked, {{ f.left }} picked for removal.{% if f.steps %} The others were kept, each counted under the first reason that applies:{% endif %}

{% if f.steps %}
{% for s in f.steps %}
{{ s.count }}
{{ s.label }}
{% endfor %}
{% endif %} {% endfor %} {% if rules.collections_removed %}

{{ rules.collections_removed }} collection{{ "s" if rules.collections_removed != 1 }} removed as a whole: every part you own failed the rules.

{% endif %} {% for d in rules.decay %}{% endfor %}
Years on the server (series: since the last new episode)Rating needed to stay
{{ d.age }}{{ d.need }}

Between the rows the needed rating rises evenly, by {{ rules.step }} a year, so {{ rules.example }}. The rating is the average of the user and critic scores (critics out of 10) when both exist. A collection is removed whole or not at all.

{% for s in verdict.sections %}

{{ s.title }}

{% if s.lead %}

{{ s.lead }}

{% endif %} {% for r in s.rows %} {% if r.collection_head %}

Collection: {{ r.collection }} · all {{ r.collection_size }} parts you own go together

{% endif %} {{ row(r) }} {% endfor %}
{% endfor %} {% if near_rows %} {% endif %}