The default mode of SpMp. Starts an SpMp server instance on the specified port. By default, it also acts as a player client for audio playback using mpv (see --headless).

Options

--silent  |  -s

Disables logging.

--lang <language>  |  -l <language>

Overrides the language of outputted text. Language is read from system environment by default. See spmp-server/src/nativeMain/kotlin/spms/localisation for available languages.

--port <port>  |  -p <port>

The server will run on the specified port, or port 3973 by default.

--headless  |  -x

Runs the server in headless mode (without the player client). Audio playback will not be handled by the server, so a player client must be ran manually.

Player options

These options apply to the player client, and therefore have no effect when the --headless flag is in use.

--gui  |  -g

Shows mpv’s graphical interface.

--mute  |  -m

Mutes mpv on startup.