{% extends 'admin/custom_base.html' %} {% block body %}

Soundtrack

Manage the KittyRec in-game music. Uploaded files are served at /api/music/v1/file/<name>. Non-WAV files are auto-converted by ffmpeg on first play.

{{ tracks|length }} track(s)
{% if error %}
{{ error }}
{% endif %} {% if success %}
{{ success }}
{% endif %} {% if SCOPE_ADMIN in scopes %}
+ Upload Track
Accepted: WAV, MP3, OGG, FLAC, M4A, AAC, OPUS, WMA — max 100 MB. Non-WAV files are converted to WAV automatically.
{% endif %}
Tracks
{% if SCOPE_ADMIN in scopes %}{% endif %} {% if not tracks %} {% else %} {% for t in tracks %} {% if SCOPE_ADMIN in scopes %} {% endif %} {% endfor %} {% endif %}
# Filename Format Size PreviewActions
No tracks in the music folder yet.
{{ loop.index }} {{ t.name }} {{ t.ext.lstrip('.').upper() }} {{ t.size_kb }} KB {% if t.ext == '.wav' %} {% else %} Converted on first play {% endif %}
{% endblock %}