Repository navigation
Move Live TV and quality ladder to /api/v2 - #43
Conversation
Live TV viewer calls move to /api/v2/livetv: {items} envelopes, guide
uses repeated channel_id, session start POSTs .../sessions and plays the
returned stream_url (hls_url is gone), stop is 204, problem+json errors.
A 409 capability_not_configured now hides the Live TV surface. The
quality ladder moves to /api/v2/playback/quality-ladder.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 44 minutes. View limit details
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to No actionable issue remains in the reviewed changes. The reported overlapping-refresh behavior is not reachable through the production caller. Pre-merge checks ·
|
realtimeSignalsDuringARefreshRunOneMoreRefreshAfterIt returned while the follow-up fetch was still out on the MockEngine's IO thread. It then resumed onto a reset Dispatchers.Main and failed the next runTest (LiveTvViewModelTest) with UncaughtExceptionsBeforeTest. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Moves the Android phone and TV apps' Live TV and quality-ladder calls from
/api/v1to the new server/api/v2routes (server: Prairie-Server/prairie-server#231). Context: Prairie-Server/prairie-smarttv#131.Changes
LiveTvApi:/api/v2/livetv/..., problem+json errors viasafeApiV2Call+ApiV2Gate.{items}envelopes.channel_id(was comma-separatedchannels).POST .../channels/{id}/sessions; playstream_urlexactly as returned (it stays on v1 media routes).hls_urland the channelstream_urlare dropped.DELETE .../sessions/{id}) returns 204, soreleaseSessionisApiResult<Unit>.LiveTvFeatureStore: a 409capability_not_configuredhides Live TV. Other errors still keep the previous value.PlaybackApi: the quality ladder moves to/api/v2/playback/quality-ladder.Not applicable: the app has no admin Live TV routes, no series-rules UI and no dbg beacon. The vendored apiv2 fixtures and
prairie-invariants.txtdon't pin these paths.Test checklist
🤖 Generated with Claude Code
Summary by CodeRabbit