Mserv - a free open source jukebox-style music server for unix-like systems

mservcmd.1

MSERVCMD(1)              Mserv command line interface              MSERVCMD(1)



NAME
       mservcmd - Mserv command line interface

SYNPOSIS
       mservcmd [-u <user>] [-p <password>] [-h <host>:[<port>]]

DESCRIPTION
       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.

OPTIONS
       -u <user>
              Specifies the user you wish to connect to the server as.  By
              default this is the user 'guest'.

       -p <password>
              Specifies the password you wish to connect to the server using.
              By default this is the password 'guest'.

       -h <host>:[<port>]
              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).

EXAMPLES
       To display the available commands for user bob
              mservcmd -u bob -p wibble help

       To display the list of albums
              mservcmd albums

       To display the queue contents on 'mserv.zxcv.org'
              mservcmd -h mserv.zxcv.org queue

EXIT STATUS
       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

AUTHOR
       Written by:
              James Ponder <james@squish.net>

SEE ALSO
       mserv(1)

WEBSITE
       http://www.mserv.org/



MSERVCMD                          March 1999                       MSERVCMD(1)