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
Open a show page on its play target's season with play_season_number #462
Silo-Server/silo-server#1833 adds play_season_number to the v2 item detail (GET /api/v2/catalog/items/{id}). When play_content_id names an episode, the field holds that episode's season (0 for specials). It is absent when there is no play target or the target is not an episode, and older servers never send it.
Today a series page that opens on the episode its Play button plays has to fetch that episode to learn its season before it can request the season's episode list. With the field, the client can call GET /api/v2/catalog/series/{id}/seasons/{num}/episodes straight away.
To do:
Decode the optional play_season_number in the v2 item detail model.
When it is present, select that season and load its episodes without fetching the play target first.
When it is absent, keep the current path.
The contract is documented in docs/catalog-api.md ("Play target season") in silo-server.
Activity