feat: probe Jellyfin player-owned channel playback #358
Closed
timothy
wants to merge 4 commits from
feat/357-player-owned-playback into main
pull from: feat/357-player-owned-playback
merge into: :main
:main
:renovate/dotnet-monorepo
:renovate/meziantou.analyzer-3.x
:renovate/lucene.net
:renovate/sqlitepclraw.bundle_e_sqlite3-3.x
:renovate/cliwrap-3.x
:913-scripted-playout-401
:release/v26.15.0-notes
:issue-806-guard-populations
:scratch/767b-poisoned
:scratch/767b-control
:release/v26.14.0-notes
:release/v26.14.0
:docs/510-skill-logo-bug-policy
:fix/510-watermark-resolution-policy
:fix/629-verdict-classifier-falseopens
:fix/609-decisions-edit-token-scope
:issue-135-clear-to-none
:release/v26.12.0-notes
:fix/409b-lastscan-api-parity
:fix/401-updatechannel-mirror-422
:fix/327-playlist-rename-validation
:fix/410-scancancel-log-level
:fix/409-447-librariesscreen-neverscanned
:fix/338-zap-exit-code
:fix/367-plex-budget-message
:fix/310-debom-legacy-cs
:ci/604-lane-rebalance
:feat/388-design-mirror
:feat/247-test-ownership
:feat/247-primary-action
:feat/357-player-owned-playback
:feat/357-jellyfin-plugin-poc
:fix/289-mcp-hardening
:issue58-mcp
:feat/244-channels-extract
:ci/auto-bump-prod-compose
:feat/multi-rerun-collections-api
:feat/collections-api
:feat/quick-wins
:feat/185-docs-part2
:feat/140-collections-screen
:feat/146-channel-edit
:feat/147-classic-ui-link
:issue22-renovate-dashboard
:feat/91-cutover
:feat/63-composite-create
:feat/65-library-browse
:feat/85-epg
:feat/86-schedule-editor
:feat/109-dashboard-data
:feat/99-session-tracking
:fix/dockerfile-node-tag
:feat/59-spa-foundation
:docs/59-ui-redesign-brief
:feat/102-json-guide
:feat/111-schedule-durations
:feat/104-artwork-upload
:feat/103-media-sources-api
:feat/playouts-read-api
:feat/108-health-api
:feat/105-picker-list-endpoints
:issue-97-channel-state-api
:issue42-jellyfin-musicvideos
:issue46-rest-api-error-contract
:dependabot/nuget/ErsatzTV.FFmpeg.Tests/multi-d307a2e06f
:qsv-improvements
:hdr-vulkan-cuda-test
No Reviewers
Labels
Clear labels
ad-hoc
api
bug
ci-cd
content
dependencies
enhancement
frontend
in-progress
jellyfin
parked
priority: high
priority: low
priority: medium
review
security
One-off / ad-hoc work not tracked by a dedicated issue
REST API / HTTP endpoints
Something isn't working
Build, test, deploy pipeline
Channel content / schedules / playlists
Dependency updates (Renovate)
New feature or improvement
ChicoryTV React SPA frontend
Claimed by an active session — do not pick up
Jellyfin tuner / IPTV integration
Excluded from automatic queue pickup; work only when explicitly selected
Adversarial review finding
Security / vulnerability fix
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: timothy/ersatztv#358
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
GET /api/v1/channels/{id}/playback-sourceseam that resolves the physical scheduled item, filler, offset, mirrors, and next transition;ILiveTvServiceprobe that imports ChicoryTV guide data and returns Jellyfin's native library media sources;Live verdict
The narrow seam works: Jellyfin imported 43 channels, selected the scheduled Jellyfin item, and owned direct/transcode negotiation. A forced HLS request launched exactly one Jellyfin FFmpeg process and no ErsatzTV FFmpeg process. Live TV playback kept the virtual channel as the session item, so the backing episode remained absent from Resume/Continue Watching and unplayed; no history-suppression toggle is needed for this path.
The replacement architecture does not work on stock Jellyfin 12.0-rc2:
The current M3U/XMLTV continuous stream remains the supported path. The plugin is an isolated-lab feasibility artifact and is inert unless the unsafe acknowledgement is explicitly enabled.
Scope deliberately stopped
Kodi implementation/tuning, a second boundary, finite-file EOF, long A/V stability, and visual comparison were not run because the required architecture had already failed initial position and its first clean boundary. These gates remain open under #357's original scope; this PR uses
Refs #357and must not close the issue.Verification
dotnet restore,dotnet build, anddotnet test ErsatzTV.slnpassed;npm run check:api,npm run lint,npm run typecheck,npm test -- --run, and production web build passed;dotnet format --verify-no-changesandgit diff --checkpassed (the whole-solution formatter also reports unrelated pre-existing baseline violations in untouched files);97397906e3771baa68355248b3a6bf8f4d4733d0.Refs #357
Review-verdict: MERGEABLE @
97397906e3Cold exact-head review of the complete committed diff reported no findings. This verdict covers the isolated feasibility artifact and documented no-go; it does not claim that #357's original Kodi/transition gate is complete.
Pull request closed