The owned-item extras and preview detail payloads were already cached (30-min TTL); person_detail, tmdb_season, and trending were not — so person pages and lazy preview seasons re-hit TMDB each view. Now cached too (trending 1h). Library ownership is re-annotated fresh on each call so 'In Library' badges stay current while the expensive TMDB fetch is reused. Tests for person + season caching. |
||
|---|---|---|
| .. | ||
| enrichment | ||
| __init__.py | ||
| scanner.py | ||
| sources.py | ||