[music] Add listenbrainz support

This commit is contained in:
2026-05-31 11:21:11 -04:00
parent 12f49a6cee
commit bca90c97ae
9 changed files with 465 additions and 2 deletions

View File

@ -14,6 +14,29 @@
{% include "scrobbles/_chart_links.html" %}
{% endif %}
<div class="col-md">
{% if object.similar_recordings %}
<h3>Similar recordings</h3>
<div class="table-responsive">
<table class="table table-striped table-sm">
<thead>
<tr>
<th scope="col">Track</th>
<th scope="col">Artist</th>
<th scope="col">Score</th>
</tr>
</thead>
<tbody>
{% for sr in object.similar_recordings|slice:":10" %}
<tr>
<td><a href="https://musicbrainz.org/recording/{{sr.recording_mbid}}">{{sr.recording_name}}</a></td>
<td>{{sr.artist_credit_name}}</td>
<td>{{sr.score}}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% endif %}
<h3>Last scrobbles</h3>
<div class="table-responsive">
<table class="table table-striped table-sm">