mirror of
https://github.com/bbara04/Purefin.git
synced 2026-07-23 19:26:50 +00:00
Add a head-only fetch path for the home rows (Suggestions, Continue Watching, Next Up, Latest per library). The first HEAD_LIMIT items are fetched first; if the head matches the cached head, the full request is skipped. Most home refreshes now only pay for the small head request, not the full payload. Replace per-library getLibraryContent calls in the home page with getLibraryItemCount (limit=0, enableTotalRecordCount=true). The home page only uses Library.size; the full movies/series lists are fetched on demand by LibraryViewModel via the new loadLibraryContent method. The per-row loaders now upsert full movie/series details into onlineMediaRepository so the home viewmodel can still resolve them.