diff --git a/README.md b/README.md index 6963f7a..a2c5f28 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,6 @@ Practice Japanese Karaoke lyrics reading and typing at the same time with amaoke * [ ] Intro popup * [ ] Re-encode songs using opus * [ ] Meta tags -* [ ] Bug: 音乐模式 should require lyrics to be ready ## 自搭服务器文档 / Self-hosting Guide diff --git a/src/routes/song/[id]/+page.svelte b/src/routes/song/[id]/+page.svelte index 5c7df3f..fd0e135 100644 --- a/src/routes/song/[id]/+page.svelte +++ b/src/routes/song/[id]/+page.svelte @@ -28,9 +28,9 @@ }) let modes = $derived([ - { icon: "i-material-symbols:keyboard-rounded", label: t.typing, url: `/song/${data.song.id}/play`, disabled: !taskStatus.lyrics || !taskStatus.ai }, - { icon: "i-material-symbols:music-note-rounded", label: t.music, url: `/song/${data.song.id}/play?music=true`, disabled: !taskStatus.music }, - { icon: "i-material-symbols:mic-rounded", label: t.karaoke, url: `/song/${data.song.id}/karaoke`, disabled: !taskStatus.separation }, + { icon: "i-material-symbols:keyboard-rounded", label: t.typing, url: `/song/${data.song.id}/play`, disabled: !taskStatus.ai }, + { icon: "i-material-symbols:music-note-rounded", label: t.music, url: `/song/${data.song.id}/play?music=true`, disabled: !taskStatus.ai || !taskStatus.music }, + { icon: "i-material-symbols:mic-rounded", label: t.karaoke, url: `/song/${data.song.id}/karaoke`, disabled: !taskStatus.ai || !taskStatus.separation }, ]) let progressItems = $state([])