Skip to content

fix(playback): keep a chosen resolution under a bandwidth cap - #2703

Merged
Quick104 merged 2 commits into
Silo-Server:mainfrom
Rhainland:fix/playback-cap-keeps-resolution
Oct 21, 2026
Merged

Quick104 merged 2 commits into
Silo-Server:mainfrom
Rhainland:fix/playback-cap-keeps-resolution

Conversation

@Rhainland

@Rhainland Rhainland commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Related issue: #2643
Validation tasks: changes #1196 C1 (minor: the resolution a plain preference plays under an inherited stream limit; the limit is still enforced); reaches #1217 C1 (not yet run) when a server stream limit meets a plain resolution preference

A viewer who picks 1080p with a 3000 kbps max bitrate gets 720p. The web app's "1080p Low" choice saves exactly that pair (playback.preferred_quality = 1080p, playback.max_bitrate_kbps = 3000), and on a 15 Mbps 1080p source the planner logs target_resolution=720p target_bitrate_kbps=2000, even though the menu's own 1080p Low rung is 1080p at 3000. #2675 doesn't fix this case: it fixes Auto, where a 6000 cap played 720p, but a plain 1080p preference still compares the 1080p class bitrate (6000) with the cap and drops a class whenever the cap is lower. With this change, 1080p under a 3000 cap plays 1080p at 3000, the same encode as picking 1080p Low directly. This affects every client on the native v3 planner (web, Apple, Android).

Approach

Under a cap, a plain resolution preference (480p, 720p, 1080p, 2160p) now keeps its resolution while the cap reaches the lowest menu rung of that resolution in ladderRungsV3, and lowers only the bitrate to the cap. That is how explicit rungs such as 1080p-low already behave. If the cap is below every rung of the preferred resolution, it steps down to the tallest resolution whose lowest rung fits (1080p under 2999 plays 720p at 2000), or to 480p at the cap when none does. A source that already fits under the cap still plays as-is, and a source smaller than the preference is never upscaled.

Auto keeps #2675's rule, the tallest class whose encode bitrate fits the cap. The difference is deliberate: Auto has no requested resolution, while a viewer who picked 1080p and a bitrate has already said which one they want to give up.

No API or client change. decision_reason stays quality_bandwidth_cap with the bandwidth_cap_applied warning, and available_qualities does not depend on the cap. jellycompat doesn't use this path. docs/architecture/playback-protocol-v3.md and quality-ladder.md describe the plain-label rule next to #2675's Auto rule. active_quality names 1080p-low for 1080p under a 3000 kbps client cap, where it named 720p-medium before.

Validation

  • Table test for plain preferences under caps of 3000, 2999, 6000, 1500 and 1000, plus 2160p at 8000 and 10000, cropped 1920x800 and 1920x600 sources and a 720p source. It also checks that plain 1080p and 1080p Low plan the same encode and that a source under the cap is left alone. fix(playback): give a bitrate cap the tallest resolution it pays for #2675's Auto table passes unchanged.
  • Full Go suite, go build, go vet, gofmt, make lint-changed (0 issues), and the contract, fixture, route and local-path verify targets pass. Two Dolby Vision tests in internal/jellycompat fail locally on main too. The web checks were not run because no web file changed.
  • End to end on a local server with 1080p (15 Mbps) and 720p (5 Mbps) H.264 test files, comparing main, fix(playback): give a bitrate cap the tallest resolution it pays for #2675 alone and this branch on the same data. Each run started playback through /api/v2/playback/start and ffprobed the first 20 seconds of HLS output (results below).
  • The web player, with the profile set to 1080p and 3000 kbps, sent quality_preference=1080p bandwidth_cap_kbps=3000, received a 1920x1080 plan at 3000 kbps, and played a 1920x1080 video.

Evidence

Same request on each build, plan effective_recipe (width x height @ target bitrate). Source A is 1080p H.264 at 15275 kbps; source B is 720p at 5154 kbps.

source  quality  cap    main               #2675 alone        this PR
A       1080p    3000   1280x720 @ 2000    1280x720 @ 2000    1920x1080 @ 3000
A       1080p    2999   1280x720 @ 2000    1280x720 @ 2000    1280x720 @ 2000
A       1080p    6000   1280x720 @ 2000    1920x1080 @ 6000   1920x1080 @ 6000
A       1080p    1500   960x540 @ 1500     854x480 @ 1500     1280x720 @ 1500
A       1080p    1000   854x480 @ 1000     854x480 @ 1000     854x480 @ 1000
A       1080p    none   original file      original file      original file
A       auto     3000   1280x720 @ 2000    1280x720 @ 2000    1280x720 @ 2000
B       1080p    3000   1280x720 @ 2000    1280x720 @ 2000    1280x720 @ 2000

