For #245, we need to have the server be able to broadcast MHub messages.
[x] Add mhub package to package.json
[x] Create server_module to instantiate shared mhub client instance
[x] Allow mhub server + node + user/pass to be configurable
For the configuration, it may be possible to use the existing settings.json, although that file is actually meant for the clients. It may be that the server e.g. wants to use a different user to connect to MHub, to allow publishing new scores, whereas the user used by clients might not have these rights.
For #245, we need to have the server be able to broadcast MHub messages.
mhub
package to package.jsonFor the configuration, it may be possible to use the existing
settings.json
, although that file is actually meant for the clients. It may be that the server e.g. wants to use a different user to connect to MHub, to allow publishing new scores, whereas the user used by clients might not have these rights.