Confused about xesam:asText
Arun Raghavan
arun at accosted.net
Mon Dec 11 17:01:41 UTC 2023
On Sun, 10 Dec 2023 at 14:18, 北雁 Cryolitia <Cryolitia at 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).
I am by no means an authoritative source on this, and my archive.org
skills can't seem to pull up the original Xesam Ontology, but my guess
would be that this was unspecified and possibly assumed to be a string
that could be rendered "somehow" by a client. Most clients I've seen
that might actually implement this spec have just plain text boxes to
show this.
A quick GitHub search suggests that people are stuffing lyrics "as is"
from their source into that field.
Cheers,
Arun
More information about the Xesam
mailing list