#6191·navidrome

[错误]: Sidecar .lrc 歌词在 WebUI 或客户端中未显示,但 getLyricsBySongId 正确返回了这些歌词

作者: L1994M创建于 2026年9月21日更新于 2026年9月21日
标签bugtriage

I confirm that: - [x] I have searched the existing open AND closed issues to see if an issue already exists for the bug I've encountered - [x] I'm using the latest version (your issue may have been fixed already) ### Version 0.64.0 (1072e9f7) ### Current Behavior Tracks whose lyrics come from a sidecar .lrc file (same basename as the audio file) do not show lyrics in the WebUI or in Subsonic/OpenSubsonic clients (tested with StreamMusic "音流" and Musiver). However, the lyrics are returned correctly by the API: GET /rest/getLyricsBySongId.view?...&id=<songId> returns a full structuredLyrics object with lines and timestamps. Tracks whose lyrics are embedded in the audio file (ID3 USLT) display lyrics fine in the WebUI. So the server parses the sidecar .lrc correctly, but it is not surfaced to the WebUI/clients. ### Expected Behavior Sidecar .lrc lyrics should be displayed in the WebUI and delivered to clients, since getLyricsBySongId already parses and returns them correctly. ### Steps To Reproduce 1. Place an MP3 with a sidecar .lrc of the same basename in the music folder: - 人工下载/任素汐 - 胡广生 (我欠你啥子嘛).mp3 - 人工下载/任素汐 - 胡广生 (我欠你啥子嘛).lrc (valid UTF-8, LF line endings, standard LRC format) 2. Run a full scan: navidrome scan --full. The track imports fine (tracksImported OK). 3. API check: GET /rest/getLyricsBySongId.view?...&id=<songId> → returns structuredLyrics with all lines/timestamps correctly. 4. Open the same track in the WebUI → no lyrics shown. 5. Play it in a client (StreamMusic / Musiver) → no lyrics shown. ### Environment markdown - OS: Debian/Ubuntu (host running Docker), files on ext4 - Browser: Navidrome WebUI (Chrome, Windows) - Client: StreamMusic (音流) and Musiver (iOS) ### How Navidrome is installed? Docker ### Configuration toml LyricsPriority = ".lrc,.txt,embedded,nd-lyrics" [Plugins] Enabled = false Folder = "/data/plugins" ### Relevant log output When running navidrome scan --full, the log shows that all files in the directory were successfully imported, and there are no lines related to .lrc parsing: time="2026-09-21T10:51:46Z" level=info msg="Scanner: Completed processing folder" audioCount=50 elapsed=204.5ms imageCount=0 library="Music Library" plsCount=0 tracksImported=50 tracksMissing=0 folder="人工下载" At the same time, getLyricsBySongId returns the lyrics normally, but the WebUI does not display them. ### Anything else? Things I already ruled out: - media_file.lyrics is [] for these tracks; but the API still returns the lyrics, so that column appears unrelated to sidecar lyrics. - Tested all of: full rescan, touch the files, deleting the DB rows and re-importing (re-imported OK, still no lyrics in WebUI), renaming to a clean ASCII basename. - Tested LyricsPriority as both .lrc,.txt,embedded,nd-lyrics and external,embedded. - Disabling the nd-lyrics plugin (v8.0.0) made no difference. - A different track whose lyrics are embedded (ID3 USLT) does show lyrics in the WebUI. …

内容来源: navidrome/navidrome