You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(downloads): save poster and series artwork with downloads for offline display #431
Android never downloads artwork for a download. Download rows load the catalog's signed poster URL through Coil, so offline they show an image only if that exact URL is still in the disk cache. Signed URLs change over time, so offline rows usually show only the ThumbHash. Episodes queued one at a time also have no thumbhash stored.
Read artwork_urls and the poster and series-poster thumbhashes from the v2 offline manifest that OfflineTrackAssetFetcher already fetches.
Download poster (the movie poster or episode still), plus series_poster when the manifest lists it, through /api/v2/downloads/{id}/artwork/{kind} with the managed-download auth. Save them to download-assets/…/<fileId>/artwork, alongside the offline track capture in DownloadWorker. A failed artwork fetch doesn't fail the download.
Store the local paths and the series-poster thumbhash on the sidecar and on DownloadEntity (Room 13 → 14, additive).
Show the saved series poster, or else the item's own poster, in the 2:3 tiles, with the thumbhash as placeholder. Make ThumbhashImage keep the placeholder when a load fails.
Only downloads made after this change get artwork. Existing downloads keep their placeholders until they are downloaded again.
Verify
Download a movie and a season, go offline, and check that the Downloads rows show real posters. Deleting a download removes its artwork folder.
Activity
feat(downloads): save poster and series artwork with downloads for of…