playback plan decided for source A, 1080p, 3000 kbps on this branch, trimmed:

outcome=plan decision_reason=quality_bandwidth_cap delivery=server_transcode_hls play_method=transcode target_resolution=1080p target_bitrate_kbps=3000 quality_preference=1080p

ffprobe of the first 10 HLS segments (20 s) for that case: main produced h264 1280x720 at 2149 kbps video, and this branch produced h264 1920x1080 at 3216 kbps video. The encoder treats the cap as -maxrate, so the measured video rate runs a few percent over the target.

Risks

A plain preference under a cap now encodes at a larger frame than before, for example 1080p instead of 720p at 3000 kbps. That costs more encoder time per stream, and the picture has fewer bits per pixel; both match what an explicit 1080p Low choice already does. Frame rate does not change the step-down under a cap, the same as for explicit rungs. A server stream limit takes the same path, and its audio share comes out of the video bitrate afterwards, so a plain 1080p preference under a 3000 server limit plays 1080p at about 2650 kbps of video with stereo AAC, the same encode as an explicit 1080p Low. That plan names no active_quality, because a plain label matches a rung only at the rung's exact bitrate; on main it was 720p at 2000 kbps, named 720p-medium.

Checklist

  • I read and can explain the complete diff.
  • This pull request addresses one concern.
  • The Evidence section shows every change a user can see, or says there is none.

AI Disclosure

Note

Fix playback v3 to keep a chosen resolution under a bandwidth cap

  • playback.ResolveQualityPolicyV3 now keeps a plain resolution preference at its requested resolution while the cap fits that resolution's lowest menu rung, lowering only the bitrate. It steps down to a lower resolution only when no rung at the requested resolution fits. Auto quality still picks the tallest class whose class bitrate fits the cap.
  • Adds the playback.capRungClassV3 helper in plan_v3.go, which scans lowest rung bitrates per resolution and falls back to the 480p bottom rung.
  • Updates tests in quality_ladder_test.go, protocol_v3_test.go, and plan_v3_active_quality_test.go, plus docs in playback-protocol-v3.md and quality-ladder.md.
  • Behavioral Change: a capped plain 1080p preference now encodes at 1080p with a capped bitrate (e.g. 1080p low rung at a 3000 kbps cap) instead of stepping down to 720p.

Macroscope summarized 67b2caf.

@silo-triage silo-triage Bot added the size/L 200–499 added + deleted lines (all files); change volume, not priority. label Oct 19, 2026
@silo-kody

silo-kody Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Silo Kody — review complete

Review finished. Check the inline comments for findings and verify each suggestion against the code and tests.

Reviewing changes in Silo
  • Include the related issue, expected behavior, and validation steps in the PR description.
  • For API changes, describe the effect on Apple and Android clients and Jellyfin compatibility.
  • For plugin changes, identify the affected SDK contract, plugin, and catalog entry.
  • Follow this repository's AGENTS.md and CONTRIBUTING.md.
  • Request another review with @kody start-review in a PR comment.
  • React with 👍 or 👎 to give feedback on individual suggestions.
Review settings
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ❌

@silo-triage silo-triage Bot added bug Something isn't working go Pull requests that update go code impact: playback Can't play, stalls, or wrong media priority: P2 Limited scope, workaround exists, or polish stacked Base is another open PR; merge in stack order named in the body labels Oct 19, 2026
@coderabbitai

coderabbitai Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Warning

Review limit reached

You'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 17 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 4 included reviews currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c6321a04-5956-4c24-bec4-3a614d51a59c
📥 Commits

Reviewing files that changed from the base of the PR and between 1e93d8e and 67b2caf.

📒 Files selected for processing: 6
  • docs/architecture/playback-protocol-v3.md
  • docs/architecture/quality-ladder.md
  • internal/playback/plan_v3.go
  • internal/playback/plan_v3_active_quality_test.go
  • internal/playback/protocol_v3_test.go
  • internal/playback/quality_ladder_test.go

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4bd90d20-983e-4745-b8c0-e39301903b52
📥 Commits

Reviewing files that changed from the base of the PR and between 365e3d4 and 1e93d8e.

📒 Files selected for processing: 5
  • docs/architecture/playback-protocol-v3.md
  • docs/architecture/quality-ladder.md
  • internal/playback/plan_v3.go
  • internal/playback/protocol_v3_test.go
  • internal/playback/quality_ladder_test.go

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.

