Mserv - a free open source jukebox-style music server for unix-like systems
MSERVCMD(1) Mserv command line interface MSERVCMD(1)
mservcmd - Mserv command line interface
mservcmd [-u <user>] [-p <password>] [-h <host>:[<port>]]
mservcmd is a command for sending single commands to an mserv server
and outputting the results in a suitable way for further processing.
This is not for interactively talking to a server, for that you require
a telnet client.
Specifies the user you wish to connect to the server as. By
default this is the user 'guest'.
Specifies the password you wish to connect to the server using.
By default this is the password 'guest'.
Specifies the host (and optionally port) for the server. By
default this is 127.0.0.1 (your machine) with port 4444 (the
default mserv port).
To display the available commands for user bob
mservcmd -u bob -p wibble help
To display the list of albums
To display the queue contents on 'mserv.zxcv.org'
mservcmd -h mserv.zxcv.org queue
The exit status is 0 if successful, non-0 otherwise. If the exit sta-
tus was 0 then stdout contains the server output. Any stderr informa-
tion will be suitable for printing to an untrusted user, e.g. no host
information will be printed.
0 Normal exit
1 Parameters to command were incorrect
2 Unknown host
3 Could not connect to host
4 Access denied
5 Read/Write error
James Ponder <email@example.com>
MSERVCMD March 1999 MSERVCMD(1)