You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I display the server status that's written to the html file, it shows the name I've asked it to show, plus to server internal port. Ideally, the value would be stored without the port number (internal and external are likely to differ) - all that's wanted is the server status.
Very low priority (I've fixed it in my javascript processing).
As an alternative to an html status page, a json or xml status page containing user and server details would be useful, especially on headless servers. This would also offload the responsibility of data presentation from Jamulus. Something like:
Ideally, the value would be stored without the port number (internal and external are likely to differ) - all that's wanted is the server status.
The server name is no longer written in the HTML file, see #638.
As an alternative to an html status page, a json or xml status page containing user and server details would be useful, especially on headless servers.
As written in #638, the HTML status should completely removed from the Jamulus software. It would be better to have a PHP script which queries the information via UDP. Then you can format your output exactly like you want.
Activity
ginjo commentedon Jun 24, 2020
As an alternative to an html status page, a json or xml status page containing user and server details would be useful, especially on headless servers. This would also offload the responsibility of data presentation from Jamulus. Something like:
jamulus_status.json
{ "some_server_info": "...", "some_server_config": "...", "client_count": 2, "clients": [ {"name":"bill", "ip":"x.x.x.x", "port":22333, "jitter_buffer_size":12}, {"name":"amy", "ip":"x.x.x.x", "port":22333, "jitter_buffer_size":9} ] }pljones commentedon Jul 6, 2020
It needs a
"last_updated_at": "YYYY-MM-DDThh:mm:ss.nnnnnnZ"field.Then add two settings / options to the server:
--status-timeout <seconds>and--status-json <filename>.Presume it should create the file as a text file if not found. It's not a log file, so it should also overwrite the file on each update.
corrados commentedon Oct 7, 2020
The server name is no longer written in the HTML file, see #638.
As written in #638, the HTML status should completely removed from the Jamulus software. It would be better to have a PHP script which queries the information via UDP. Then you can format your output exactly like you want.
So I'll close this Issue now.
pljones commentedon Oct 9, 2020
Raised #670 to get some PHP written.