Skip to content

[BUG] Cannot switch media player from Firefox to Spotify #1351

@Ahmed-Rajab1

Description

@Ahmed-Rajab1

Step 1. Before you submit

  • I have read the above instructions and am sure that this is supposed to be posted here.
  • I've successfully updated to the latest versions following the updating guide.
  • I've successfully updated the system packages to the latest.
  • I've ticked the checkboxes without reading their contents

Step 2. Version info

Packages:
caelestia-shell 1.5.1-1
caelestia-cli 1.0.6-1
caelestia-meta r183.cf94e7f-1

Caelestia:
Last commit: 9584f0b44fcbe23e9c036a8949c9f1b4fa579716
Commit message: hypr: allow sleep bind when locked

Shell:
caelestia-shell 1.5.1, revision 5f3c54ed55c1cc48b99b8baed20dfbe1a6740e41, distributed by: AUR (package: caelestia-shell)

Quickshell:
Quickshell 0.2.1 (revision 08058326f04e9b5e55c903b3702405a8d3556ac6, distributed by AUR (package: quickshell-git))

Step 3. Describe the issue

Description
When playing media in Firefox (e.g., YouTube), Caelestia detects Firefox as the active media player. However, when I start playback in Spotify and try to switch to it, nothing happens—the UI remains stuck on Firefox.

Steps to reproduce

Open Firefox and play a video (e.g., YouTube)
Open Spotify and start playing music
Try to switch the media player in Caelestia

Expected behavior
Caelestia should switch to Spotify as the active media player.

Actual behavior
The active player remains Firefox.
The only workaround is to fully close Firefox, after which Spotify is detected correctly.

Additional notes

This seems related to MPRIS handling (Firefox instance remains registered?)
Errors related to org.mpris.MediaPlayer2.firefox appear in logs

Logs Here is some logs maybe relevant in somehow:

WARN quickshell.dbus.properties: Error updating property org.mpris.MediaPlayer2.firefox... QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name is not activatable")

Image

Reminder

  • I agree that it's usually impossible for others to help me without my logs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions