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

DISCOVER

Popular right now, with anything already in library filtered out.

{#- Search sits at the top for the same reason it does on Library: a title in mind is the common case. This one asks Ombi, which already sits in front of TheMovieDB/TVDB, then lets you add straight to Radarr/Sonarr from the result. -#} {% if search %}
Results “{{ q }}”
{% if search.status != 'ok' %} {{ service_error('Ombi', search.error) }} {% elif search.results %}
{% for it in search.results %} {{ tile(it.title, it.kind ~ (' ยท Held' if it.held else ''), it.poster, it.year, ('' if it.held else '+ Add'), it.target) }} {% endfor %}
{% else %}

No matches for “{{ q }}”.

{% endif %} {% endif %}
Films {{ rt_movies | length }} not in library
{% if rt_movies %}
{% for m in rt_movies %} {{ tile(m.title, m.year, m.poster, m.score, '+ Add', 'radarr') }} {% endfor %}
{% else %}

Nothing to suggest — the feed is unreachable or it's all already in your library.

{% endif %}
Television {{ rt_tv | length }} not in library
{% if rt_tv %}
{% for s in rt_tv %} {{ tile(s.title, s.year, s.poster, s.score, '+ Add', 'sonarr') }} {% endfor %}
{% else %}

Nothing to suggest — the feed is unreachable or you already hold it all.

{% endif %} {% endblock %}