update music api to listenbrainz
Deploy website / deploy (push) Successful in 3m1s

This commit is contained in:
2026-06-15 21:56:41 +01:00
parent af5116d931
commit cb7ec029eb
12 changed files with 215 additions and 81 deletions
+11
View File
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% block title %}Gallery - Toasters's basement{% endblock %}</title>
</head>
<body>
</body>
</html>
+9 -4
View File
@@ -38,10 +38,11 @@
<img src="https://s1nez.nekoweb.org/img/7dcd20d4.gif" alt="">
</section>
<div class="flex-row">
<a href="https://www.last.fm/user/acetheking987" id="spotify-link">
<div id="spotify">
<h1 id="spotify-title"></h1>
<h2 id="spotify-artist"></h2>
<a href="https://listenbrainz.org/user/acetheking987/" id="listenbrainz-link">
<div id="listenbrainz">
<h1 id="listenbrainz-title">Loading...</h1>
<h2 id="listenbrainz-artist">be patient, listenbrainz is slow :P</h2>
<h3 id="listenbrainz-live">Not Live :<</h3>
</div>
</a>
<section class="stamps">
@@ -159,4 +160,8 @@
</ul>
</section>
<iframe src="https://john.citrons.xyz/embed?ref=alfieking.dev" style="margin-left:auto;display:block;margin-right:auto;max-width:732px;width:100%;height:94px;border:none;"></iframe>
{% endblock %}
{% block scripts %}
<script src="/static/js/index.js"></script>
{% endblock %}
+21
View File
@@ -0,0 +1,21 @@
{% extends "bases/base.html" %}
{% block content %}
<section>
<h1>Test</h1>
<img src="static/content/photos/fur_meets/26-07-2025_critters_mk/PXL_20250726_155226274.jpg" alt="toaster" id="img1">
<p id="makeAndModel"></p>
<script src="https://cdn.jsdelivr.net/npm/exif-js"></script>
<script>
window.onload=getExif;
function getExif() {
var img1 = document.getElementById("img1");
EXIF.getData(img1, function() {
var make = EXIF.pretty(this);
makeAndModel.innerHTML = `${make}`;
});
}
</script>
</section>
{% endblock %}