{% extends "_shell.html" %} {% from "_macros.html" import service_error, bar, tile %} {% block title %}P100 Media Centre{% endblock %} {% block content %} {#- The masthead. Double height, the service's own colour, and the one place on the page bloom is allowed. -#}

MEDIA CENTRE

{#- ── The index IS the status page ────────────────────────────── Every destination row carries its own live figure in its own colour, so choosing where to go and reading how things are are the same act. This is the whole thesis in one block. -#}
101 Watch Who is streaming right now {% if tautulli.status == 'ok' %} {{ tautulli.active_streams }} STREAMING {% else %} OFF AIR {% endif %} 102 Library Everything already held {% if sonarr.status == 'ok' or radarr.status == 'ok' %} {{ sonarr.total_series | default(0) }} SHOWS  {{ radarr.total_movies | default(0) }} FILMS {% else %} OFF AIR {% endif %} 103 Discover Popular, and not yet held {{ (rt_movies | length) + (rt_tv | length) }} SUGGESTED 104 Requests Waiting on a decision {% if ombi.status == 'ok' %} {{ ombi.total_pending | default(0) }} PENDING {% else %} OFF AIR {% endif %} 105 System Array, disks and indexers {% if unraid.status == 'ok' %} {%- set pct = unraid.array_used_pct | default(0) | float -%} {{ pct | round | int }}% FULL {% else %} OFF AIR {% endif %} 106 Activity What the stack has been doing {% if sabnzbd.status == 'ok' %} {{ sabnzbd.queue_count }} IN QUEUE {% else %} OFF AIR {% endif %} 900 Settings Keys, timezone and password
{#- ── Now showing ─────────────────────────────────────────────── The lower two-thirds. The furthest-along stream is set at double height in the live colour, with its progress as whole mosaic cells on the service's one ruler. -#}
Now Showing {% if tautulli.status == 'ok' %} {{ tautulli.active_streams }} active {% endif %}
{% if tautulli.status != 'ok' %} {{ service_error('Tautulli', tautulli.error) }} {% elif hero %}
{{ hero.title }}
{{ hero.user or hero.username }} {%- if hero.player %} · {{ hero.player }}{% endif %} {%- if hero.quality %} · {{ hero.quality }}{% endif %} {%- if hero.state %} · {{ hero.state | upper }}{% endif %}
{{ bar(hero.progress | default(0), 'ok') }} {{ hero.progress | default(0) | round | int }}% {% if hero.remaining %}{{ hero.remaining }} LEFT{% endif %}
{% if other_sessions %}
{% for s in other_sessions %}
{{ s.title }} {{ s.user or s.username }}{% if s.player %} · {{ s.player }}{% endif %} {{ bar(s.progress | default(0), 'ok') }} {{ s.progress | default(0) | round | int }}%
{% endfor %}
{% endif %} {% else %}

Nothing streaming. The service is quiet.

{% endif %} {#- ── Just added ──────────────────────────────────────────────── -#} {% if recently_added %}
Just Added
{% for it in recently_added %} {{ tile(it.title, it.sub, it.poster, it.ago) }} {% endfor %}
{% endif %} {% endblock %}