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

Videos duplicating #148

Closed Taepvo closed 9 years ago

Taepvo commented 9 years ago

I know you're in the middle of a bunch of new commits, but at the moment if I refresh at all, it seems to be storing all old videos and re-adding them as duplicates.

So there were entries named "Video 1", "Video 2", "Video 3" Refreshed page -> clicked "Let's Go" and chose account Now it's "Video 1", "Video 1", "Video 2", "Video 2", "Video 3", "Video 3" Refreshed page -> clicked "Let's Go" and chose account Now it's "Video 1", "Video 1", "Video 1", "Video 2", "Video 2", "Video 2", "Video 3", "Video 3", "Video 3"

I have two 'accounts' under my gmail, one is my actual in-use old youtube account and the other is my completely unused google plus account, when I click "Lets Go" from the start page it pops up a box asking which to use, every time.

Strangely not every single video is duplicating. Some of the entries seem to be immune to this. Also, the first time I loaded the page I clicked a video. It went ghost as per usual ("watched" button is green so they don't disappear) but it's two duplicates aren't ghosted. Every single video that has duplicated at the moment has 3 total, none are just twice.

I guess every time the page loads it's saving what it finds to an index without checking if the yt url is already listed, but keeping tabs on which #'s in the index have been clicked. (as opposed to which urls have been clicked)

daviddeutsch commented 9 years ago

Sorry, those are all artifacts of the refactoring. See #147