Skip to content

[INTERNAL] CurrentSession_OnPlaybackStateChanged called twice for every play and pause for lot of media applications #675

@nopeless

Description

@nopeless

For some reason, Some media fires every playback event change twice for some events, and I am not sure why. I do think the codebase needs to be changed to accomodate this, however

Image

Example: Open up a YouTube video in Chrome (other videos work too)

Read ouput

FluentFlyout Version

dev build, disabled resume media option

Windows Version

Windows 11 25H2, x64

List of behaviors (constantly updated)

  • MusicBee: Play x1, Pause x1
  • Chrome: Play x2, Pause x2
  • Firefox, Firefox Webapp: Play x2-3, Pause x1-2
  • Media Player (worst offender): Play x2~, Pause x2~ (sends new state on hovering the buttons???)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions