{% extends "base.html" %} {% block title %}Pending — Libris{% endblock %} {% block content %}

Pending Parts

{% if groups %} {{ groups|length }} group{{ 's' if groups|length != 1 else '' }} {% endif %}
{% if error %}
{{ error }}
{% endif %} {% if not groups and not error %}
No pending part groups
All multi-part audiobooks have arrived or been combined.
{% else %}
{% for g in groups %}
{{ g.title }}
{% if g.author %}
{{ g.author }}
{% endif %}
waiting {{ g.age }}
{% if g.total %} {% for n in range(1, g.total + 1) %} {% if n in g.have %} Part {{ n }} ✓ {% else %} Part {{ n }} … {% endif %} {% endfor %} {% else %} {% for n in g.have %} Part {{ n }} ✓ {% endfor %} ? … {% endif %}
{% for p in g.parts %}
{{ p.current_path.split('/')[-1] }}
{% endfor %}
CLI: libris combine-parts --group "{{ g.key }}"
{% endfor %}

CLI quick reference

libris list-pending
libris combine-parts --id <N>
libris pending-discard --id <N>
libris pair-pending --id1 <A> --id2 <B>

One-click actions coming in Phase 4.

{% endif %}
{% endblock %}