Skip to content

[Bug] the display of sponsorblock's segments on the progress bar is not actualized when changing video #2397

@voltarinou

Description

@voltarinou

Checklist

  • I make sure that the issue is NOT a duplicate of pinned issues
  • I make sure I am using the LATEST version - check here
  • I understand that issues with limited impact, such as those occurring on specific devices or under specific network conditions, will not be fixed
  • I have attached the error report in the issue

Describe the bug

when there is multiple videos in the queue, the sponsorblock segments displayed on the progress bar are not actualized when going from one video of the queue to another. so for example if the first video last 10 minutes and has a sponsor segment from 00:00 to 1:30, then the first 15% of the progress bar will be shown as a sponsor segment for every video of the queue, regardless of what the sponsorblock segments of these videos really are and even if the video has no sponsorblock segments.

the problem appears whether you change video by waiting for the current one to finish, pushing the previous/next button, or selecting a video from the queue menu.
the only ways to show the segments of the current video on the progress bar is to reset the player (like switching from main to background and then to main again), to create a new segment, or to press the "clear new segments" button (even if there was no new segment to clear).

the bug is only visual since the sponsor segments are correctly skipped despite what is shown on the progress bar.

Version

5.1.1

Frequency

Always (100% of the time)

Device

Lenovo Tab K11 plus

Steps to reproduce the bug

  1. play a video with a sponsorblock segment
  2. immediately enqueue a second video with sponsorblock segments different from the first video
  3. press the button to play the next video

Additional context

for exemple here is queue with two videos (https://www.youtube.com/watch?v=AaMdXZMvT3w and https://www.youtube.com/watch?v=V1bFr2SWP1I)

Image

the sponsorblock segments of the first video look like this

Image

when the second video starts playing the progress bar still displays the segments of the first video

Image

when the progress bar should look like this

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions