mirror of
https://github.com/navidrome/navidrome.git
synced 2026-10-15 05:47:13 +02:00
Replace model.ToLyrics (LRC/plain only) with model.ParseEmbedded so plugin responses are content-sniffed for TTML, SRT, YAML, LRC, and plain text. ParseEmbedded returns a LyricList, so the loop now flattens multiple tracks per response entry. The test-lyrics WASM plugin gains a "ttml" format mode (configured via pdk.GetConfig) that returns a minimal TTML document; rebuilt with the standard Go wasip1 toolchain (GOOS=wasip1 GOARCH=wasm). A new Ginkgo test asserts Synced==true and the exact cue value, which the old plain-text path could not produce. GetLyrics doc comment updated to reflect content-sniffing; a later task will retarget it to ParseLyrics once that function is introduced. |
||
|---|---|---|
| .. | ||
| partial-metadata-agent | ||
| test-artwork | ||
| test-cache-plugin | ||
| test-config | ||
| test-kvstore | ||
| test-library | ||
| test-lyrics | ||
| test-metadata-agent | ||
| test-scheduler | ||
| test-scrobbler | ||
| test-sonic-similarity | ||
| test-subsonicapi-plugin | ||
| test-taskqueue | ||
| test-users | ||
| test-websocket | ||
| Makefile | ||