Some node servers read the server.json data so we can print the version:
SERVERDATA = json.load(open('server.json'))
VERSION = SERVERDATA['credits'][0]['version']
LOGGER.info('Started MiLight for v2 NodeServer version %s', str(VERSION))
Would be nice to have standard way to access this and always print the version on startup.
Some node servers read the server.json data so we can print the version:
Would be nice to have standard way to access this and always print the version on startup.