{% extends 'marietje/base.html' %} {% load static %} {% block title %}Stats{% endblock %} {% block content %}

Statistics

{% if not stats %}
Stats unavailable :(
{% else %} {% if current_age_text %}
{{ current_age_text }} {% endif %}

Uploads

In total {{ stats.total_uploads }} songs have been uploaded. These are the {{ stats.stats_top_count }} people who have uploaded the most.

{% for stat in stats.upload_stats %} {% endfor %}
# User # Songs
{{ forloop.counter }} {{ stat.user__name }} {{ stat.total }} ({% widthratio stat.total stats.total_uploads_perc 100 %}%)

Requests

In total {{ stats.total_requests }} songs have been requested. These are the {{ stats.stats_top_count }} people who have requested the most songs.

{% for stat in stats.request_stats %} {% endfor %}
# User # Requests
{{ forloop.counter }} {{ stat.user__name }} {{ stat.total }} ({% widthratio stat.total stats.total_requests_perc 100 %}%)

Time requested

In total {{ stats.total_time_requested }} of music have been requested, with an average song length of {{ stats.total_average }}. These are the {{ stats.stats_top_count }} people with the longest total time queued.

{% for stat in stats.time_requested %} {% endfor %}
# User Duration Average
{{ forloop.counter }} {{ stat.user__name }} {{ stat.duration }} {{stat.avg_dur}}

Unique requests

In total {{stats.total_unique_requests}} different songs have been requested. The {{ stats.stats_top_count }} people that have requested the largest number of different songs are shown below.

{% for stat in stats.unique_request_stats %} {% endfor %}
# User # Unique
{{ forloop.counter }} {{ stat.user__name }} {{ stat.unique_requests }} ({% widthratio stat.unique_requests stat.total_requests 100 %}%)

Most played songs

These are the {{ stats.stats_top_count }} most played songs ever.

{% for stat in stats.most_played_songs %} {% endfor %}
# Artist Title # Requests
{{ forloop.counter }} {{ stat.song__artist }} {{ stat.song__title }} {{ stat.total }}

Most played artists

These are the {{ stats.stats_top_count }} most played artists ever.

{% for stat in stats.most_played_artists %} {% endfor %}
# Artist # Requests
{{ forloop.counter }} {{ stat.song__artist }} {{ stat.total }}

Most played uploaders

These are the {{ stats.stats_top_count }} people whose songs are requested most often by other people, as shown in the left column. The right column shows how many times that person has queued their own songs.

{% for stat in stats.most_requested_uploaders %} {% endfor %}
# User # Others # Own
{{ forloop.counter }} {{ stat.name }} {{ stat.total }} {{ stat.own_total}}

Most played songs last 14 days

These {{ stats.stats_top_count }} songs have been requested the most in the last two weeks.

{% for stat in stats.most_played_songs_14_days %} {% endfor %}
# Artist Title # Requests
{{ forloop.counter }} {{ stat.song__artist }} {{ stat.song__title }} {{ stat.total }}
{% endif %}
{% endblock %}