Files
iptvnator/libs
4grayandClaude Fable 5 fa97aa1add fix(portals): keep lazy Stalker VOD series on the VOD route
`extractStalkerItemType()` reports `series` for embedded `series[]`
snapshots and lazy Ministra VOD `is_series` items, but both belong in the
VOD catalog. Passing that type straight through sent "View in portal" to
`/stalker/.../series/...`, where `StalkerCatalogFacadeService.selectItem()`
gates the lazy season/episode fetch on the VOD content type — so the
detail opened unable to load its episodes.

Mirror `StalkerCollectionDetailComponent.resolveDetailMode()` to pick the
section from the raw Stalker shape, and `resolveSelectedCategory()` to
normalize the virtual `series` category to `vod`. Three regression tests
cover both shapes plus the virtual category; each fails on the previous
behavior.

Also document the collection handoff in CLAUDE.md, which previously
described `View in portal` as download-manager-only.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-12 17:13:10 +02:00
..