Bug 492065

Summary: Export xesam:asText in MPRIS implementation
Product: [Applications] Elisa Reporter: Nate Graham <nate>
Component: generalAssignee: Matthieu Gallien <matthieu_gallien>
Status: REPORTED ---    
Severity: wishlist CC: cwo.kde, jackhill3103
Priority: NOR    
Version: 22.11.80   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Nate Graham 2024-08-23 05:29:41 UTC
This will allow lyrics to be read by MPRIS-compatible clients, opening the door to showing lyrics or the currently playing song in viewer apps/widgets.

I took a look in mediaplayer2player.cpp, but it doesn't seem like there's  easy way to get the lyrics out of a track right now. The data is stored in TrackMetadataModel and I couldn't figure out how to access that from MediaPlayer2Player.