mpris:trackid broken for deezer
Description:
When playing tracks from deezer, the mpris:trackid value previously contained the actual track id from deezer. This is no longer the case, and the currently used number doesn't seem to relate to any of the available deezer metadata for the track.
Skimming the code, it seems to me that the dzPlayer.getSongId()
value should still be propagated to the track ID (via the Song uniqueId), but that doesn't seem to be happening, so I'm clearly missing something.
Steps To Reproduce:
- Play song from deezer
playerctl metadata
- Note the integer value at the end of the
mpris:trackid
field does not correspond to the actual track id.
Below is the result for Evanescence - Fallen:
Via web developer tools inside of MellowPlayer:
dzPlayer.getSongId()
"80274530"
From the command line playerctl:
$ playerctl metadata
MellowPlayer3 mpris:artUrl file:///home/nrgizer/.cache/MellowPlayer/MellowPlayer3/Covers/1313620126
MellowPlayer3 mpris:length 327000000
MellowPlayer3 mpris:trackid /org/mpris/MediaPlayer2/MellowPlayer/Track/1313620126
MellowPlayer3 origin MellowPlayer
MellowPlayer3 xesam:album Fallen
MellowPlayer3 xesam:artist Evanescence
MellowPlayer3 xesam:title Whisper
MellowPlayer3 xesam:url Whisper
MellowPlayer3 xesam:userRating 0
Additional Information:
- Version: MellowPlayer3 3.6.8.0
- Affected streaming services (if any): Deezer
- Operating System: (if using GNU/Linux: specify distribution, desktop environment and whether you used the AppImage or a native package) Ubuntu 20.04.1 LTS, Regolith desktop, mellow player installed from apt.
Edited by Carl-Magnus Björkell