Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remembering Playback Position and Watch History #138

Open
joseio opened this issue Sep 5, 2023 · 2 comments · May be fixed by #236
Open

Remembering Playback Position and Watch History #138

joseio opened this issue Sep 5, 2023 · 2 comments · May be fixed by #236
Labels
enhancement New feature or request

Comments

@joseio
Copy link

joseio commented Sep 5, 2023

It would be beautiful if the app could cache a list of the 10 (arbitrary number) most recently watched videos along with their corresponding playback positions.

Currently, users need to manually search for the video they were previously watching, then scrub to the approximate position that they left off at. This becomes a bit of a hindrance, especially in longer-form videos that cannot be watched in one sitting.

@iBicha iBicha added the enhancement New feature or request label Sep 6, 2023
@iBicha
Copy link
Owner

iBicha commented Sep 6, 2023

This is a great idea. The watch history itself can be done using Invidious's watch history (right now if you're logged in and watch a video, it gets added to the Invidious watch history).

I think we could add a Continue watching section with recently watched, but unfinished videos. We can save this information locally on Roku.

This does turn into a problem where the Continue watching becomes a graveyard of videos you started but you did not find interesting. Some perhaps an expiry date to these videos can be useful (they go away after X days of not continue watching them) and an easy way to remove videos from the list would also need to be put in place

@joseio
Copy link
Author

joseio commented Sep 6, 2023

Right! One thing to consider with the expiration date approach is that the cache size would be bounded by the number of videos a user can watch (and not necessarily finish) within a certain expiration date. This can be acceptable if we're not really concerned with a bloated cache. If memory is of much concern, though, perhaps a watch history list with a fixed length may be appropriate. Spitballing here, but perhaps the watch history list length may be configurable in settings (i.e., save only the 5, 10, 20 most recently watched videos).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants