Closed Bug 1806967 Opened 2 years ago Closed 2 years ago

[MPRIS/MediaSession Integration] Cannot seek or get position of tracks in Firefox using MPRIS on Linux

Categories

(Firefox :: Untriaged, enhancement)

Firefox 108
enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1659199

People

(Reporter: kidgamers45, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:108.0) Gecko/20100101 Firefox/108.0

Steps to reproduce:

With playerctl installed in any Linux distribution that supports MPRIS

  1. Open Firefox and play any sort of media (I played a Youtube video and a Spotify song in my tests)
  2. Run "playerctl position" (Playerctl is a command line program that can be installed from most distribution software repositories which can control MPRIS-enabled media players such as Firefox)
  3. Run "playerctl position 5+"
  4. Run "busctl --user introspect org.mpris.MediaPlayer2.firefox."Your Instance Number" /org/mpris/MediaPlayer2"

Actual results:

For 2 and 3, both of them return "No player could handle this command."

For 4, it returns a list of the properties of the MediaPlayer2 service in which the org.mpris.MediaPlayer2.Player interface has null values for the property .Position and a false value for the property .CanSeek. This indicates that Firefox currently doesn't support these features.

Expected results:

  1. Should return the position of the current track in seconds
  2. Should seek forward 5 seconds in the current track
  3. The .Position property should be populated with the position in the track and the .CanSeek property should be set to true instead of false
Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1659199
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.