Files
jellyfin-plugin-lyrics/Jellyfin.Plugin.Lyrics
Felitendo 54ae85ca0f fix: check internal metadata folder for existing lyric files
The filesystem fallback in LyricDownloadTask only checked for .lrc/.txt
next to the media file. When "Save lyrics into media folders" is disabled
for a library, Jellyfin stores lyrics in the item's internal metadata
folder instead, so the fallback never found them: every run took the
download branch and re-fetched the same lyrics (and logged spurious
NoResult retry-state entries), adding needless load on lrclib.net.

The fallback now also checks
{GetInternalMetadataPath()}/{fileNameWithoutExt}.{lrc,txt}, mirroring
Jellyfin's own lyric save logic, so existing lyrics are detected
regardless of the "Save lyrics into media folders" setting.

Verified on Jellyfin 10.11.10 with the option disabled: the second task
run reports "missing downloaded: 0, db-desync skipped: N" instead of
re-downloading.

Fixes #54
2026-05-29 23:07:47 +02:00
..