📝 Walkthrough

Bandwidth-cap quality selection now uses separate rules for automatic quality and resolution preferences. The playback planner and its tests implement these rules, and the architecture documentation describes them.

Changes: Bandwidth cap quality selection

Layer / File(s) Summary
Automatic quality cap selection
internal/playback/plan_v3.go, internal/playback/quality_ladder_test.go, docs/architecture/playback-protocol-v3.md
Automatic quality selects the tallest ladder class whose bitrate fits the cap, without estimate-style headroom. Tests cover cap thresholds and updated expected outputs.
Resolution preference cap handling
internal/playback/plan_v3.go, internal/playback/protocol_v3_test.go, internal/playback/quality_ladder_test.go, docs/architecture/playback-protocol-v3.md, docs/architecture/quality-ladder.md
A plain resolution preference retains its resolution while its lowest menu rung fits the cap. If no rung fits, selection steps down to a lower resolution. Tests cover these cases and the capped explicit-rung expectation.

Priority: ➖ Normal

Estimated code review effort: 2 (Simple) | ~15 minutes

Change: Bug fix

Suggested reviewers: quick104

Merge Risk: 🔵 Low · up to 1e93d

Narrow, cropped videos can be transcoded at larger dimensions than the selected cap class calls for. The bitrate cap still applies, so this is a bounded issue to fix or explicitly accept before merging.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title clearly and concisely describes the primary change: preserving a selected resolution under a bandwidth cap.
Docstring Coverage Passed Docstring coverage is 81.82% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 11 functions across 3 files. (2 skipped: 2 …
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description check Passed The pull request description directly explains the bandwidth-cap behavior changes for plain resolution preferences and automatic quality, along with implementation details, validation results, risks, …
Full details: Docstring Coverage

Explanation

Docstring coverage is 81.82% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 11 functions across 3 files. (2 skipped: 2 unsupported.)

Full details: Description check

Explanation

The pull request description directly explains the bandwidth-cap behavior changes for plain resolution preferences and automatic quality, along with implementation details, validation results, risks, and documentation updates that match the changeset.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Comment thread internal/playback/plan_v3.go Outdated
Comment on lines 1702 to 1706
capHeight = capRungClassV3(streamClassV3(targetHeight, classLimit, source), capKbps)
}
if capHeight < targetHeight {
targetHeight = capHeight
classLimit = minPositiveV3(classLimit, capHeight)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kody code-review Bug medium

Resolution-cap bypass in internal/playback/plan_v3.go occurs when the selected plain-resolution class exceeds a cropped source's pixel height: a 1920x600 source above a 1500 kbps cap with preference 1080p selects capHeight 720, but 720 < 600 is false, leaving classLimit at 1080 and encoding 1920x600 instead of the required 1280x400 at the 720p class. Compare capHeight against the current stream class and update classLimit even when targetHeight is already smaller than capHeight.

if capHeight < streamClassV3(targetHeight, classLimit, source) {
				targetHeight = min(targetHeight, capHeight)
				classLimit = minPositiveV3(classLimit, capHeight)
			}
Prompt for LLM

File internal/playback/plan_v3.go:

Line 1702 to 1706:

Resolution-cap bypass in internal/playback/plan_v3.go occurs when the selected plain-resolution class exceeds a cropped source's pixel height: a 1920x600 source above a 1500 kbps cap with preference `1080p` selects capHeight 720, but `720 < 600` is false, leaving classLimit at 1080 and encoding 1920x600 instead of the required 1280x400 at the 720p class. Compare capHeight against the current stream class and update classLimit even when targetHeight is already smaller than capHeight.

Suggested Code:

if capHeight < streamClassV3(targetHeight, classLimit, source) {
				targetHeight = min(targetHeight, capHeight)
				classLimit = minPositiveV3(classLimit, capHeight)
			}

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed on 1e93d8e: a 1920x600 source with a 1080p preference under a 1500 kbps cap planned 1920x600 at 1500, wider than the 720p box. The rebase onto main in 51344a6 fixes it, because main (#2675) applies the cap's class limit even when the source is shorter than that class, and the resolved block keeps that. It now plans 1280x400. 67b2caf adds that case as a row in TestResolveQualityPolicyV3PlainResolutionKeepsItsRungUnderACap. The row fails on 1e93d8e and passes on the new head.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for confirming. The original finding was valid on 1e93d8e and is now addressed by the rebase in 51344a6: the cap’s class limit applies even when the cropped source’s height is below that class, producing 1280×400 instead of 1920×600.

The regression row in 67b2caf, failing on the old commit and passing on the new head, covers this exact case. Based on your reported results, no further code change is needed for this finding.

@macroscopeapp

macroscopeapp Bot commented Oct 19, 2026

Copy link
Copy Markdown

Major validation impact: #1196 C1 records enforcement of inherited playback-quality and stream/transcode limits on server commit 7cc2c1f2; its test note says those limits were exercised in the apps. This diff changes the selected resolution under those caps in POST /api/v2/playback/start, so the earlier result no longer demonstrates the changed behavior. Please connect the rationale in the PR to #1196 C1 and state that C1 needs human re-validation after merge. #1217 C1 remains not run, so it has no recorded result to revalidate.

Suggested line: Validation tasks: changes #1196 C1; reaches #1217 C1 (not yet run)

Automated check: Macroscope check run agent (gpt-6-luna). No validation was performed.

Posted via Macroscope — v1 validation impact

Rhainland and others added 2 commits October 21, 2026 10:57
A profile with preferred quality 1080p and a 3000 kbps cap (what the web
"1080p Low" choice saves) planned 720p at 2000 kbps on a 15 Mbps 1080p
source. The plain preference sized its bitrate at the 1080p class rate
(6000), and once that exceeded the cap it took the class the cap earns,
which is 720p, although the menu's own 1080p Low rung costs 3000.

A plain resolution now keeps its class while the cap reaches the lowest
menu rung of that resolution and lowers only the bitrate to the cap, so
1080p under a 3000 kbps cap plans the same encode as 1080p-low. Below
every rung of its resolution it steps down to the tallest resolution
whose lowest rung the cap reaches, or 480p at the cap. Auto's class
choice under a cap is unchanged.
On the branch before its rebase onto main, a 1920x600 source with a
1080p preference under a 1500 kbps cap encoded 1920x600, overflowing the
720p box the cap allows. Main's Silo-Server#2675 applies the cap's class limit even
when the source is shorter than that class, and the rebase keeps that, so
the source now encodes at 1280x400; this row guards it. The protocol
doc's 1080p Low equivalence now says it holds for a full-frame source,
since a plain label still fits a cropped source into its class's box.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@Quick104 Quick104 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review of 1e93d8e at medium effort, with a second review by another model.

Blocking: the branch conflicts with main. #2675 has merged as 749021d, and #2803 has since added TestPlanPlaybackV3NamesTheActiveQuality, which expects the old result for this case (1080p under a 3000 kbps cap named 720p-medium). I'm rebasing the last commit onto main and force-pushing it to this branch. That drops the #2675 commit, which main already has, and updates that test row to 1080p-low, the new behavior. There's no need to change it yourself.

The rebase keeps main's version of the cap block, which applies the cap's class limit even when the source is shorter than that class, and uses capRungClassV3 for plain labels on top of it. That also fixes the cropped-source case in the existing thread below.

The two inline notes below are lower severity.

if capHeight := streamLadderClassV3(capKbps, source); capHeight < targetHeight {
capHeight := capLadderClassV3(capKbps)
if quality != QualityAutoV3 {
capHeight = capRungClassV3(streamClassV3(targetHeight, classLimit, source), capKbps)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Low, maintainer decision, not fixed. Under a server stream limit, planVideoTranscodeV3 takes 5% plus the AAC share out of the cap after this class is chosen. With a 3000 kbps server limit, a plain 1080p preference and a 15 Mbps 1080p source, the plan is now 1080 lines at 2658 kbps of video. activeQualityV3 matches plain labels by exact rung bitrate, so the plan names no active quality (""). On main it was 720p at 2000 kbps, named 720p-medium. An explicit 1080p-low under the same limit already plans 1080 lines at 2658 and is named 1080p-low from the request, so the encode matches the explicit rung and only the name is lost. The Risks section covers the bitrate (it says about 2800; the measured figure with stereo AAC is 2658). An empty active_quality is a state the contract already allows. Whether to compare the post-audio budget against the rung floor here is left for the maintainers.

@Quick104
Quick104 force-pushed the fix/playback-cap-keeps-resolution branch from 1e93d8e to 67b2caf Compare October 21, 2026 15:20
@Quick104

Copy link
Copy Markdown
Contributor

Review summary (reviewed head 67b2caf)

A plain resolution preference under a bandwidth cap now keeps its resolution down to that resolution's lowest menu rung, so the web "1080p Low" preset (1080p + 3000 kbps) plays 1080p at 3000 instead of 720p at 2000. The change is right, and after the fixes below it is ready to merge once CI passes. One small open question is left for the maintainers.

Branch rewritten. #2675 merged as 749021d, so the PR's last commit was rebased onto main and force-pushed with a lease. The #2675 commit is gone from the branch, and the PR now shows two commits.

Addressed

  • Conflict with main in ResolveQualityPolicyV3 and in the tests. The resolved block keeps main's unconditional class limit and uses capRungClassV3 for plain labels. One feat(playback): name the quality rung a plan delivers #2803 row in TestPlanPlaybackV3NamesTheActiveQuality now expects 1080p-low for 1080p under a 3000 kbps cap.
  • A cropped source wider than the capped class overflowed its box on 1e93d8e (1920x600, 1080p, 1500 kbps cap → 1920x600). The rebase fixes it (→ 1280x400), and 67b2caf adds a row that fails on 1e93d8e.
  • The protocol doc's 1080p-low equivalence now holds only for a full-frame source. A plain label still fits a scope film into the class box.

Left for the maintainers

  • Under a server stream limit, plain 1080p now plays 1080 lines at about 2650 kbps after the audio share, the same encode as an explicit 1080p-low, and names no active_quality. On main it was 720p at 2000, named 720p-medium. The contract allows an empty value, and the PR body now says so.
  • Auto and plain labels now use different cap rules. Under a 4000 kbps cap a 1080p source plays 720p at 2000 on Auto and 1080p at 4000 on 1080p. The PR body explains why it's deliberate, but it's a product choice worth confirming.

Verification

  • The new and changed tests in quality_ladder_test.go, protocol_v3_test.go and plan_v3_active_quality_test.go fail on main for the reported reason (720p at 2000 where 1080p at 3000 is expected) and pass on the head.
  • go test ./internal/playback/... ./internal/apiv2/... ./internal/api/handlers/..., go vet, make lint-changed (0 issues) and make verify-local-paths pass.
  • A second model replayed thousands of class and preference combinations at the resolver level (540p, cropped and odd frames, 60 fps, unknown bitrate) and found no code regression. The rebased head was not played end to end. The author's live run predates the rebase, and the rebase changed only the cropped-source case.

Validated features. #1196 C1 (inherited stream limits) is reachable through the server-limit path and changes in a minor way: the limit is still enforced, and only the resolution a plain preference plays under it changes. #1217 C1 is reachable but hasn't been run. The PR body's Validation tasks: line now says this.

User manual. Unaffected. The manual describes stream bitrate limits but not which resolution a limit picks.

Apple / Android. Server-only. Clients render the server's plan and active_quality, so no paired change is needed.

Related PRs. #2675 is merged and already in this branch's base. #2699 doesn't overlap: its learned limits only apply to Auto through the estimate. Its open conflict in plan_v3.go is with #2675's capLadderClassV3, not with this PR.

Fit: 8/10 · Readiness: 8/10 — conditional (assuming CI is green)

  • Fit: this fixes a real core playback bug the web preset hits, inside the planner that owns it, with no new setting or API. It stretches one principle by adding a second cap rule next to Auto's.
  • Readiness: the approach and tests are sound. The rebased head hasn't been played end to end, and the server-limit naming question is still open.

@silo-triage silo-triage Bot added size/M 50–199 added + deleted lines (all files); change volume, not priority. and removed size/L 200–499 added + deleted lines (all files); change volume, not priority. labels Oct 21, 2026
@silo-kody

silo-kody Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Silo Kody — review complete

Review finished. Check the inline comments for findings and verify each suggestion against the code and tests.

Reviewing changes in Silo
  • Include the related issue, expected behavior, and validation steps in the PR description.
  • For API changes, describe the effect on Apple and Android clients and Jellyfin compatibility.
  • For plugin changes, identify the affected SDK contract, plugin, and catalog entry.
  • Follow this repository's AGENTS.md and CONTRIBUTING.md.
  • Request another review with @kody start-review in a PR comment.
  • React with 👍 or 👎 to give feedback on individual suggestions.
Review settings
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ❌

@Quick104
Quick104 merged commit c68af5f into Silo-Server:main Oct 21, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working go Pull requests that update go code impact: playback Can't play, stalls, or wrong media priority: P2 Limited scope, workaround exists, or polish size/M 50–199 added + deleted lines (all files); change volume, not priority. stacked Base is another open PR; merge in stack order named in the body

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants