YePpHa / YouTubeCenter

YouTube Center is a userscript designed to expand the functionality of YouTube. It includes the ability to download the video you're watching, auto selecting your preferred video quality and much more.
MIT License
2.89k stars 520 forks source link

Old videos reappear on subscriptions feed despite being marked as watched #1568

Open Bukkithead opened 9 years ago

Bukkithead commented 9 years ago

Recently, videos that I know I have watched a few days ago start appearing again on my subscriptions feed. The strange thing is, they are still marked as 'watched' by YouTube center, yet are not being hidden like most of the other videos. This is shown clearly in the attached screenshot, with many videos from 3+ days ago reappearing.

screenshot 03_17_2015-14_22_17

Bukkithead commented 9 years ago

Additionally, I am well aware that I am using a custom userstyle for YouTube, but I would like to clarify that disabling this makes absolutely zero difference to this issue.

Yonezpt commented 9 years ago

Try the latest developer version if you aren't using it already, you can download it from here: https://github.com/YePpHa/YouTubeCenter/wiki/Developer-Version

Bukkithead commented 9 years ago

Thanks, but unfortunately that makes no difference at all to the issue.

Yonezpt commented 9 years ago

The subscription grid remains the same with the latest dev version or are you refering to the watched videos problem?

Bukkithead commented 9 years ago

I'm not sure I understand what you mean, but updating to the latest version didn't seem to make any noticeable difference to anything, the feed or the issue I have highlighted.

Tester798 commented 9 years ago

I have the same problem. Watched videos become unwatched for me. Numbers on the left under "SUBSCRIPTIONS" which show unwatched videos don't disappear after I navigate to Videos on the channel for some channels (as I was before, started few days ago). Watched videos got resetted for me regularly. Not sure if it's related to YTC or if it's YouTube related.

Yonezpt commented 9 years ago

@Tester798 In that case disable YTC and check wether the issue still persists. If it does then it is not related to YTC.

Tester798 commented 9 years ago

@Yonezpt Thanks for your answer! Seems like the issue with counters under "SUBSCRIPTIONS" is indeed caused by YouTube. But the issue with regular reset watched videos is caused by YTC I believe (because it's YTC's own feature). Few days I got videos grayed out properly with "WATCHED" text on them. But then after few days they got reset. Maybe it's caused by extension autoupdating process? But seems like most settings are preserved, so I'm not sure about this.

Yonezpt commented 9 years ago

@Tester798 The watched videos getting unmarked has been often related to YouTube, but YTC does have a feature to remember independently so it shouldn't be affecting if I remember it correctly.

Tester798 commented 9 years ago

@Yonezpt Yes, I have that setting checked in YTC options, but after some time watched videos got reset for me, don't know why. Will try to look at the debug log next time I notice it.

Tester798 commented 9 years ago

Got this again: in log I see video id "3stkrKtf2Ms" in "watchedVideos" and "watchedVideosIndicator" is true, but no badge on the video thumbnail. "bug" label is for confirmed bugs, right? Tell me if you need more information from my side.

Yonezpt commented 9 years ago

@Tester798 Your issue is not the same as the one reported in this thread. This thread is related to watched videos not hiding while yours is related to watched videos being unmarked as watched. It would be best to post on a new thread specific to that issue or in an already existing thread related to the same.

leonklingele commented 9 years ago

@YePpHa Why not remove watched videos like this:

    var videos = document.querySelectorAll(".feed-item-container");
    [].forEach.call(videos, function(video) {
        var watched = video.querySelector(".watched");
        if (watched) {
            video.parentNode.remove(video);
        }
    });

Works perfectly for me.

Niddi commented 9 years ago

My watched videos also don't hide anymore. This started at the same time as #1670, so about 3 weeks ago. I've tried reinstalling the (developer version) userscript, deleting all my Google and Youtube cookies, cleaning the video history and using the addon-version of YTC, but nothing works. The videos are still being marked as watched but they don't auto-hide anymore.

Niddi commented 9 years ago

I was able to solve the problem for me. I had to check "UI > Video Thumbnail > Enable Rating Count". If I disable it, my watched videos will not autohide anymore.

Bukkithead commented 9 years ago

That seems to work for me too, thank you!

Niddi commented 9 years ago

Update: Autohide only works partially. It seems that YTC can only hide ~ 11 - 16 videos. As new videos keep coming in and are being hidden, older videos appear once again (just as the OP described).