feat: integrate lyrics module with UI

- Add lyricsStore for frontend state management with LRC parsing
- Wire LyricsSidebar to main layout with toggle button in NowPlayingBar
- Fix Rust compile errors (add Clone to LrclibItem, remove unused import)
- Add lyrics active line tracking with binary search
- Auto-start/stop lyrics updates based on playback state
This commit is contained in:
vicrodh committed 2026-01-10 06:31:12 -06:00
1 parent a3a766ba34
commit 80ff8afa3a
6 files changed
+533 -6

No files matched your search

-1
View File
@@ -7,7 +7,6 @@ pub mod commands;
pub mod providers;
use serde::{Deserialize, Serialize};
use std::path::PathBuf;
use std::sync::Arc;
use tokio::sync::Mutex;
+1 -1
View File
@@ -13,7 +13,7 @@ pub struct LyricsData {
pub provider: LyricsProvider,
}
#[derive(Debug, Deserialize)]
#[derive(Debug, Clone, Deserialize)]
#[serde(rename_all = "camelCase")]
struct LrclibItem {
#[serde(default)]