Skip to content

Sync/Unsynced Lyrics: SYLT/USLT (id3v2) / LYRICS/UNSYNCEDLYRICS (flac) #561

@muja

Description

@muja

Reproducer

No response

Summary

Synchronized Lyrics should map to SYLT in mp3. Currently, ItemKey::Lyrics maps to USLT (unsynchronized lyrics). There is no corresponding ItemKey for SYLT.

On the other hand, for vorbis comments / FLAC, the tag for synchronized lyrics is LYRICS, which ItemKey::Lyrics maps to. However, UNSYNCEDLYRICS is currently parsed as ItemKey::Unknown(_).

So, to summarize:

flac -> lofty id3v2 -> lofty
LYRICS -> ItemKey::Lyrics SYLT -> None
UNSYNCEDLYRICS -> None USLT -> ItemKey::Lyrics

I couldn't find a specification on the LYRICS/UNSYNCEDLYRICS file but it is widely used by apps like Jellyfin or LrcGet:

As for id3v2, the specification is very clear on this: https://id3.org/d3v2.3.0 section 4.9 and 4.10

Could probably be a breaking change.

Expected behavior

No response

Assets

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions