mattblovell / kodi_panel

Front panel LCD display for Kodi (via JSON-RPC)
MIT License
12 stars 5 forks source link

Dev/static dynamic separation #4

Closed mattblovell closed 3 years ago

mattblovell commented 3 years ago

Split screen rendering into static (artwork, most text fields) and dynamic (progress bar, elapsed time) portions, primarily aimed at reducing the CPU load for the active update loop. This changes helped with that metric on an RPi Zero.

What also helped for regularity of the elapsed time update was switching WiFi channels! Variations in latency or, worse, packet loss, can cause a very irregular time update. A wired connection does not suffer from that woe.