jellyfin-android
jellyfin-android copied to clipboard
Auto Download
A setting to automatically download some suggested media when you're connected to WiFi. This could include the next n episodes of a show you're currently watching and or the output of a basic recommendation algorithm (for movies or shows or both).
I'll expand a bit on this, to sketch some user flows and/or steps to get this done for a persistent discussion location.
Next Up
Download everything shown in the "Next Up" section.
Goal
This always provides something to watch locally and is somewhat easy to implement
Implementation
- Auto-run a task periodically/on connect/on added event
- Add local database that maps elements (by id/SeriesId + Episode) to downloaded files
- Scrape the Next Up elements and check which are missing Optionally
- Remove local files not in Next Up anymore (or with watched flag)
Next filtered
Similar to Next Up
but provide a way to filter shows.
Goal
Avoids downloading unnecessary files. E.g. when I know that I won't watch a show on a mobile device.
Implementation
- Add a (local?) settings store about which shows to download
- Add a UI to fill this
- Use this filter on decisions which files to provide local
Next N Episodes
Provide the next episodes of every show. E.g. by number or time.
Goal
Allows to have a larger buffer of the shows I want to watch. E.g. for 2h train commute it makes sense to download more than a 20min episode of shows when available.
Implementation
Probably makes most sense with both Next Up
and the filter implemented
- Add some more settings and UI to control feature
- Don't just look at the
Next Up
section, but check which shows have unwatched episodes - Download the next episodes until threshold is met
General considerations
- The feature should have a maximum of local storage taken in GB
- For now we can't use anything in the app sandbox offline, so the download target will be the common download dir
- Downloads should not use metered connections. Potentially with distinct settings form manual downloads
- Next evolution would be a way to list and watch episodes from App offline and track (with delayed upload) the watched flag
In general, I think the best auto download situation would be for liked content as it would be the easiest one to manage.
It would be a nice way to keep my phone up to date with my jellyfin music client locally while also allow preferring to load the "local" versions of songs when they're available.
Auto-downloading "next-up" (especially the next episode in a series) would be very beneficial.