deezer-linux
deezer-linux copied to clipboard
Album in track metadata is empty
I try to get metadata with playerctl, there is song title and artist, but album stays empty.
playerctl metadata
chromium xesam:album
chromium xesam:artist Some Artist
chromium xesam:title Some Title
As I have seen it is processed here in renderer.js:
track = {
title:
song.SNG_TITLE ||
song.LIVESTREAM_TITLE ||
song.EPISODE_TITLE ||
"",
artist:
song.ART_NAME ||
song.LIVESTREAM_TITLE ||
song.SHOW_NAME ||
"",
album: song.ALB_TITLE,
coverUrl: defaultCover,
},
Any idea how to solve? Note that I have compiled from source, but I don't have experience in js or node.
Thank you for the report!
Unfortunately I don't have much control over MPRIS, but I may find something by playing around with this part of the code :)
Hello!
Maybe this patchh can help you: https://github.com/daltroaugusto/deezer-void/blob/master/patches/0001-MPRIS-interface.patch This way we should also get an working album art!
Hello!
Maybe this patchh can help you: https://github.com/daltroaugusto/deezer-void/blob/master/patches/0001-MPRIS-interface.patch This way we should also get an working album art!
Thank you very much! However this patch does not work anymore, as if I understood correctly Deezer got ride of the mpris library and I can't use this anymore... However I will see if I can copy some of its behaviour :)
That's infeasible on my end... I really don't understand anything of the player itself (because it is all a blob compressed and minified js mess), and the electron server part does not seem to have access to the MPRIS part anymore.
Honestly, we will need some kind of "official" support before this could be done, imho...