Skip to content

feat: Offer the Frame TV panel size as a crop preset - #82

Merged
mrtncode merged 1 commit into
mrtncode:mainfrom
SirTerrific:pr-tv-info-4k
Aug 13, 2026
Merged

feat: Offer the Frame TV panel size as a crop preset#82
mrtncode merged 1 commit into
mrtncode:mainfrom
SirTerrific:pr-tv-info-4k

Conversation

@SirTerrific

@SirTerrific SirTerrific commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Rebased on current main. Conflicts gone, and the overlap with what you merged is dropped.

You already have the device info endpoint, so this PR is now only the crop preset it came with:

'3840x2160': {'width': 3840, 'height': 2160, 'label': '3840x2160 (4K, Frame TV)'},

A Frame TV reports resolution_type: UHD, so that is the crop which fills the panel without the set rescaling the image. 1920x1080 was the closest fit before.

I dropped the content-list sampling this PR also had. It was there to look for a per-image byte size to sum into a capacity figure, and my set does not report one — no reason to carry it when your endpoint answers the useful part.

3 tests added, 67 pass.

@mrtncode mrtncode added the enhancement New feature or request label Aug 11, 2026
@mrtncode

mrtncode commented Aug 12, 2026

Copy link
Copy Markdown
Owner

@SirTerrific Hey, there are some merge conflicts (I already merged a PR that also contains a version of the get device endpoint :) )
Would be great if you could fix that!

A Frame TV reports `resolution_type: UHD`, so 3840x2160 is the crop that fills the
panel without the set rescaling the image. It was not among the presets, leaving
1920x1080 as the closest fit.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@SirTerrific SirTerrific changed the title feat: Report what a TV says about itself, and offer a 4K crop preset feat: Offer the Frame TV panel size as a crop preset Aug 12, 2026
@SirTerrific

Copy link
Copy Markdown
Contributor Author

Done — rebased on main, conflicts resolved, and the device info endpoint dropped since yours is already in. What is left is just the 4K crop preset. Details in the updated description.

@mrtncode
mrtncode merged commit 01017a4 into mrtncode:main Aug 13, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants