Add skip intro / next episode at credits, via Emby's own detection #4
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/intro-credits-skip"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Chaptersfield is just auto-generated placeholders. What the server does have natively: a per-libraryEnableMarkerDetectionoption (now enabled for both TV libraries) backed by a built-in "Detect Episode Intros" task, confirmed via the server's own/openapi.jsonto add realIntroStart/IntroEnd/CreditsStartmarkers into that sameChaptersarray.GET /api/catalog/item/:id/markers(mirrorsgetPlaybackOptions) reads just those three marker types.#bottomBarso it stays reachable through the bar's auto-hide, host-only and cast-aware for free since it reuses the existingactiveDriver/seek path.#nextBtn("Épisode suivant") rather than duplicating it - the only gap closed is un-minimizing the bar once so it's actually visible when credits start.Test plan
npm run typecheck/npm test/npm run buildon both projects (125/125 server tests, 3 new forgetPlaybackMarkers)getBoundingClientRectagainst the real compiled CSS) at two viewport sizes - clear of#bottomBar, no overlap🤖 Generated with Claude Code