Add full library import and request missing metadata (0.19.0)
pauljd/davidson-ci: Davidson CI / quality (push) Failing after 1m54s
pauljd/davidson-ci: Davidson CI / ai-review (push) Successful in 54s

The box test showed year, rating, date and original title empty because
requests never asked for them. Asks for them now, restarts the test
import so no rows lack them, and adds an import-everything option paced
for a library of about 132,000 titles. Fits the coverage table on screen.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-11-01 18:53:32 +00:00
co-authored by Claude Opus 5.5
parent 5f3d757fc8
commit a4724841f7
14 changed files with 86 additions and 32 deletions
+6 -2
View File
@@ -50,7 +50,7 @@ Documentary versus scripted, and traditional versus CGI, need explicit values in
## Library scale
The 0.17 check on Paul's account reported 98,441 films, 34,102 series and 1,053,298 episodes on 1 November 2026. At 200 titles a page, films and series take about 663 requests. Episodes would take over 5,000, which is why they aren't imported up front. The design has to hold at that size:
The checks on Paul's account reported 98,441 films, 34,103 series and 1,053,303 episodes on 1 November 2026. At 200 titles a page, films and series take about 663 requests. Episodes would take over 5,000, which is why they aren't imported up front. The design has to hold at that size:
- **Storage:** an indexed on-device database, not the saved setup file. Android's built-in SQLite needs no new dependency.
- **Import:** paged in the background, resumable, throttled, and stopped by a rate-limit reply. Films and series first.
@@ -60,7 +60,11 @@ The 0.17 check on Paul's account reported 98,441 films, 34,102 series and 1,053,
- **Review screens:** show a short ranked list, with paging for the rest.
- **Playback checks:** only for titles going onto a channel, never for the whole library.
Real record sizes, box storage and provider limits still need measuring before these numbers are final.
Measured so far: 1,000 titles in 11 seconds with no provider errors over 4,000 titles, about 266 bytes per title, so about 35 MB in total, with 21 GB free on the box. A full run has not been tried yet.
## What the metadata supports
Early samples show genres and external IDs on nearly every film and series (3,998 and 3,997 of the first 4,000 imported), so stable-ID identification and genre matching look reliable. Studios and cast are usable but not complete, and episodes carry little of their own, so they should inherit from their series. Year, rating, date, original title and tags still need the 0.19 run, because earlier requests didn't ask for them. The first 4,000 titles and 20-item samples are not a full picture.
## Recommendation engine design