-
-
Notifications
You must be signed in to change notification settings - Fork 559
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
(content categorization /filtering by keywords (regex), starting with:) permanent speed-up "speed-watching" #1760
Comments
hi! so it has not been a week? |
I only started noticing it since resetting my browser, which I did 3 days ago. I then did some testing to be sure it wasn't just a music category thing, set Force even with music. Thought about it yesterday and posted about it today. It could very well have been around for longer than that. Sorry for not noticing #1750 feel free to merge, delete, or close this ticket. 😄 |
thanks, can you tell if the moments or the videos had anything in common, or check again? ( i guess you already tried v4.335 and it is not exactly only after starting your browser ( like #1750 ) and you didnt enable
|
I hadn't tried 4.335, I was on version 4.323. The speed discrepancy was when I opened new videos in separate tabs, no closing or opening new browser sessions needed. I'll grab the one from the git repo now and compile a indepth list of videos and get back to you, if I find anything. |
wonderful! sent v4.337 to the stores (pending approval) (5th time in 2 weeks) |
|
This video played at elevated speed despite clearly having "song" in the title. https://www.youtube.com/watch?v=AH29SKJ_urg (Hazbin Hotel | Happy Day In Hell Full Song | Prime Video) Not sure what's tripping this video to play at normal speed, it's not a song/music video, forcing playback of music jumps it. https://www.youtube.com/watch?v=GfQYj15LKCA (Discord's Halloween Event, Free Nitro, and More!) Both checked against the latest version on git, 4.358. |
Thank you! |
...you can watch keywords: https://chrome.google.com/webstore/detail/youtube-tags/fffiogeaioiinfekkflcfebaoiohkkgp |
Instead of maintaining a list on the back end, and hoping it works for everything, what if we were to allow the user to add their own custom list that we can provide a general pre-populated list of suggestions for. |
yes, can / could. Also you can start with a link from the feature to this post & 1000s of people will review it.
Also excited to see, if at our current approach, you soon wont find any more examples music words:
|
Not quite sure why but this video: https://www.youtube.com/watch?v=hTSTjzJZBWk (Windows 11 Major Annual Update 2023 - Biggest Changes (23H2)) Is triggering a false positive for the music slowdown on build 4001 |
works here. might been the issue i mentioned?, that, when you click another video on youtube, then the <meta ..>-data we process might be the same one again as for your the previous video. also since the YouTube update a few days ago uninstalls multiplied #1809 so we might research this first. (Venryx has experience with the Youtube DOM, so hopefully he will find some time) |
I put together a short 2min video showing/testing the slow down to normal. I normally have non-music videos playing at 2x. it doesn't appear to be related to session carryover. |
...ups sorry! we show in the Browser console: "category: Science & Technology//title: Windows 11 Major Annual Update 2023 - Biggest Changes (23H2)//keywords: windows 11, windows 23h2, windows major update, windows update, windows new features, windows latest features, windows feature update//music word match: true// not music word match:false//duration: PT5M51S//song duration type: common" it was matching (fixed) |
https://www.youtube.com/watch?v=LlNFuWw0hgA (Now on Stacked: Digimon Tamers Abridged Episode 01!!) Is being incorrectly attributed to the music speed slowdown (pulled from 4.401 version on github) |
https://www.youtube.com/watch?v=BNQvbEXcgN8 (The Future of Classic... Classic+ & Cataclysm Confirmed!) Is being incorrectly attributed to the music speed slowdown, as well. (pulled from 4.401 version on github) |
", digimon theme song" saw issues with theme song tags coming.
|
Yeah, at some point we're just gonna have to make a reasonable cutoff point - or scrap the feature all together as edge cases will always creep their way in. An idea I had was to only officially support channels that have the "official artist" badge. For example: https://www.youtube.com/@justinbieber, whos music isn't caught by the filter. Perhaps with a checkbox inside the player or a checkbox beside the users channel name. https://www.youtube.com/watch?v=fRh_vgS2dFE (Justin Bieber - Sorry (PURPOSE : The Movement)) at some point it's just gonna be too much. Another Idea I was toying around with is to be able to whitelist channels for speed. So instead of us doing all the edge cases we let the user decide to speed up or slow down channels on a personal basis. |
hi @Eyevou its a nice puzzle / challenge though and not yet challenging😎. Interested as long as you find any. (Or as long as more than 1 in 10000). While the keywords are individual per category the logical and JS can be similar for more categories / features. Say we could test it against a natural random sample of millions: But S% should be much smaller while the purpose is speed & less than a quarter of YouTube might be music.
|
yes! will be happy to see that Pull-Request. You might like to check the labels added. (A true set & forget feature is better than another button.) I have this project- & service-perspective. So is already an achievement if we make something better by 1 pixel automatically for everyone. (That's why the structure label also exists #1445)
Is the artist badge musicians only?
More examples? This is matched through |
From what I can tell, yes. makes direct reference to Music Videos, songs, and bands under their criteria and eligibility.
Oops, yeah - you're right. It took a moment but did load correctly. |
https://www.youtube.com/watch?v=Y9EKzvTo3g0 (CLASSIC - WOW - 𝓓𝓐𝓝𝓒𝓘𝓝) It had a song appended to its description (youtube identified) but I figure it doesn't have any of the metadata we look for. |
thanks! @Eyevou Yes, however it should be noticed as of: youtube/js&css/web-accessible/www.youtube.com/player.js Lines 129 to 141 in adf7c62
|
changed indeed. (also used here: let musicSectionLength = document.querySelector('div#items[class*="music-section"]')?.children?.length;)
|
updated: 40f651d
|
Seems to be a false positive on: https://www.youtube.com/watch?v=Y1EHRKrPHMQ (Food Substitutes To Try This Thanksgiving | SciShow Compilation) using: 4.408 (just pulled from repo) |
hi @Eyevou! 100d1b3 missing parenthesis let the "over-length identifier" words like album & compilation skip the other conditions. (because logical AND's are generally handled with a higher precedence than logical OR's) Do you know if every link (or autoplay) from one video to the next one, wont update the <meta> info's or is there an exception? (We can call the html source in that case (~800kb) (or another API), for such smart / data features (yet will be precise since 800kb still takes ~ 0.13s at the current average global internet speed and < 0.03s for most of our users - not sure how many people use our low video quality options). |
I've been thinking about some stuff related to this feature and I think it would be a better overall experience to always assume +speed and check for category, tags, title, ect. after it loads. (Reverse of how it currently works) With the way I currently use it: I'd rather a video slow down than a video speed up. False-positives seem to be quite rare. If anyone else has feedback on this it would be much appreciated! |
hi @Eyevou! not sure i understood. Do you want to match music more agressively? Or not start with speed, while finding out |
Sorry if I didn't explain it very well. I'm suggesting that all videos start with your custom speed, music checks are run, then if it matches the "is music" criteria to change the value down to 1x. A throttle down for playing music seems preferable to waiting for the checks. Currently if you have "(Force playback speed even for music?)" as OFF, the extension assumes 1x, waits for load, checks, then sets as defined. If "(Force playback speed even for music?)" is ON the speed problems do not happen. Is the current functionality unintended/bugged? Is it because of the previous-playback-check/tab bug? On a personal note: I'm heavily considering jumping back into Javascript to work on this more directly. It's obvious I'm extremely invested in it. |
hi! @Eyevou btw, did it work well/better for you these weeks?
ah, right, and you answered on the previous. speed up was happening early after a quick test and rarely set twice revised/slowed down if youtube showed music in the description late.
yay! i should've read/reacted earlier. Was wondering if i'm just bothering with documenting code. |
I checked a few days ago but didn't see much improvement, there was also a bug preventing videos from playing - that seems resolved tho. Checked today flipping to slowdown from speed up is working but seems to take slightly longer to get going (6s up from 3s). I spoke with a friend who is quite knowledgeable on regex, ect. and they seem to think that regex is calculating too much too quickly and looping - which might be making the whole process take longer than it actually needs. Overall, it's a better User Experience. Still some pain points tho. |
I just had a video auto slow down when unfocused several minutes in - not sure what that was all about "music" list in the description, perhaps?: |
hi @Eyevou!
can you tell which situations or specific videos changed?
makes sense x). as the page might only fully loads when active might have to adjust.
|
I normally have playback speed set to 2x and have recently, within the past two days, started seeing the addon not always set the value. I went into settings and checked (force even for music) and it's now setting correctly. The playback speed was not being applied to NORMAL videos that had nothing to do with the Music category.
Turning the (force even for music) setting on fixed the playback speed for all normal videos. Seems like something isn't checking correctly.
also: #1776
The text was updated successfully, but these errors were encountered: