Skip to content

Fix Media Session metadata and hardware media controls#91

Open
HanshalBobate wants to merge 1 commit into
truelockmc:mainfrom
HanshalBobate:fix/media-session
Open

Fix Media Session metadata and hardware media controls#91
HanshalBobate wants to merge 1 commit into
truelockmc:mainfrom
HanshalBobate:fix/media-session

Conversation

@HanshalBobate
Copy link
Copy Markdown

Fix hardware media controls integration

Problem

Playback from StreamBert was not properly integrated with operating system media controls.

Windows media flyout, Bluetooth earbuds, keyboard media keys, and FluentFlyout could not control playback correctly.

Changes

  • Added Media Session API integration
  • Added play/pause action handlers
  • Synced playback state with OS media controls
  • Enabled hardware media key handling in Electron

Result

Hardware media controls now properly interact with StreamBert playback.

Working integrations include:

  • Windows 11 media flyout
  • Bluetooth earbuds/headsets
  • Keyboard media keys
  • FluentFlyout media controls

Playback state now synchronizes correctly between StreamBert and the operating system.

Tested

  • Windows 11 media flyout
  • FluentFlyout
  • Bluetooth earbuds
  • Keyboard media keys
  • Episode switching/autoplay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant