brave/brave-browser

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

开放

#47,772 创建于 2025年7月20日

 (2 条评论) (0 个反应) (0 位负责人)JavaScript (2,164 个派生)batch import
OS/DesktopOS/LinuxOS/Linux/archfeature/videohelp wantedpriority/P5

仓库指标

星标
 (16,194 个星标)
PR 合并指标
 (平均合并 4小时 38分钟) (30 天内合并 19 个 PR)

描述

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

贡献者指南