Bug 450465

Summary: No media info on Tidal Web player
Product: [Plasma] plasma-browser-integration Reporter: Nagy Tamás <tbondvagyok>
Component: FirefoxAssignee: Kai Uwe Broulik <kde>
Status: ASSIGNED ---    
Severity: minor CC: tbondvagyok
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: No info about currently played track on Tidal
Example of the working YT metadata detection
Tidal correctly reports the metadata info

Description Nagy Tamás 2022-02-17 15:22:38 UTC
Created attachment 146871 [details]
No info about currently played track on Tidal

SUMMARY
The Plasma Browser Integration no longer shows some metadata (played track/album/artist name, and album art) about the currently played track on Tidal Web. Pausing/resuming, seeking, changing tracks work.
I think an update from the Tidal broke it. Other sites like YT shows these information.
Tried with a new Firefox profile, but the problem persist.

I also checked the DBUS with the Qt DBus viewer and I see that it also lacks the information, so I guess the problem is on the browser extension side, reading it from Tidal. (also YT works and displays these data)

STEPS TO REPRODUCE
1. Set up PBI.
2. Listen to a song on Tidal Web Player ( https://listen.tidal.com/ )
3. Check the Plasma Media Player Controls (1.0) applet, only says: Tidal, Tidal, Tidal

OBSERVED RESULT
No album art. The track, artist and album name are all: Tidal

EXPECTED RESULT
The correct album art is shown, with the proper track, album and artist name.

SOFTWARE/OS VERSIONS
Linux: Arch Linux (2022.02.17) Kernel: 5.16.9-arch1-1 (x64)
KDE Plasma Version:  5.24.1
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2
Platform: X11
Comment 1 Nagy Tamás 2022-02-17 15:23:28 UTC
Created attachment 146872 [details]
Example of the working YT metadata detection
Comment 2 Nagy Tamás 2022-02-17 15:38:53 UTC
Created attachment 146875 [details]
Tidal correctly reports the metadata info

I dig around this bug a bit more and found:

According to the web specs: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/mediaSession
Tidal sets the metadata information correctly into the `navigator.mediaSession.metadata`.

So maybe it is a PBI bug really?
Comment 3 Nagy Tamás 2022-02-17 15:41:08 UTC
Maybe related to: https://invent.kde.org/plasma/plasma-browser-integration/-/merge_requests/22
Comment 4 Bug Janitor Service 2022-02-17 19:31:02 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-browser-integration/-/merge_requests/66