-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Firefox - Random Video Skip #1
Comments
I believe I am mistaken. The bug only occurs when the browser tab/window is in the background. If you are directly viewing the tab, the bug does not occur. |
You are welcome! Thanks for your elaborate testing, the main issue is: I can't reproduce the bug on my pc.
|
Hi, thanks for the quick testing branch release. Unfortunately, the bug still occurs. Following my last message, I think it should be reproducible on stable and testing branch if you do the following:
This only occurs if you open a new tab/browser window (basically the Youtube tab/browser window is in the background). |
I have found a solution! It seems to be caused by browser throttling the webpage when it's in the background, therefore the efficiency of the script is reduced and causes unintended bugs. In Firefox, the following setting in
Source - reddit (ignore the other boolean-type settings, they don't seem to have an effect) So current stable branch is now working fine, there's no need to switch over to playback percentage tracking if we don't have to. |
Maybe that's why I don't have the problem. I use Chrome, not Firefox. |
@Fantazstic Do you happen to use the Adblock Plus extension ? |
I use uBlock Origin in Firefox. |
Pity, I hoped it was the same bug as this one: #2 |
I wanted to firstly thank you for creating this script, I can't imagine using my large (almost 600 items) music playlist without it.
I noticed that before using the script, Youtube can automatically move to next song up to a certain point (I remember similar reports of around video number 400+) which is when I started to look for and found this script to solve that issue.
It works really well for those videos where it just pauses at the end without moving to next song.
However, when viewing the first few videos (up to around 400), the script tends to trigger after/at the same time as when Youtube was already moving to next song anyway, and this results in a video being skipped. Unfortunately, it seems inconsistent as I assume it depends on network and hardware as well.
I find that it is more reproducible when you start the playlist and then open a new tab (I'm using Firefox browser on Windows 10) but it can still occur while you are directly viewing the Youtube tab.
I've tried my own edits to the script, such as waiting for the "Replay" button before pressing the next button, which works exactly as this script does, but this skipping bug still exists.
I think the solution is to find out a specific tag when Youtube is going to automatically move on to next song, which doesn't appear when the playlist abruptly stops. My limited knowledge prevents me from approaching this problem and generating solutions for it.
Another idea I tried to implement was to track any changes to the Youtube video title, but I cannot make this work well enough to overcome the bug and keep the playlist movement at the same time.
Thank you for reading my bug report and hopefully we can fix this as a community. Please let me know if you need any further information.
The text was updated successfully, but these errors were encountered: