code-charity / code-charity/youtube

🐞Shuffle doesn't shuffle forever

Open
#3,754 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug good first issue help wanted up-for-grabs
Dominant language
JavaScript
Stars
4.6k
Forks
996
Avg merge
2d 15h
Merged PRs (30d)
7

Description

Concise Description

Even with Improve Youtube's Playlist->Shuffle feature and YT's shuffle button being active, it shuffles through playlist (not "mix") only for some time, then it gets stuck in loop of 5 videos.

Browser/s

Firefox

Other Browser:

No response

'Steps to reproduce' - Which of our features is required for the bug to happen?

Steps to reproduce - just make sure shuffle is on, watch/listen/let it play for a while, and then next video picked from playlist shall be the same one it was 4 vids earlier

Since when?

At least yesterday. Possibly ealier.

Does the bug still happen when you log out of YouTube?

None

..No? Then please paste your yt.config_.EXPERIMENT_FLAGS. Twice (With the error & Without)

No response

Are any errors or related log-messages shown in the Browser-Console? (F12)

No response

Tested as the only active extension? (incognito mode or another browser users):

None

Expected preferred behavior:

No response

ImprovedTube Version

No response

Your Settings (From the Extension's -Hamburger menu > Settings > Backup & reset > Export settings)

No response

Your YouTube-Document

No response

OS / Device:

Windows 11

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in Firefox with Improve YouTube's Playlist→Shuffle feature and YouTube's shuffle button enabled, letting playback continue until the five-video loop appears. No file, test, version, settings, or console output is identified, so locate the shuffle/playback entry point and establish a repeatable test; done means extended shuffled playback no longer repeats the same five videos.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.