brave/brave-browser

Brave Browser holds MPRIS/playerctl hostage whenever no media is playing.

Open

#47,772 建立於 2025年7月20日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)JavaScript (16,194 star) (2,164 fork)batch import
OS/DesktopOS/LinuxOS/Linux/archfeature/videohelp wantedpriority/P5

描述

Description

After playing any sort of media through Brave, its session with MPRIS will never close, leaving it as a "stopped" but active player that never goes away, effectively hijacking playerctl and whatnot by preventing media controls from being passed through to other players (such as Spotify).

Steps to reproduce

  1. Open Brave Browser
  2. Have two or more tabs open
  3. Play any videos/media
  4. Close the tab playing said media, leaving other tabs open

Actual result

As long as Brave Browser continues to be open, until the browser is fully and completely closed, it will hold MPRIS/playerctl hostage and prevent any other player from receiving media controls (play/pause, skip, etc)

Expected result

Brave Browser should no longer be an active player, and thus shouldn't be appearing in playerctl, as there is no media to be played, nor is there anything to be controlled.

Reproduces how often

Easily reproduced

Brave version (brave://version info)

1.80.122 Chromium: 138.0.7204.157 (Official Build) (64-bit)

Channel information

  • release (stable)
  • beta
  • nightly

Reproducibility

  • with Brave Shields disabled
  • with Brave Rewards disabled
  • in the latest version of Chrome

Miscellaneous information

In order to view active players, use the following command: playerctl --list-all

貢獻者指南

Brave Browser holds MPRIS/playerctl hostage whenever no media is playing. · brave/brave-browser#47772 | Good First Issue