Xesam has been unmaintained for a while now (you could probably say the same for MPRIS, though, for all that mirsal and i are still monitoring the list!). It's one of my regrets about MPRIS that we picked a metadata format that didn't last very long.

That said, xesam was originally developed for the desktop search use case, so the metadata should generally be thought of as applying to files. That means it should contain the full lyrics. I don't think even xesam specifies the format beyond that - it's a general field for the "text version" of the file, whatever that means. I would generally assume it would contain a "human readable" version of the lyrics (in a similar format to what you might find on most lyrics websites).

If you want to provide lyrics in a format that allows syncing with the song text, it's probably worth using a different (custom) metadata key that you define to be in a specific format.

Alex


On 10/12/2023 17:18, mirsal wrote:
Hello,

MPRIS does not define a format for xesam medatada. there is a xe...@lists.freedesktop.org list at https://lists.freedesktop.org/mailman/listinfo/xesam although it does not seem active. Maybe try asking there nonetheless, see if anyone replies?

Cheers!
On Saturday, December 9th, 2023 at 11:22 PM, 北雁 Cryolitia <cryoli...@gmail.com> wrote:

To whom it may concern,
I'm trying to develop a lyrics OSD. I have found the filed /xesam:asText /in MPRIS, but have some arguments about it. I wonder whether it should be the full lyrics of the whole song or the lyrics of the sentence currently playing. If it should be the full lyrics of the whole song, is there any format standard to parse it. For example, should it be /.lrc /or ./src /? More exactly, it's https://github.com/go-musicfox/go-musicfox/issues/202 (In Chinese sorry).

--
顺颂时祺
Cryolitia

Reply via email to