feat(signage): slides keep their shape on any screen, custom shapes (21:9, 16:10…), Calibrate the picture edge by edge with presets
A slide is drawn at its playlist's shape, as large as fits the screen's picture, the bands in its own background (or stretched, the screen's choice). Playlists and library slides may have a shape of their own (aspect, Alembic 0045). Signage -> Screens -> Calibrate the picture: the TV outlines its area with arrows and its size, each edge moves pixel by pixel or a preset centres a shape; the TV follows live (signage.calibrate) and reports its window (POST /screen/viewport). Plan 6R.13, F-110. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -31,5 +31,12 @@ MODULE = Module(
|
||||
ConfigField('slide', 'ref', default=None, choices_from='signage_slides'),
|
||||
ConfigField('orientation', 'enum', default='landscape', choices=('landscape', 'portrait')),
|
||||
ConfigField('rotation', 'int', default=0, choices=(0, 90, 180, 270)),
|
||||
# its picture (6R.13): a slide of another shape keeps its shape (bands) or fills the picture;
|
||||
# px cut off each edge of the TV's window (set by Signage > Screens > Calibrate)
|
||||
ConfigField('fit', 'enum', default='keep', choices=('keep', 'stretch'), group='picture'),
|
||||
ConfigField('area_left', 'int', default=0, min=0, max=4000, group='picture'),
|
||||
ConfigField('area_top', 'int', default=0, min=0, max=4000, group='picture'),
|
||||
ConfigField('area_right', 'int', default=0, min=0, max=4000, group='picture'),
|
||||
ConfigField('area_bottom', 'int', default=0, min=0, max=4000, group='picture'),
|
||||
)),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user