{% extends "_shell.html" %} {% from "_macros.html" import service_error, tile %} {% block title %}P102 Library{% endblock %} {% block content %}

LIBRARY

{#- Search sits at the top because arriving here with a title in mind is the common case. It posts to the same lookup the old page used. -#}
Holdings {%- if sonarr.status == 'ok' %}{{ sonarr.total_series }} shows{% endif -%} {%- if sonarr.status == 'ok' and radarr.status == 'ok' %} · {% endif -%} {%- if radarr.status == 'ok' %}{{ radarr.total_movies }} films{% endif -%}
{% if sonarr.status == 'ok' %}
{{ sonarr.total_series }}
Shows
{{ sonarr.missing_episodes }}
Missing eps
{% endif %} {% if radarr.status == 'ok' %}
{{ radarr.total_movies }}
Films
{{ radarr.missing_movies }}
Missing films
{% endif %}
{% if sonarr.status != 'ok' %}
Sonarroff air
{{ service_error('Sonarr', sonarr.error) }} {% endif %} {% if radarr.status != 'ok' %}
Radarroff air
{{ service_error('Radarr', radarr.error) }} {% endif %} {% if recently_added %}
Newest In
{% for it in recently_added %} {{ tile(it.title, it.sub, it.poster, it.ago) }} {% endfor %}
{% endif %} {% endblock %}