{% extends "layouts/app.twig" %} {% block content %}

Actors & Performers

{{ pagination.total_items }} performer{{ pagination.total_items != 1 ? 's' : '' }}

{% if pagination.total_pages > 1 %}
{% if pagination.has_prev %} Prev {% else %} Prev {% endif %} Page {{ pagination.current_page }} of {{ pagination.total_pages }} {% if pagination.has_next %} Next {% else %} Next {% endif %}
{% endif %}
Clear Filters
{% if actors %}
{{ actors|length }}
Total Performers
{% set totalMovies = 0 %} {% set totalShows = 0 %} {% set totalAdult = 0 %} {% for actor in actors %} {% set totalMovies = totalMovies + actor.movie_count %} {% set totalShows = totalShows + actor.tv_show_count %} {% set totalAdult = totalAdult + actor.adult_video_count %} {% endfor %}
{{ totalMovies }}
Movies
{{ totalShows }}
TV Shows
{{ totalAdult }}
Adult Videos
{% for actor in actors %}
{% if actor.thumbnail_path %} {{ actor.name }} {% else %}
{{ actor.name|first|upper }}
{% endif %}

{{ actor.name }}

{% if actor.movie_count > 0 %}
{{ actor.movie_count }} Movie{{ actor.movie_count != 1 ? 's' : '' }}
{% endif %} {% if actor.tv_show_count > 0 %}
{{ actor.tv_show_count }} Show{{ actor.tv_show_count != 1 ? 's' : '' }}
{% endif %} {% if actor.adult_video_count > 0 %}
{{ actor.adult_video_count }} Adult
{% endif %}
{% endfor %}
{% if pagination.total_pages > 1 %}
Showing {{ (pagination.current_page - 1) * pagination.per_page + 1 }} to {{ min(pagination.current_page * pagination.per_page, pagination.total_items) }} of {{ pagination.total_items }} performers
{% if pagination.has_prev %} Previous {% else %} Previous {% endif %} {% set start_page = max(1, pagination.current_page - 2) %} {% set end_page = min(pagination.total_pages, pagination.current_page + 2) %} {% if start_page > 1 %} 1 {% if start_page > 2 %} ... {% endif %} {% endif %} {% for page_num in start_page..end_page %} {% if page_num == pagination.current_page %} {{ page_num }} {% else %} {{ page_num }} {% endif %} {% endfor %} {% if end_page < pagination.total_pages %} {% if end_page < pagination.total_pages - 1 %} ... {% endif %} {{ pagination.total_pages }} {% endif %} {% if pagination.has_next %} Next {% else %} Next {% endif %}
{% endif %} {% else %}

No Performers Found

Performers will appear here once you sync content from your media sources. Import movies, TV shows, or adult videos to start building your actor database.

{% endif %}
{% endblock %}