Status Update
Comments
sn...@gmail.com <sn...@gmail.com> #2
Similar issue:
va...@google.com <va...@google.com> #3
go...@google.com <go...@google.com> #4
Steps to reproduce
================
1. Launched Chrome
2. Opened a website that plays music
3. Verified that it sets an album in the global navigator object (navigator.mediaSession.metadata.album is not empty).
4. Download a media-session-dump.zip file from the given link - "
5. Observed - while executing commands from readme.txt in CMD prompt, it shows an error msg
Attached screencast for reference
Reporter@: Could you please review the attached reference and let us know if anything being missed here.
Please provide us with expected and actual screencast results for better understanding of the issue.
**Note: Requesting you to copy-paste the entire content of chrome://version details to a .txt file format and attach it.
Thanks..!!
sn...@gmail.com <sn...@gmail.com> #5
With step 3 you need to open a "Developer Command Prompt for VS 2022", as per README. You get this if you have Visual Studio 2022 installed, with the components for C++ development. My local Visual Studio installation looks like the following:
- Downloaded from:
https://visualstudio.microsoft.com/de/downloads/ - Installed:
- Visual Studio Build Tools 2022
- Visual Studio Community 2022
- Workloads for "Visual Studio Build Tools 2022" (selectable under "Modify" > "Workloads")
- Desktop & Mobile: Desktop development with C++ (install)
- Workloads for "Visual Studio Community 2022" (selectable under "Modify" > "Workloads")
- Desktop & Mobile: .NET desktop development (likely not necessary)
- Desktop & Mobile: Desktop development with C++ (install)
- Linux and embedded development with C++ (likely not necessary)
After installation search for "developer command prompt for VS 2022" in your Start Menu and open it, then try the commands again. I have attached a screenshot of my output, a copy of it in txt format and the output of chrome://version in txt format.
pe...@google.com <pe...@google.com> #6
Thank you for providing more feedback. Adding the requester to the CC list.
go...@google.com <go...@google.com> #7
Steps to reproduce
================
1. Launched Chrome
2. Opened a website that plays music
3. Verified that it sets an album in the global navigator object (navigator.mediaSession.metadata.album is not empty).
4. Download a media-session-dump.zip file from the given link - "
5. Followed the steps mentioned in ReadMe.txt file
6. Observed - album name is empty.
Attached screencast for reference
Reporter@: Could you please review the attached reference and let us know if anything being missed here.
Could we consider point 6 as a bad behaviour and issue you are pointing to?, otherwise please provide us with expected and actual results screencast for better understanding of the issue.
Thanks..!!
sn...@gmail.com <sn...@gmail.com> #8
Looks good, nothing was missed. Point 6 is the bad behaviour I intended to report. The expected result would be contents of "navigator.mediaSession.metadata.album": "Face Value" in my example, "Pushpa The Rise Part - 01 (Hindi)" in your second screencast. Chromium should report the album name to the operating system, so that other applications can not only see title and artist, but also the album name, if the web page reports it.
The original reason for creating this issue is that the desktop application for "TIDAL" (a music streaming service), which is built on Electron and consequently Chromium, does not report any album information to the operating system, even though their application reports it to the browser window. I have reported this issue first with TIDAL here:
I have run msd.exe while playing music with the Amazon Music desktop application and the Deezer desktop application, which I presume are built on Electron/Chromium as well, and they too do not report any album information, the album title is just empty ("<empty>" in the output). You can try this yourself. Download TIDAL, Amazon Music or Deezer and play some music while you're running msd.exe. You will see that no album title is reported by the application.
Fixing this issue would result in those media players that are built on Electron/Chromium to be able to report the album title to Windows and make it available for other applications to query/read this information (like my example code/msd.exe does).
Edit: I do not have Spotify Premium, but Spotify might be affected by this too, if it is built on Chromium too and relies on Chromium to forward media information to the desktop. Unfortunately Spotify Premium is required for Spotify to report song information to the Windows desktop. Spotify Free does not report anything (not even title or artist), so be aware of that if you test msd.exe with Spotify. If someone could test msd.exe with Spotify Premium and post the results, that might be insightful (presuming that Spotify uses Chromium under the hood too, which isn't too unlikely, I reckon).
pe...@google.com <pe...@google.com> #9
Thank you for providing more feedback. Adding the requester to the CC list.
vd...@google.com <vd...@google.com> #10
Observed album name is empty
Note: Unable to provide the Mac and Linux behaviour due to Desktop & Mobile: Desktop development with C++ option not available while installing
Reproducible On:
---------------------------
128.0.6569.0 - Canary
128.0.6559.0 - Dev
127.0.6533.26 - Beta
126.0.6478.127 - Stable
Attaching screenshot for reference
The same issue seems to be reproducible from M-116 older versions, hence considering it as Non-Regression and marking it as untriaged.
Thanks..!!
i3...@gmail.com <i3...@gmail.com> #11
I'm working on making an application to display MediaSession info on an external piece of display hardware.
I encountered this while using YouTube Music on Chrome version 128.0.6613.113. It seems that most of the info is set to default values (empty string, empty array, or 0) with the exception of artist, playback_type, thumbnail, and title.
{'album_artist': '',
'album_title': '',
'album_track_count': 0,
'artist': 'Black Country, New Road',
'genres': [],
'playback_type': <MediaPlaybackType.MUSIC: 1>,
'subtitle': '',
'thumbnail': <_winsdk_Windows_Storage_Streams.IRandomAccessStreamReference object at 0x0000022AA18484B0>,
'title': 'Snow Globes',
'track_number': 0}
Description
Steps to reproduce the problem
Problem Description
Chromium does not report the album title to the Windows system.
Summary
MediaSession API does not report the album to the Windows system
Additional Data
Category: UI
Chrome Channel: Beta
Regression: N/A