Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MPRIS reports the playlist name as the album name #505

Open
ungive opened this issue Nov 27, 2024 · 0 comments
Open

MPRIS reports the playlist name as the album name #505

ungive opened this issue Nov 27, 2024 · 0 comments

Comments

@ungive
Copy link

ungive commented Nov 27, 2024

grafik
grafik

$ playerctl -p tidal-hifi metadata
tidal-hifi xesam:title               When The World Stopped Moving
tidal-hifi xesam:artist              Lizzy McAlpine
tidal-hifi xesam:album               Guitar Songs

$ playerctl -p chromium metadata
chromium xesam:album               When The World Stopped Moving: The Live EP
chromium xesam:artist              Lizzy McAlpine
chromium xesam:title               When The World Stopped Moving

Shows "Guitar Songs" (the playlist name) instead of "When The World Stopped Moving: The Live EP" (the album name). As you can see with the second command, the underlying chromium instance reports the correct value, so it should be possible to report the correct value with MPRIS too.

Steps to reproduce:

  • Open tidal-hifi
  • Right click on a playlist on the left
  • Click "Play now" or similar
  • Observe the incorrect metadata

It seems opening the playlist or album makes it report the correct album name (I assume you scrape it from the HTML page). On the webpage you should have access to the MediaSession API to get access to the album name that is reported by Chromium/Electron: https://developer.mozilla.org/en-US/docs/Web/API/Media_Session_API

Tested with v5.17.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant