handmade.network » Forums » Site Feedback » [request] Mark episodes as watched
linike860
Nicholas Baldwin
2 posts
#14249 [request] Mark episodes as watched
4 months, 1 week ago Edited by Nicholas Baldwin on Feb. 11, 2018, 8:42 p.m. Reason: Initial post

Sorry if this request is too specific to the Handmade Hero project but I couldn't find a better place to post.

I had started watching Handmade Hero a little over a year ago and started from the beginning, occasionally jumping ahead to topics of interest, but mostly watching in order. I then took a long break and hadn't watched any videos for quite a while, and when I came back I had to spend a bunch of time figuring out which episodes I hadn't watched and where I had got up to. I think it would be really helpful if there was some method of marking an episode as watched.
OliverMarsh
Oliver
62 posts
2 projects

A budding game developer and programmer

#14250 [request] Mark episodes as watched
4 months, 1 week ago

Yes I thought this as well. Just a check box would be great.
Miblo
Matt Mascarenhas
123 posts
2 projects

Annotator, supper gatherer and slammer of thunderous high fives

#14252 [request] Mark episodes as watched
4 months, 1 week ago

Yeah, this would be great. It's a while since I last (vaguely) thought about it, but I'm fairly sure I figured that handling this kind of thing - essentially, viewer-personalised info - would be outside the scope of Cinera and depend on the infrastructure (member database) of its host site. However, perhaps for this one I could just use a cookie? I haven't learnt how to use them yet, but assume they could be used to track this kind of information...

Either way, it's now on the TODO list!
mmozeiko
Mārtiņš Možeiko
1693 posts
1 project
#14253 [request] Mark episodes as watched
4 months, 1 week ago

Not sure how this works, but on other sites when I watch youtube embedded videos they all show up in history of my YouTube account (if I have been logged in when I was watching it).

Not sure why this doesn't happen with YT videos here. Maybe different way how they are embedded?
linike860
Nicholas Baldwin
2 posts
#14255 [request] Mark episodes as watched
4 months, 1 week ago

Hm, I don't think a cookie would quite cut it since they will occasionally get cleared and don't persist across devices. Especially when a main use case is when someone comes back after a long time it seems highly likely that the cookies won't cut it. I agree that this probably wouldn't be something that Cinera would be able to manage alone. I don't know how the member database is set up and how (or even if) it communicates with Cinera, but that would likely be the best place to put this sort of info.
Kelimion
Jeroen van Rijn
255 posts
3 projects

A big ball of Wibbly-Wobbly, Timey-Wimey _stuff_

#14256 [request] Mark episodes as watched
4 months, 1 week ago

Cinera outputs a bunch of static HTML pages which we then integrate into the site template.
It would take some doing to integrate it more deeply than this to the point where we can track episodes as if they were forum threads. I'm not saying we don't do it, but it's a bit of a low priority at this point in time.

I'll talk it over with Miblo to see if he can add something to make this deeper integration a bit easier.
Miblo
Matt Mascarenhas
123 posts
2 projects

Annotator, supper gatherer and slammer of thunderous high fives

#14257 [request] Mark episodes as watched
4 months, 1 week ago

Oh interesting, @mmozeiko, I'll look into getting them tracked in the YouTube history as a partial solution. (I didn't realise this kind of thing happened, probably because I tend to use mpv to watch embedded videos, which I believe has the side-effect of sending no data to YouTube, and also rarely check out my YouTube viewing history anyway!)

Yeah, agreed to ditch the cookie idea, @linike860. Setting up a line of communication between the host site and Cinera to let them access and modify each other's databases (think REST API, except it needn't be networked, so maybe via a Unix socket or something) seems to me the way I'd like to try and do this. Each "Network Edition-capable" host site - i.e. one that has a member base - would merely need to define whatever operations we'd need to operate on their member database, whatever db format they use, and put these definitions in their Cinera config.

And yep, @Kelimion, I also appreciate that this, as a new feature, is a low priority in HMN's current phase of development.
Miblo
Matt Mascarenhas
123 posts
2 projects

Annotator, supper gatherer and slammer of thunderous high fives

#14258 [request] Mark episodes as watched
4 months, 1 week ago

Alright, thanks to @AsafG's suggestion in IRC, I think we have a workable single-device solution:

https://hero.handmade.network/episode/code
https://riscy.handmade.network/episode/riscy

It uses CSS's :visited pseudo-class to alter the ticks' colour.

I'll still investigate @mmozeiko's YouTube history idea for the multiple-device partial solution.
Manuzor
Manuel Maier
5 posts

None

#15389 [request] Mark episodes as watched
3 weeks, 6 days ago

Just wanted to pitch in real quick and say that I also like the idea of having it remember what I watched, cross-device.

None