ui: add placeholder artwork

This commit is contained in:
2026-02-11 20:53:40 -08:00
parent 11a4239fdc
commit 5e7534af35
2 changed files with 2 additions and 0 deletions

BIN
src/lib/assets/artwork.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 KiB

View File

@@ -1,5 +1,6 @@
<script lang="ts">
import { onMount, setContext } from "svelte";
import artwork from "$lib/assets/artwork.jpg";
import { player } from "$lib/player/store.svelte";
import { songTypeNumberLabel } from "$lib/utils/amq";
import { AudioContext } from "./ctx.svelte";
@@ -44,6 +45,7 @@
title: `${track.animeName} (${typeLabel}) — ${track.title}`,
artist: track.artist,
album: track.animeName ?? "",
artwork: [{ src: artwork }],
});
} else {
navigator.mediaSession.metadata = null;