[VideoBuzz] Custom "What to Watch" Beta! Give it a shot, and let me know what you think... (With caveats)
This is BETA functionality!!! Feedback is welcomed!
I've created a basic implementation for the "What to Watch" functionality, but this comes with some caveats:
- Building the list can be slow!
- I have to make a query to YouTube for each of your subscriptions' videos.. But there are ways to speed this up!
- Right now, to limit how many requests I'm making to YouTube, and to speed up the processing, I'm using the "Unread Count" value that YouTube includes in their response. If a subscription doesn't have any "unread" videos, then I don't query that subscription for videos. (More on this later)
- Also, the list of videos will be cached (in memory) and won't be re-built except in these cases:
- You restart the channel
- It has been longer than 30 minutes since the last time the list was built from scratch
#Current limitations:
- Limited to the "first" 50 subscriptions that YouTube returns - this will match the list of subscriptions in the "My subscriptions" page, as the query is the same.
- I only include videos from the past two days when building the overall list.
- I limit the total number of videos to 50, this is arbitrary, but I have to bound it somewhere since this is all stored in memory.
###About the "Unread Count"
For Reference
This number next to your subscriptions on the YouTube webpage is the "Unread Count" I'm using in my code. In order to zero this number, and effectively remove it from my algorithm, just click on the subscription to visit the subscription's channel.
I know this can be tedious, but if you have 50 subscriptions, querying every one of them to determine what's new would probably take around a minute, when if you keep your unwatched counts to a minimum, the process will be a lot faster.
I expect people to have issues with this, but please bear with me. I think this is still a better solution than manually browsing your subscriptions!
###Issue/suggestion reporting for this feature
Please report all issues/suggestions for this feature in this post, and not on GitHub.
###Download:
https://github.com/Protuhj/myvideobuzz/blob/custom_whats_new/myvideobuzz.zip
Posted May 15, 2014, 4:55 AM UTC
I like it! It doesn't take very long to load at all on my end, but that may be because I very recently went and cleaned out my subscriptions and went from 200+ down to just 46. (Most of them were dead channels of a bygone era for YouTube.)