- New updateServerModuleSettings.php: saves the Embed Video Encoder
settings window (frame size, port, quality, time stamp / label / logo)
with range checks. Other module types get a clear "not supported".
- Settings window: Save button shown when the content provides
saveSettings(); the Time Stamp, Label and Logo tabs and the show
checkboxes are enabled again.
- Positions are pixel number fields (negative = from right / bottom edge,
as la_mojo uses them); font scale / thickness are number fields; line
type offers OpenCV values (normal 8, thin 4, antialiased 16, old 0/1
shown as 8/4). Hints explain positions and that the time stamp is only
drawn when the label is off.
- New uploadAsset.php: logo upload converts any GD-readable picture to an
RGBA PNG data/assets/images/<md5>.png and stores logo_md5; the preview
shows the current logo and the first upload proposes a size.
- doModuleOperation.php removal: real module type ids (2 Kafka, 6 SSDP,
8 Embed Video, 9 Modem, 12 BVMS, 13 Attention) and tables that do not
exist in the database are skipped instead of failing.
- Frame preview no longer fails when the Logo tab is not rendered yet.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0139veDo3XyavMuVhdnHcN16
PHP ignores the host time zone: without date.timezone in php.ini (the
installer does not set it) it uses UTC, so session labels, event times,
the hour nodes and the live log were shown in UTC while la_mojo names
report folders/files in local time.
- lib/php/host_timezone.php: sets PHP's default time zone from the host
(/etc/localtime as maintained by timedatectl, then /etc/timezone, then
TZ); loaded right after settings.php by ajax_asm, assembler, js_asm,
soap_asm and ui_asm; added to files.list.
- Calendar day key: getHistoryDates returns the host-local noon of each
day and getHistoryDay uses it directly. The old "local midnight +
current UTC offset" (applied twice) only worked east of UTC and could be
off by a day across a DST change.
- Video download file name uses the host-local time from getVideoInfo
instead of the browser's time zone.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0139veDo3XyavMuVhdnHcN16