Invalid JSON structure when title is empty
Below is a snippet of the JSON structure returned from /status-json.xsl when the song title is empty:
"stream_start":"Mon, 28 Oct 2019 10:49:00 +1300", "stream_start_iso8601":"2019-10-28T10:49:00+1300", "title": - , "dummy":null }
The problem item here is "title". The resulting JSON string does not parse correctly because of the hyphen. To fix the bug, the hyphen should be enclosed in double-quotes.
The server whence this came is not mine so I am not able to determine why it is that the Icecast server is returning an unquoted hyphen. The server concerned has been that way for several days; the URL is http://18.104.22.168:8000/status-json.xsl