Repository navigation
Settings > Video & playback > Playback engine: a per-profile opt-in to the URI engine, and the URI driver's anonymous bus identity (F45) - #1279
Merged
Conversation
A new Video row in Settings > Video & playback chooses Standard (the Feed engine, the default) or TV player (the URI engine, experimental), per profile and localized in every shipped language. The opt-in is the viewer's own qualification of a URI source: the route snapshots it into ResolveEnv, OriginalRequest::uri_opt_in carries it to the worker, and ProductQualifier answers the original file as a progressive URL carrier (the dev route's construction, now shared) only for that viewer, checked against ProductEvidence::opted_in(). Everyone else still gets Unknown. Converted PMS outputs and selected subtitles stay unqualified, and a URI failure keeps the one handoff to Feed. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The descriptor-count, per-profile legacy-fallback count and garbage-fixture tables name every row; they now include uri_engine. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…s to the ACB URI backend The Playback engine opt-in is the one production route to it, for the viewer who turned it on: docs/uri-first-migration.md, docs/uri-mode.md, the player guide and three doc comments said "not routed" or "no production qualifier supplies this". Comment and prose only. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…s ours The owner read "TV player" as LG's own player screen. The opt-in keeps this app's player and its controls; only fetching and decoding move to the TV's pipeline. The Playback engine row now offers Standard and Experimental, with a copy that says the TV streams the file itself, the controls stay the same, and a failure restarts the video in Standard, in all 12 languages. The docs, module guides and the picker test that quoted the old label follow. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…uct driver The product URI driver registered on com.webos.media only as the named client com.webos.media.client.plxprobe, with no anonymous fallback: on a set that does not grant that name, Settings > Playback engine > Experimental would have failed at register. The named -> anonymous ladder existed only in the devtriggers probe. play-uri/src/register_ladder.rs is the one pure decision (decide(tried) -> Register(shape) | Settled(shape) | Failed(Refused)); the probe's next_shape_or_stop and the driver both ask it, and no copy of the rule remains. The driver treats a refused register, and a denied first Load before any media id (the probe's two ladder sites), as one refused rung: it releases the registration quietly (no notice the player sees, the authorized locator kept), registers once as the anonymous client when the release is confirmed, and a Stop, a fault or the release clears the pending retry. A refusal of both rungs is the one existing Failed(Refused) + release, which takes the one URI -> Feed handoff. Tests written first (red against the named-only driver: 4 failed, 203 passed), then green (213 passed). The app's refused-Load handoff test now spans both rungs, and a sibling pins the both-register-rungs-refused handoff. Co-Authored-By: Claude Opus 5.5 <[email protected]>
#1276) #1276 raised host-lint's timeout-minutes to 20 for its three extra check-nodef runs and asked for a re-measure; its CI run measured the job at 3 min 00 s. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…alse module-layers.md said the driver is never offered a source; player/CLAUDE.md and the install_uri_product_with_ports doc read as if the driver itself were configured with no certified capabilities (it is configured with ProductEvidence::opted_in()); webos.rs said the named shape is the developer probe's and that the ls2::uri worker tries it first (the order is play-uri's register_ladder, and the worker registers the shape it is given). Co-Authored-By: Claude Opus 5.5 <[email protected]>
…026-11-08, #1276)" This PR must not touch .github/workflows/; the host-lint timeout tidy goes with a later workflow PR. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…-play With the opt-in on, ProductQualifier answered Known for any original: it never read the video codec, the audio codec, the raster or the caps, and url_carrier certified Dolby Vision whenever the file had any, so the Dolby Vision check of ResolvePort::qualify always passed. A Profile 5 file on a set without Dolby Vision (mode Auto), which Standard sends to the server, went to com.webos.media as the original: wrong colours, or no sound for an audio codec the set cannot decode, and no failure for the handoff to Standard to act on. build_stream already decides each of those for Standard. It now carries the verdicts to the qualifier in OriginalRequest::standard (StandardDirectPlay: video_direct_plays against env.caps, the frozen Dolby Vision decision's refusal, and audio_natively_plays_with for the selected track, the set's own decoder only because the app's lossy decode is Standard's alone), and ProductQualifier answers Unknown unless all three say yes. url_carrier certifies a Dolby Vision record only where the frozen decision admitted it. The dev qualifier reads none of this, so a test run still forces its URL. Tests written first and failing against the old qualifier: five route-level cold resolves (video codec, raster, Profile 5 without Dolby Vision, an audio codec the set lacks, audio only the app decodes), each compared against the same resolve as Standard; two controls (a direct-playable original and a Profile 8 base layer are offered) passed before and after. Prose that said which videos stay in Standard (playback-settings, the player guide, the migration and layer notes, the English string note) now says it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Standard sends a container it does not stream (anything but .mkv/.mp4/.m4v, by part_is_streamable)
to a server remux into progressive MKV, but the URI offer is made before that decision and was not
gated on it, so an hevc/ac3 .avi, .mov or .ts that Standard remuxes went to the TV's pipeline as the
original.
StandardDirectPlay now carries a fourth verdict, `container`, fed from the same `streamable` value
build_stream's own gate reads, and plays() requires it. ProductQualifier still derives no rule of its
own. Test written first: the same .avi resolved as Standard and as Experimental through the production
qualifier must be one plan with one wire; it failed against the old gate ("an original Standard would
not direct-play is not offered to URI") and passes now, with an .mp4 control that is still offered.
The gate is Standard's own video, Dolby Vision, audio and container verdicts and nothing more: it is
not the server's direct-play decision, which the URI offer is made before. The prose that describes
the gate (player guide, module layers, playback settings, the migration note, the uri_preflight,
uri_offer and dev route docs) says exactly that, says that any file whose Part carries a subtitle
stream stays in Standard whether or not a subtitle is on (the plan asks for TrackChoice::Off, which the
opt-in does not certify), and that the dev route ignores Standard's video, audio and container
verdicts but not its Dolby Vision one.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
A production boot initialized ONE ACB handle, player type 10, while the URI product binding requires player type 0, so every normal boot composed the URI driver Unbound and the Settings opt-in could never play URI. On an ACB display the boot now creates one handle per backend the build composes: Feed's (player type 10, exactly as before, /tmp/plxnative-ptype still overrides it) and the URI engine's (player type 0), each created and initialized once and never destroyed. The plane owner holds both (PlaneHandle, boot_handle, HandleSeat): one binding at a time across both, a bind of one waits on the other's UNLOADED fence, and a grant makes that handle the one the seam's verbs address (plane_select / acb_select, the one new app-side C verb; no new libAcbAPI symbol). The URI gate and the product binding read the URI handle's boot facts. Boot log: one "acb handle=.. ptype=.. create=.. initialized=.." line per handle, and "uri: product binding=.. mode=.. handle=.. ptype=.. initialized=.." at composition. The product harness cases no longer pin ptype=0. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The firmware's completion callback names the core that issued the call
(its first argument is the id AcbAPI_create returned: libAcbAPI 0x15c4c binds
its handle in front of the core's five values; /Volumes/DAS/lgfw/reports/
acb-callback-id/report.md), and each core numbers its tasks from its own
counter, so with two handles the TV's callbacks showed task=1..4 on both.
acb_cb now carries the id through (acb_on_event(id, task, ev, reply),
PlaneCompletion::Done { id, .. }) and logs it (`... id=N` appended, so the
harness's `acb callback task=.. ev=..` pattern still matches). The owner names
the handle by seat id and the machine ignores, logged, a completion of any
handle but the one whose binding is current; an id that is neither seat is
ignored, logged.
Review fixes: diagnostics' acb_ok reads either handle (a uri-only build has
Feed's absent), the plane_initialized / acb_initialized / acb_create comments,
the plane owner's module doc, the product manifest notes, and a separate
refusal for `--extra-trigger ptype` in a product run.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
A PLAYBACK_BACKENDS=none build creates no ACB handle, so backends.rs's c_int (used by feed_player_type and boot_handle) was an unused import there. Co-Authored-By: Claude Opus 5.5 <[email protected]>
GLinnik21
marked this pull request as ready for review
November 9, 2026 02:46
…sts, not 1) experimental_keeps_a_container_standard_does_not_stream_in_standard told the mock PMS to stop after one request, but an .avi Standard makes three: the PlayQueue POST (asked beside the plan), the selection PUT and the transcode /decision. The mock keeps only the first connection it accepts, so the test compared whichever of POST and PUT raced in first; Standard and Experimental each won about a third of the time, and the test failed at random in both directions (left/right swapped between runs). It is not a product divergence: the full Standard wire is the same three requests whichever engine asked. The count is now 3, so the sorted, parameter-free wires compared are the complete ones. The other five parity tests were checked against the real wire (video 3, raster 3, p5 3, dts 4, app-decode 2) and their counts were right. The helper's doc now says the count is the whole wire. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Title: Settings > Video & playback > Playback engine: a per-profile opt-in to the URI engine, and the URI driver's anonymous bus identity (F45)
Summary
The URI-first series is on
main(last squash #1276), but production never selects the URI engine: the production qualifier answersUnknown, so Feed is the only backend a normal play reaches. The owner's decision (F45, 2026-11-07) is a Settings opt-in. This PR isthat opt-in, and the one fix that has to land before URI is user-selectable.
Standard (the default; this app's own demux and buffer-feed, exactly as today) and Experimental (the URI engine). Title,
explanation and both labels are translated in all 12 shipped locales (be ca de en es fr hu it nl pl pt ru; Belarusian looked up on
skarnik.by and verbum.by), and every copy passes the text-fit tests. English: "Experimental lets the TV stream the file itself. The
controls stay the same. If it fails, the video restarts in Standard. Some videos always use Standard."
UriEngine { Off, On }(defaultOff), keyuri_engine, declared exactly like its Playback neighbours(
InstantDpadSeekingis the template):setting!row +Preferencesfield +Descriptor::ofinplex/session/prefs.rs, aProfilePrefsfield, aLiveCell/LiveRowand aChoice::UriEngineinmedia/src/route/prefs.rs, one match arm inapp/preferences.rs, aPickerKindinscreens/preferences.rs(a Nav row to a pushed picker page of Choice rows; the value is therow's right-hand readout, never the sub-line).
Scope::Profile: a profile that never chose reads the frozen install key, which is thedefault. Nothing about the setting is in any telemetry or diagnostic snapshot, so no consent scope is touched.
ResolveEnv::uri_engineat the press (as it does for quality andDirect Play);
OriginalRequest::uri_opt_incarries it to the resolve worker;ProductQualifieranswers a progressive original-filesource as
Known(KnownSource::url_carrier, the dev qualifier's construction, now one shared function) only when that flag is setand Standard would direct-play that original, and
ResolvePort::qualifychecks it againstProductEvidence::opted_in()(the fourURL-carrier capabilities, each only where callable). The viewer's own opt-in is the qualification, for that profile only.
What Standard would direct-play is Standard's own verdict, carried, not re-derived.
build_streamalready decides it for Standardand now puts four verdicts on the request as
OriginalRequest::standard(StandardDirectPlay): the video against the attempt'scaps (
video_direct_plays: codec, raster bound, and the frozen Dolby Vision decision's presentation), the frozen Dolby Visiondecision itself (
frozen_dv_decision: the set's answer through the profile's setting), and the selected audio track against the set'sown decoder (
audio_natively_plays_with, which carries the table row, the Load's channel and rate limits and the direct-play mode;the app's lossy decode is Standard's alone, so it does not count), and the container (
part_is_streamable, the samestreamablevalueStandard's own gate reads: anything but .mkv/.mp4/.m4v is a server remux in Standard).
ProductQualifieranswersUnknownunless allfour say yes, and
url_carriercertifies a Dolby Vision record only where the frozen decision admitted it, so the DV check ofResolvePort::qualifycan no longer pass for a refused layering. The dev qualifier reads none of the video, audio or containerverdicts and still forces its URL; it does read the Dolby Vision one, through
url_carrier, so a Dolby Vision record the frozen decisionrefused is not forced.
Which videos stay in Standard with the opt-in on: one whose codec or size the set cannot show; a Dolby Vision file the set and the
setting refuse (a Profile 5 file on a set without Dolby Vision, with the setting on Auto: Standard has the server convert it, and the
TV's pipeline would show its IPT-PQ in the wrong colours and report no failure); one whose selected audio the set's own decoder cannot
play (also one this app would decode itself: the TV's pipeline would play it silent, again with no failure to hand off); a container
Standard has the server remux (an .avi, .mov or .ts: the pipeline would take the original whole and skip that remux); a video the
Plex server converts (remux, transcode, HLS); any file whose Part carries a subtitle stream, whether or not a subtitle is on (the plan
asks for
TrackChoice::Off, which the opt-in does not certify), and a burned or client-drawn subtitle; a trailer preview; anon-1x speed; a Relay link; and Auto quality off the LAN. What it does not change: our player screen, HUD and controls stay; only
fetching and decoding move to the TV's pipeline (
com.webos.media). Not gated, stated exactly: Experimental takes only whatStandard would direct-play for the video, Dolby Vision, audio and container; it is NOT gated on the server's own direct-play decision
(MDE), which is a round trip the URI offer is made before, so a file that clears those four checks but that the server would still
convert (its own profile limits) is carried by the opt-in. A converted offer would need a content-absolute time mapping and release
proof an opt-in cannot assert, and a wrong one would write wrong progress to the household's Plex timeline.
BackendPolicy): the video restarts in Standard, so an opted-in viewer never ends on a dead screen. The opt-in only changes what thequalification step puts in the catalog; the handoff code is untouched.
fw-compat-reviewernote on the P5 review, fixed here before URI is user-selectable). The production URI driverregistered on
com.webos.mediaonly ascom.webos.media.client.plxprobe, with no anonymous fallback; the named -> anonymous ladderexisted only in the devtriggers probe. On a set that does not grant that name, Experimental would have failed at register. Now
play-uri/src/register_ladder.rsis ONE pure decision (decide(&[Outcome]) -> Register(shape) | Settled(shape) | Failed(Refused)) thatthe probe's
next_shape_or_stopand the driver both call; nothing is copied. The driver treats a refusedregister, or a denied firstloadbefore any media id (the probe's two ladder sites), as one refused rung: it releases that registration quietly (no notice theplayer sees, the authorized locator kept), registers once as the anonymous client when the release is confirmed, and a Stop, a fault or
the release clears the pending retry. A refusal of both rungs is the one existing
Failed(Refused)+ release, which takes the oneexisting handoff to Standard. No new
extern "C",dynlib!orDT_NEEDED.register_ladder.rsjoins the pure play-uri modulesci/check-deps.shscans.Behaviour
UriEngine::default()isOff; a profile with nouri_enginerecord, a second profile on the same account and an unseated process all readOff; and withOffthe productionqualifier still answers
Unknown, so the policy catalog holds only Feed. Pinned by:plex/session/playback_options.rs::the_uri_engine_opt_in_is_off_unless_the_profile_chose_it,media/route/prefs_tests.rs::the_uri_engine_opt_in_follows_the_seated_profile_only(the profile that chose readsOn; another profile,an unseated process and a record that chose nothing read
Off),media/route/backend_policy.rs::a_viewers_opt_in_qualifies_the_uri_original_and_off_keeps_the_feed_order(Off: the URI offer staysUnknownand Feed is the only open offer; On: it isQualified, wins its tier, and the one handoff still applies),media/route/uri_preflight.rs::only_a_viewer_who_opted_in_gets_a_url_source_from_productionandthe_opt_in_still_meets_every_viewer_refusal_and_the_display_path,screens/preferences_tests.rs::the_playback_engine_row_defaults_to_standard_and_its_picker_saves_the_opt_in, and the existing app testboot_without_source_certificate_keeps_feed_offer(unqualified evidence: the Feed offer opens, no URI Load).media/route/prefs_tests.rs::a_confirmed_opt_in_is_stored_as_the_picking_profiles_own_and_no_ones_else).against the qualifier that answered
Knownfor any original (make test-crate C=plx_media T=experimental_:test result: FAILED. 2 passed; 5 failed, then, for the container,8 passed; 1 failed); each of the six is a coldbuild_streamas Standard(
UriEngine::Off) and as Experimental through the production qualifier, which must be one plan with one wire (no URI source, the sameroute, the same requests):
experimental_keeps_a_video_codec_the_caps_do_not_direct_play_in_standard,..._a_raster_beyond_the_caps_bound_in_standard,..._a_profile_5_file_on_a_set_without_dolby_vision_in_standard(the reviewed case),..._an_audio_codec_the_set_cannot_decode_in_standard,..._audio_only_the_app_decodes_in_standardand..._a_container_standard_does_not_stream_in_standard(an.avi). The three controls passed beforeand after:
experimental_offers_an_original_that_standard_direct_plays,experimental_offers_a_profile_8_file_whose_base_layer_the_frozen_decision_admits(its Dolby Vision record is certified) andexperimental_offers_an_mp4_original_that_standard_streams. Then9 passed; 0 failed. At the qualifier:uri_preflight::the_opt_in_carries_only_an_original_standard_would_direct_play,a_url_carrier_certifies_only_the_dolby_vision_the_frozen_decision_admittedanda_refused_dolby_vision_record_never_reaches_a_known_url_source; for the dev routethe_dev_qualifier_forces_the_url_whatever_standard_would_do_with_the_file.make test-crate C=plx_play_uri:test result: FAILED. 203 passed; 4 failed), then passed (213 passed; 0 failed):a_named_registration_the_hub_refuses_goes_on_as_the_anonymous_client(named refused -> before:Failed(Refused)and release; after: theanonymous client registers, loads and reaches
ReadyAwaitPlay),a_load_the_named_identity_is_denied_goes_on_as_the_anonymous_client_with_the_same_locator,a_refusal_of_both_rungs_is_the_one_failed_refused_and_a_release_and_no_third_registration(exactlyFailed(Refused),Closing,Released: the notices a single refused registration always gave, and never a third registration),a_stop_during_the_quiet_close_of_a_refused_rung_does_not_register_again,a_quiet_close_the_hub_never_confirms_quarantines_and_never_registers_again, and five unit tests ofdecideinregister_ladder.rs.A register failure on both rungs takes the existing restart-in-Standard path, not a new one: the driver emits the same
Observation::Failed(Failure::Refused)+ release the player'snote_uri_failurehas always been keyed on, and the application-levelapp/run_uri_boot_tests.rs::a_hub_that_refuses_both_register_rungs_hands_the_same_request_to_feeddrives the real driver through the realplayback tick and asserts ONE failed-start record at the Open stage, ONE handoff record naming the same source attempt, the same logical
request, the Feed resolve starting only after the exact release, and no third registration. The existing
refused_product_uri_load_recovers_the_same_request_only_after_native_release(same file) now spans both rungs (the first denied Load is quiet) andasserts the same records.
driver is offered a source only through the opt-in.
What Experimental does on webOS 4.x (from the code, not run on a device by this lane)
Binding is
Binding::Acbwhen the display is ACB-initialized; the URI bind isBindPolicy::Strict(play-uri/src/acb_drive.rs): it waits forthe previous unload's completion callback (
RELEASE_FENCE_MS2 s; 5 of 5 unloads completed in ~100 ms on the dev set,docs/measurements/acb-release-fence-2026-11-04.md) and is refused once the plane isQuarantined. So with the opt-in on: the first titleplays through URI (the only format proven on the 4.5 set is the one SDR720p24 H.264/AAC fixture); a later title plays through URI again
while each release's fence completes; when it does not, the plane stays quarantined until process exit, the next title's URI bind is
refused and that title takes the one handoff to Standard, which binds over the quarantine (
BindPolicy::Rebind). A URI session whose OWNrelease ends quarantined gets no handoff: that title ends on the failure read-out. Playing A -> A -> B on the TV is not yet proven, which is
why this is an opt-in and not the default.
Content size (non-whitespace characters of the changed paths,
origin/main-> branch)Bytes of non-whitespace (
git show <rev>:<path> | tr -d '[:space:]' | wc -c). Git reports 51 files changed (+1,471/-159 lines) across theten commits (the host-lint timeout commit and its revert cancel: the PR no longer touches
.github/). Most of the locale delta is the 12translations of four strings; the rest is the row's plumbing, its tests, the ladder, the direct-play verdict and the prose that said "no
production qualifier routes to URI".
(
rust-modules/medianow includes the route's new tests, 264 lines indecision_resolve_route_tests.rs(the nineexperimental_*tests andthe two Part-aware helpers), and the verdict struct.)
Verification
Run on the committed tree (
git status --shortempty before and after each gate):After the restack onto ACB: a second boot handle (player type 0) for the URI engine #1281 (head 732ec09, a merge of
mainat 11d4ef0):make checkrc 0, 43 libtesttest result:lines,every one
ok., none failed. The lines below are the pre-restack gates on 1230751.Head ac5e84d merges
mainat c9470f2 (Default to a version the set can decode #1245, Give play back through the startup runner after a transcode seek #1285, Admit a transcode's cold resume at the Feed start door #1286 touch the route) and fixes a race in this PR's.aviStandard-paritytest (it counted 1 of the 3 requests Standard makes, so the POST/PUT arrival order decided it; now the whole wire, 40/40 runs):
make test-crate C=plx_media:test result: ok. 1973 passed; 0 failed; 84 ignored; CI gates this head.make checkon 1230751: rc 0, "127 steps - all ok" (cargo 547 s, python 490 s, harness 490 s), harnessRan 722 tests ... OK; 43 libtesttest result:lines, every oneok., none failed (several crates run under more than one feature configuration, so the lines are per crate,never one total; the full list is
f45-fix2-check-results.txtin the lane dir). Among them:plx_play_uri213 passed (twice),plx_playback_contract40,plx_plex775,plx_screens2071,plx_media1945 (84 ignored), the application 1237 (default features) and 1421(hostsim), hostsim
plx_media2212 (84 ignored).make check-nodef: rc 0 on 1230751 forPLAYBACK_BACKENDS=both(default),uriandfeed.ARM links on 1230751,
ARM_PROFILE=release:RELEASE=1(22,766,652 B unstripped) and the dev shape (24,672,288 B unstripped), both rc 0.make check-localization: last run on 0ffc325 (Localization inventory: product text boundaries passed, rc 0); the container commitchanges no string and no locale file.
make test-hostsim C=plx_media:test result: ok. 2212 passed; 0 failed; 84 ignored; 0 measured; 0 filtered out; finished in 58.39s.make test-hostsim C=app T=uri_boot_tests(run on the ladder commit):test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 1399 filtered out; the same tests are inmake check's hostsim pass above (1421).Ladder RED -> GREEN:
make test-crate C=plx_play_uri:test result: FAILED. 203 passed; 4 failedagainst the named-only driver, thentest result: ok. 213 passed; 0 failed(203 + the 4 driver tests + 1 quiet-close test + 5decidetests).Direct-play verdict RED -> GREEN:
make test-crate C=plx_media T=experimental_:test result: FAILED. 2 passed; 5 failedagainst thequalifier that answered
Knownfor any original (the two controls pass; the five refusals each saw the URI offer where Standardsent the server requests), then
test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 2020 filtered out.Container verdict RED -> GREEN (the
.avitest and the.mp4control added):test result: FAILED. 8 passed; 1 failed; 0 ignored; 0 measured; 2020 filtered outagainst the gate without the container verdict ("an original Standard would not direct-play is not offeredto URI"), then
test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 2020 filtered outon 1230751.Plus 3 qualifier tests in
uri_preflight(the refusal table now has a container row) and 1 dev-route test(
make test-crate C=app T=uri_product:24 passed; 0 failed), all in themake checklines above.The two screens re-captured in the macOS simulator against the mock PMS (no real account): Settings > Video & playback with the new
"Playback engine" row reading Standard, and its picker with Standard checked and Experimental (
uri-optin-playback.png,uri-optin-picker.png). Both captures predate the direct-play fix, which changes no string the screens show (only the Englishtranslator note in
locales/en).doc-claim-auditoronorigin/main...e168e31bf: 3 findings plus 1 older claim, all fixed in 7357830 (docs/module-layers.md"neveroffered a source";
player/CLAUDE.mdand theinstall_uri_product_with_portsdoc on what configures the driver;platform/src/webos.rson which side owns the named-then-anonymous order). Not touched:
docs/playback-navigation.md:7("has one per-profile option") wasalready wrong before this branch. The direct-play fix changed prose in the same places, checked by
git grepof every place that sayswhich videos stay in Standard (
docs/playback-settings.md,player/CLAUDE.md,docs/module-layers.md,docs/uri-first-migration.md,uri_offer.rs,uri_preflight.rs,dev/uri_product.rs, the English string's note, andthe
plan.rscomment that called the source facts "not URI admission gates"); the auditor was not re-run on that last commit. Thecontainer commit's prose (what the gate is and is not: Standard's video, Dolby Vision, audio and container verdicts, not the server's own
decision; any file with a subtitle stream stays in Standard; the dev route ignores the video, audio and container verdicts but not the
Dolby Vision one) was swept the same way, by
git grepof each phrase, indocs/playback-settings.md,player/CLAUDE.md,docs/module-layers.md,docs/uri-first-migration.md,uri_preflight.rs,uri_offer.rsanddev/uri_product.rs.pr-revieweronorigin/main...lane/uri-optin-main(one round, before the fixes): 1 MAJOR (the qualifier offered URI any original:fixed by the direct-play verdict, 0ffc325, and its container half, 1230751), 2 MINOR (the
host-linttimeout edit made this aworkflow PR without a build-bench table: dropped from this PR, 7e012c9; fw-compat not run: run below). A second
doc-claim-auditorpass on 0ffc325 found the container gap and two prose narrowings; all fixed in 1230751.
fw-compat-revieweron the two ARM ELFs of 1230751: PASS WITH NOTES (start-up and symbol resolution only).tools/fwcompat.py --min-release 4.4.2: OK on 4.4.2, 4.10.0, 5.3.1, 6.4.0, 7.4.0, 8.3.0, 9.2.0, 10.2.0, 11.2.0 for both ELFs (exit 0);ci/check-elf.sh: all assertions passed,DT_NEEDED15 entries, unchanged, storage helper unchanged. Noextern "C",#[link],dynlib!ordlopenchanged; the anonymous rung is the existingLSRegister(NULL, ...)call production'sls2::register()alreadyships, declared that way in the 4.x NDK's
lunaservice.h; the release ELF imports the same 11LS*functions as before. Without theopt-in a release build makes no
com.webos.mediaregistration at boot or at play (ProductQualifieranswersUnknownunlessuri_opt_in && standard.plays()). Notes: (1) whether an anonymous client may callcom.webos.media/loadis hub policy, not a symbolquestion: never observed on any set (the 4.10.0 dev set grants the named client, and no probe option forces the anonymous rung), so the
ladder's rescue is unproven; if the anonymous rung is refused too, the outcome is the old one (
Failed(Refused)and the one hand-off toStandard). (2) Any Load denied before a
mediaIdclimbs the ladder, a media-side refusal included, so such a failure costs one quietclose and one anonymous retry before the hand-off; kept deliberately, because the hub's refusal text is unmeasured on other firmware
and a narrower match could miss a real identity refusal there.
TV results (dev set, webOS 4.x, debug build, panel off, muted; no real Plex account)
one ACB handle at player type 10 and the URI product binding requires player type 0, so every normal boot composed the URI driver
Unboundand the qualifier answered Unknown in silence (every earlier TV pass of the product route had booted with theptype=0trigger). ACB: a second boot handle (player type 0) for the URI engine #1281 (11d4ef0) gives the URI engine its own type-0 boot handle; this branch is restacked on it.
--guest --mock): 4 URI product cases and 4 Feed cases, 8/8 PASS (f45-123075179/).up --mock-plextv, identityversion=...-synthetic,owned=1readbefore any key), the carrier (rk 990001, h264/aac MP4, no subtitle stream):
decision: ... -> DIRECT PLAY, FeedSMP: calling Load,plane: feed handle 1 selected.Resume of the same title:
uri-acb: acb gate ... actual_ptype=0 ... initialized=true,ls2uri: register shape=named ok,plane: released task=5(Feed's handle) thenplane: uri handle 2 selected=true, the resume seek landed onseekDone,uri: presented (service playing; plane window and PLAYING completed; ...), 60 fps on the player route, everyacb callback ... id=2.ls2uri: released, the URI handle's release completed (id=2), then Feed onplane: feed handle 1 selected=true(id=1callbacks), played to the end and returned Home. Noplane: ignoredline anywhere.Then signed out with the mock stopped (the debug install's revoked marker rewritten), as it was before the run.
Evidence:
/Volumes/DAS/plx-evidence/uri-first-2026-11-04/w6-full/f45-732ec0906/.Not verified on the TV
The run above covers the first title through URI (named client), the picker on the panel in English, and Feed -> URI -> Feed in one
process. Still open, with
--guestor the mock's plex.tv and the identity line read first:com.webos.media.client.plxprobe.ls2uri: register shape=named refused ..., thenuri: register shape=named refused; retrying as anon, thenls2uri: register shape=anon okand an acceptedloadas the anonymous client.Whether an anonymous client may call
com.webos.media/loadat all is a role-file question no host test answers: the probe measured thenamed shape on the 4.5 set; the anonymous shape has no device log yet. If it is denied there too, the title must take the one handoff to
Standard and play.
resume, the audio pick and the Up Next hand-off on URI, then a second and a third title in one process (G2, A -> A -> B), the release
fence completing each time, and the quarantine -> handoff -> Standard sequence when it does not. (A file whose Part lists a subtitle
stream stays in Standard, so these need subtitle-free files.)
the route's
known_position/viewer_paused; the device decides whether the picture and sound come back).locale's copy fitting in LG's text rasterization is unchecked.
set with no DTS decoder and an
.avieach play in Standard (the server converts or remuxes them) with Experimental selected; the hosttests pin the plan, the TV decides the picture and sound.
--fpsrun onthe home and a Standard play, against the mock.
Related: #1064
🤖 Generated with Claude Code