{#if data.audioData.vocalsUrl}
diff --git a/src/routes/song/[id]/play/+page.server.ts b/src/routes/song/[id]/play/+page.server.ts
index 3488281..0cdde3a 100644
--- a/src/routes/song/[id]/play/+page.server.ts
+++ b/src/routes/song/[id]/play/+page.server.ts
@@ -1,15 +1,14 @@
import type { PageServerLoad } from './$types'
-import { getLyricsProcessed, getSongRaw, getSongUrl, checkLyricsProcessed } from "$lib/server/songs.ts"
+import { getLyricsProcessed, getSongUrl, checkLyricsProcessed } from "$lib/server/songs.ts"
import { redirect } from '@sveltejs/kit'
export const load: PageServerLoad = async ({ params, url }) => {
const songId = +params.id
- const song = await getSongRaw(songId)
const hasLrc = await checkLyricsProcessed(songId)
if (!hasLrc) throw redirect(302, `/song/${songId}`)
const lrc = await getLyricsProcessed(songId)!
const audioUrl = url.searchParams.get('music') === 'true' ? await getSongUrl(songId) : undefined
- return { song, lrc, audioUrl }
+ return { lrc, audioUrl }
}
\ No newline at end of file
diff --git a/src/routes/song/[id]/play/+page.svelte b/src/routes/song/[id]/play/+page.svelte
index 0ee28d8..1572193 100644
--- a/src/routes/song/[id]/play/+page.svelte
+++ b/src/routes/song/[id]/play/+page.svelte
@@ -157,7 +157,7 @@
musicControl?.ready()} onkeydown={() => musicControl?.ready()}/>
-
+