feat: surface availability, airing progress and the director in preview
Movies get a theatre/stream/blu-ray icon in the info row, series get the latest aired episode as S03 E07. Both reveal the relevant dates on hover or tap through a shared Hint tooltip. Release dates ride along on the details request via append_to_response and the series fields are already in the tv payload, so neither indicator costs an extra call. Theatre state is only claimed while the run can still be current, otherwise a classic with no digital entry would read as in cinemas. The credits carousel now opens with the director, read from the crew array that the credits response already carries. A series has no single director, so the one behind most episodes stands in. Drop with_cast from the starring query: TMDB ANDs it with with_people, so every director link would have resolved to an empty list. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
a25252c66d
commit
6fc41c0901
11 files changed
+310
-10
No files matched your search
@@ -15,7 +15,7 @@ const popularQuery = ({ sortBy = 'popularity.desc', starring }: PopularQueryProp
|
||||
params: {
|
||||
page: pageParam,
|
||||
sort_by: sortBy,
|
||||
with_cast: starring,
|
||||
// with_people covers cast and crew, with_cast on top of it would AND directors away
|
||||
with_people: starring,
|
||||
'vote_count.gte': 300,
|
||||
'vote_average.lte': 10,
|
||||
|
||||
Reference in new issue
Block a user