Skip to content

bug: broken duration / position; shorts break new youtube player chromium and firefox based. #359

@LurkAndLoiter

Description

@LurkAndLoiter

Upstream bug. MPRIS and thus playerctl affected

The player I am using is librewolf and brave-beta.

New youtube player fails to trigger a new duration on media change after initializing a short. Any seeking or loop will force an update but left static even changing videos will retain the original position/duration data.

Based off this chromium code media_position.cc It appears position reset is also attached to the duration update thus I believe solving duration fixes position. I tried looking beyond that but I'm just wholly out of my element on this code base and CPP.

I saw no issues opened to chromium or firefox and quite frankly have no idea where to post this so I'm passing the buck to someone I think might know. Sorry for that inconvenience.

Overview of gif:

  1. short 00:13
  2. short 00:30 (keeps position/duration of 1st short)
  3. video 22:54 (new position keeps duration of 2nd short)
  4. video 00:09 (keeps position/duration of 2nd short)
  5. replay 00:09 (updates position/duration to current video)
  6. video 2:00:34 (keeps position/duration of replay)
    position/duration information is confirmed to align with mpris dbus values

Image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions