Skip to content

Comments

--directoryfile command line option#9

Closed
pljones wants to merge 2 commits intofeature/persistent-server-listsfrom
feature/directoryfile-command-line-option
Closed

--directoryfile command line option#9
pljones wants to merge 2 commits intofeature/persistent-server-listsfrom
feature/directoryfile-command-line-option

Conversation

@pljones
Copy link
Owner

@pljones pljones commented Jun 13, 2021

Two commits, one reorganising --help handling in src/main.cpp, the other adding the new command line option.

Draft because I've not yet tested it.

PR against my repo as it needs feature/persistent-server-lists merged to upstream first.

peter@fs-peter:~/git/Jamulus-wip$ ./Jamulus --help

Usage: ./Jamulus [option] [option argument] ...

  -h, -?, --help        display this help text and exit
  -v, --version         display version information and exit

Common options:
  -i, --inifile         initialization file name
                        (not supported for headless server mode)
  -n, --nogui           disable GUI ("headless")
  -p, --port            set the local port number
  -Q, --qos             set the QoS value. Default is 128. Disable with 0
                        (see the Jamulus website to enable QoS on Windows)
  -t, --notranslation   disable translation (use English language)

Server only:
  -d, --discononquit    disconnect all clients on quit
  -e, --directoryserver address of the directory server with which to register
                        (or 'localhost' to host a server list on this server)
      --directoryfile   enable server list persistence, set file name
  -f, --listfilter      server list whitelist filter.  Format:
                        [IP address 1];[IP address 2];[IP address 3]; ...
  -F, --fastupdate      use 64 samples frame size mode
  -l, --log             enable logging, set file name
  -L, --licence         show an agreement window before users can connect
  -m, --htmlstatus      enable HTML status file, set file name
  -o, --serverinfo      registration info for this server.  Format:
                        [name];[city];[country as QLocale ID]
      --serverpublicip  public IP address for this server.  Needed when
                        registering with a server list hosted
                        behind the same NAT
  -P, --delaypan        start with delay panning enabled
  -R, --recording       sets directory to contain recorded jams
      --norecord        disables recording (when enabled by default by -R)
  -s, --server          start server
      --serverbindip    IP address the server will bind to (rather than all)
  -T, --multithreading  use multithreading to make better use of
                        multi-core CPUs and support more clients
  -u, --numchannels     maximum number of channels
  -w, --welcomemessage  welcome message to display on connect
                        (string or filename)
  -z, --startminimized  start minimizied

Client only:
  -c, --connect         connect to given server address on startup
  -j, --nojackconnect   disable auto Jack connections
  -M, --mutestream      starts the application in muted state
      --mutemyown       mute me in my personal mix (headless only)
      --clientname      client name (window title and jack client name)
      --ctrlmidich      MIDI controller channel to listen

Example: ./Jamulus -s --inifile myinifile.ini

For more information and localized help see:
https://jamulus.io/wiki/Command-Line-Options

peter@fs-peter:~/git/Jamulus-wip$

@pljones pljones force-pushed the feature/directoryfile-command-line-option branch 2 times, most recently from d06678f to e731e09 Compare June 13, 2021 09:35
@pljones pljones force-pushed the feature/directoryfile-command-line-option branch from e731e09 to e5f4ac8 Compare June 13, 2021 09:51
@pljones pljones marked this pull request as ready for review June 13, 2021 09:52
@pljones
Copy link
Owner Author

pljones commented Jun 13, 2021

OK, this is now what's running on all my directory servers.

@pljones pljones closed this Jun 13, 2021
@pljones pljones deleted the feature/directoryfile-command-line-option branch June 13, 2021 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant