daviddeutsch / yt-sanegrid

YouTube abandoned the subscription grid view. This has made a lot of people very angry and been widely regarded as a bad move.
http://daviddeutsch.github.io/yt-sanegrid/
GNU General Public License v3.0
37 stars 10 forks source link

Sometimes getting 2 day old videos in the front? #79

Closed ghost closed 10 years ago

ghost commented 10 years ago

I sometimes get 1-5 old videos in the top of my feed.

image

daviddeutsch commented 10 years ago

Yeah, have the same problem. Something is bunked up about my sorting. I'm on it.

ezfe commented 10 years ago

Whoops, sorry about the duplicate.

daviddeutsch commented 10 years ago

No problem :wink:

MegaScience commented 10 years ago

This sounds like it's related to the issue I reported. As I said there, whenever I first load up the website when opening my browser, it will show me around 10-16 videos from 2 months ago. It seems like there are a bunch of videos trapped in the cache which can't clear out. I can fix this by doing Ctrl+F5 to force refresh, but this always happens on first load. I actually cleared my Firefox cache with CCleaner, but this is not the main cache... And I always forget where scripts and such cache their content.

Point being, old videos near the top sounds like that.

daviddeutsch commented 10 years ago

Yeah, just couldn't reproduce this until now. Refresh does indeed seem to fix it. Will find a solution.

g-rocket commented 10 years ago

What appears to be happening, to be more precise, is that when I reload the page it will show exactly as many old (should be at the bottom) videos as there are new (since the last reload) videos. Maybe videos that move off the bottom of the page show up at the top instead of disappearing?
At least, this is what happens in google chrome on mac, linux, and ios, and on safari on ios. On firefox on linux there usually seem to be less or no old videos showing up (it sometimes shows old videos, but not usually). did not test it on other browsers/os's

Pumpkins10 commented 10 years ago

just got pointed here, is there no easy way to just order the videos chronologically based on time values? I have little to no coding skills, so I couldn't say how complicated it would be, but it's a simple concept.

to add on to g-rockets comment, in Windows 8 this happens consistently in Firefox, currently seems to be working fine in chrome, and Internet explorer won't actually run, let alone open the webpage. I would fix it, but it's really not worth the hassle. The problem hasn't occurred in Chrome or Firefox for Android 4.4.2. but this I now believe to be because no new videos have been uploaded to cause the old videos to wrap back to the top.

daviddeutsch commented 10 years ago

It occurs for me as well, so I have a pretty good test case :wink:

In general, though, I have to redo the way the video list is generated and sorted. That will be part of the V1.0 overhaul that I have planned for early next month.

jtokoph commented 10 years ago

This looks like it could be an issue with angular rendering the template. I put some breakpoints in the code that returns the array of videos and it seems to return in the proper order.

daviddeutsch commented 10 years ago

Yeah, I'm pretty sure it's something of that sort. I was still learning angular while I wrote most of the script... I expect a lot of facepalming when I get back to fixing things.

daviddeutsch commented 10 years ago

Fixed now, with the new sorting.