catalinii / minisatip

minisatip is an SATIP server for linux using local DVB-S2, DVB-C, DVB-T or ATSC cards
https://minisatip.org
325 stars 78 forks source link

Fix "No data from server" when STATS ON #1041

Closed lars18th closed 1 year ago

lars18th commented 1 year ago

The commit https://github.com/catalinii/minisatip/commit/7e2d4181a6dc36bf9e043fdb1e128f3c4099c05a has introduced a bug in the generation of the bandwidth.json output. Therefore when enabling the Stats button in the UI a message with "No data from server" will be shown. The web browser indicates a syntax error parsing the received JSON data.

This PR fixes the incorrect JSON format typo.