Closed Bug 1767412 Opened 2 years ago Closed 2 years ago

MediaSession incorrectly maps album

Categories

(Core :: Audio/Video, defect)

Firefox 99
defect

Tracking

()

VERIFIED FIXED
102 Branch
Tracking Status
firefox102 --- verified

People

(Reporter: twihno, Assigned: padenot)

References

Details

Attachments

(5 files)

Attached image Windows Media Overlay

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:99.0) Gecko/20100101 Firefox/99.0

Steps to reproduce:

OS: Windows 11 build 22000.613

Open any website which uses a MediaSession including information for the album, e.g. spotify web (not youtube; the album information on youtube is an empty string)

Spotify MediaSession information:

MediaMetadata { title: "Symmetry", artist: "Klangkarussell", album: "Netzwerk", artwork: (3) […] }
​
album: "Netzwerk"
​
artist: "Klangkarussell"
​
artwork: Array(3) [ {…}, {…}, {…} ]
​
title: "Symmetry"
​
<prototype>: MediaMetadataPrototype { title: Getter & Setter, artist: Getter & Setter, album: Getter & Setter, … }

Firefox dev 100.0b9 shows the same behavior.

Actual results:

The Windows media overlay displays the album title instead of the artist (see screenshot)

Expected results:

The overlay should show the artist

It works perfectly fine in Edge 101.0.1210.32
Media Session metadata:

MediaMetadata {title: 'Symmetry', artist: 'Klangkarussell', album: 'Netzwerk', artwork: Array(3)}
album: "Netzwerk"
artist: "Klangkarussell"
artwork: (3) [{…}, {…}, {…}]
title: "Symmetry"
[[Prototype]]: MediaMetadata

The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Audio/Video
Product: Firefox → Core
Assignee: nobody → padenot
Status: UNCONFIRMED → NEW
Ever confirmed: true

The Album Artist field when talking about musical metadata is the
artist under which a particular release is classified under. Artist is
the people that are on a specific track, including thing like featurings, etc.

Here we only want to set Artist (the most generic item). Album Artist
overrides artist, and has nothing to do with the album name.

Windows doesn't have an API or a location in the UI to display the album
name.

Pushed by padenot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e78b9797781b Don't set the AlbumArtist property on IMusicDisplayProperties. r=chunmin
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
QA Whiteboard: [qa-102b-p2]

I managed to reproduce this issue on Firefox 99.0 on Windows 11 using the Spotify webplayer. Verified as fixed on Firefox 102.0b5(20220607212916) and Nightly 103.0a1(20220608214824).

Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-102b-p2]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: