v7.1.0
Bug Fixes
-
Scrambled display on bulk devices (#54): Bulk/LY handshake returned the PM byte as
model_idinstead of the actual FBL code. This causedDeviceInfo.use_jpegto incorrectly returnTrue, encoding frames as JPEG while the device expected RGB565 (cmd=3). The firmware received compressed JPEG bytes as raw pixels → scrambled display. Now correctly converts PM→FBL viapm_to_fbl()before returning from handshake. -
Theme not restored on autostart (
--last-one): When no theme was previously saved in config, the fallback theme loaded withpersist=False, so the config never got atheme_pathentry. Every boot repeated the empty-config fallback cycle. Now persists the fallback choice when no prior theme was saved. -
Duplicate handshake threads: The 5-second device poll could spawn multiple concurrent handshake threads for the same device. Added a
_handshake_pendingguard.
Improvements
-
Removed per-frame DEBUG log spam: Video playback generated ~30 debug log lines/second from
video_tick,send_rgb565,encode_for_device,ImageLabel.set_image, andSCSI send. This filled all 4MB of log rotation in seconds, obliterating useful INFO messages (device selection, theme restore, handshake results). Removed all hot-path debug logging. -
Expanded bulk PM table: Added all C# v2.1.2
FormCZTVInitPM values (13–17, 50, 66, 68, 69) to_BULK_KNOWN_PMSfor correct resolution detection on newer bulk devices.