.\" .TP
.\" .B --sync
.\" Make all X requests synchronously.
-.SH "GTK+ RESOURCES"
-You can override these resources in order to customize the appearance of
-Disobedience.
-.\" TODO example that actually works.
-.SS "Widget Names"
-.TP
-.B disobedience.*.choose
-This is the panel containing the track choice tree.
-.TP
-.B disobedience.*.queue
-This is the panel displaying the queue.
-.TP
-.B disobedience.*.choose
-This is the panel listing recently played tracks.
-.TP
-.B disobedience.*.row-playing
-This is the row listing the currently playing track.
-.TP
-.B disobedience.*.row-odd
-This an odd-numbered row in the queue or recently played track list.
-.TP
-.B disobedience.*.row-even
-This an even-numbered row in the queue or recently played track list.
.SH CONFIGURATION
If you are using
.B disobedience
setting up with Disobedience, tools such as
.BR disorder (1)
should work as well.
+.SH BUGS
+Disobedience is newly introduced with DisOrder 2.0. There are bound to be
+bugs. Please send feedback.
+.PP
+There is no particular provision for multiple users of the same computer
+sharing a single \fBdisorder-playrtp\fR process. This shouldn't be too much of
+a problem in practice but something could perhaps be done given demand.
.SH FILES
.TP
.I ~/.disorder/HOSTNAME-rtp
.SH DESCRIPTION
.B disorder-dbupgrade
is DisOrder's database upgrader. It is invoked by DisOrder when
-necessary and does not need to be invoked manually.
+necessary and does not normally need to be invoked manually.
.SH OPTIONS
.TP
.B --delete-bad-keys\fR, -x
.B --debug\fR, \fB-d
Enable debugging.
.TP
+.B --syslog
+Log to syslog. This is the default if stderr is not a terminal.
+.TP
+.B --no-syslog
+Do not log to syslog. This is the default if stderr is a terminal.
+.TP
.B --help\fR, \fB-h
Display a usage message.
.TP
they are left in the database (if doing so will not compromise its
integrity). The
.B -x
-option can be used to delete them if they are known to be harmles.
+option can be used to delete them if they are known to be harmless.
.SH "SEE ALSO"
\fBdisorderd\fR(8), \fBdisorder_config\fR(5)
.\" Local Variables:
.B --debug\fR, \fB-d
Enable debugging.
.TP
+.B --syslog
+Log to syslog. This is the default if stderr is not a terminal.
+.TP
+.B --no-syslog
+Do not log to syslog. This is the default if stderr is a terminal.
+.TP
.B --help\fR, \fB-h
Display a usage message.
.TP
player.
.PP
It is not intended to be used from the command line.
+.SH OPTIONS
+.TP
+.B --help\fR, \fB-h
+Display a usage message.
+.TP
+.B --version\fR, \fB-V
+Display version number.
.SH LIMITATIONS
OGG files with multiple bitstreams are not supported.
.PP
.B .
Indoctrinating one DisOrder server with the preference values of
another.
-.TP
-.B .
-Upgrading DisOrder across data format changes in the underlying
-database library.
.PP
The output file is versioned, so versions produced from a future
version of DisOrder may be rejected by \fB--undump\fR. It has an end
.BR disorderd (8)
to convert audio data to a consistent encoding. It is not intended to
be used by ordinary users.
+.SH OPTIONS
+.TP
+.B --config \fIPATH\fR, \fB-c \fIPATH
+Set the configuration file.
+.TP
+.B --debug\fR, \fB-d
+Enable debugging.
+.TP
+.B --syslog
+Log to syslog. This is the default if stderr is not a terminal.
+.TP
+.B --no-syslog
+Do not log to syslog. This is the default if stderr is a terminal.
+.TP
+.B --help\fR, \fB-h
+Display a usage message.
+.TP
+.B --version\fR, \fB-V
+Display version number.
.SH "SEE ALSO"
.BR disorderd (8)
If a group and a port are specified then the RTP stream is assumed to be
multicast to that group and port.
.SH OPTIONS
+The default sound API is the first of the ones listed below that are available.
+Usually this implies ALSA under Linux and Core Audio under OS X.
+.TP
+.B --alsa\fR, \fB-a
+Use ALSA to play sound.
+.TP
+.B --oss\fR, \fB-o
+Use OSS to play sound.
+.TP
+.B --core-audio\fR, \fB-c
+Use Core Audio to play sound.
.TP
.B --device \fIDEVICE\fR, \fB-D \fIDEVICE\fR
Specifies the audio device to use. The exact meaning of this is
platform-dependent; on Linux it is the ALSA device name.
.TP
+.B --config \fIPATH\fR, \fB-C \fIPATH
+Set the configuration file. The default is
+.IR pkgconfdir/config .
+.TP
+.B --socket \fIPATH\fR, \fB-s \fIPATH
+Set the control socket. Normally this would not be used manually.
+.TP
.B --help\fR, \fB-h
Display a usage message.
.TP
.B --rcvbuf \fIBYTES\fR, \fB-R \fIBYTES\fR
Specifies socket receive buffer size. The default is 131072 (128Kbytes). The
buffer size will not be reduced below the operating system's default.
+.SH "REMOTE CONTROL"
+The
+.B --socket
+option is used by Disobedience to control a background
+.B disorder-playrtp
+daemon. The socket will be created as a UNIX domain stream socket. When a
+connection is received a single line is read from it. The following commands
+are known:
+.TP
+.B stop
+Causes
+.B disorder-playrtp
+to terminate.
+.TP
+.B query
+Causes the string "running" to be sent back.
+.PP
+Other commands are ignored. After the first command the connection is closed.
+Only one connection at a time will be serviced.
+.PP
+This protocol is not guaranteed to be stable.
.SH "SEE ALSO"
+.BR disobedience (1),
.BR disorder_config (5),
.BR disorderd (8)
.\" Local Variables:
.B --debug\fR, \fB-d
Enable debugging.
.TP
+.B --syslog
+Log to syslog. This is the default if stderr is not a terminal.
+.TP
+.B --no-syslog
+Do not log to syslog. This is the default if stderr is a terminal.
+.TP
.B --help\fR, \fB-h
Display a usage message.
.TP
.BR disorderd (8)
to play digital audio with buffering and avoiding gaps between
tracks. It is not intended for direct invocation.
+.SH OPTIONS
+.TP
+.B --config \fIPATH\fR, \fB-c \fIPATH
+Set the configuration file.
+.TP
+.B --debug\fR, \fB-d
+Enable debugging.
+.TP
+.B --syslog
+Log to syslog. This is the default if stderr is not a terminal.
+.TP
+.B --no-syslog
+Do not log to syslog. This is the default if stderr is a terminal.
+.TP
+.B --help\fR, \fB-h
+Display a usage message.
+.TP
+.B --version\fR, \fB-V
+Display version number.
.SH "SEE ALSO"
.BR disorderd (8)
.B --debug\fR, \fB-d
Enable debugging.
.TP
+.B --syslog
+Log to syslog. This is the default if stderr is not a terminal.
+.TP
+.B --no-syslog
+Do not log to syslog. This is the default if stderr is a terminal.
+.TP
.B --help\fR, \fB-h
Display a usage message.
.TP
.RI [ OPTIONS ]
.RB [ -- ]
.RI [ COMMANDS ...]
-.br
-.B disorder
-.B --length
-.RI [ OPTIONS ]
-.RB [ -- ]
-.IR PATH ...
.SH DESCRIPTION
-Without the \fB--length\fR option,
.B disorder
is used to query the \fBdisorderd\fR(8) daemon from the command line.
It may be used to request tracks, scratch tracks, query the current
.B --help\fR, \fB-h
Display a usage message.
.TP
-.B --length\fR, \fB-L
-Calculate the length in seconds of the files specified using the tracklength
-plugin.
-.TP
.B --version\fR, \fB-V
Display version number.
.TP
.IP
Floating point conversions and wide character support are not
currently implemented.
+.IP
+These functions will cope with UTF-8 even if the current locale uses
+some other encoding.
.PP
"Never fail" in the above means that the process is terminated on error.
.SH LOGGING
server.
.PP
All strings in this section are encoded using UTF-8.
-.SS tracklength.so
-This is a server plugin.
+.SS "Tracklength Plugins"
+These are server plugins defined by the \fBtracklength\fR directive.
.PP
.nf
\fBlong disorder_tracklength(const char *track,
the scanner plugin, and so presumably encoded according to the
filesystem encoding.
.IP
+To clarify this point, if the track must be opened to compute its
+length, you would normally use \fBpath\fR and not \fBtrack\fR.
+.IP
If the return value is positive it should be the track length in
seconds (round up if it is not an integral number of seconds long).
.IP
.RI [ OPTIONS ]
.SH DESCRIPTION
.B tkdisorder
-is a simple graphical client for DisOrder. It is not really finished.
+is a simple graphical client for DisOrder. It is not finished and no further
+development is planned. Use \fBdisobedience\fR(1) instead.
.PP
The main window is divided into two. The top half contains the name
of the current track and a progress bar indicating how far through
.B --version\fR, \fB-V
Display version number.
.SH "SEE ALSO"
-\fBdisorder\fR(1), \fBdisorder_config\fR(5)
+\fBdisorder\fR(1), \fBdisobedience\fR(1), \fBdisorder_config\fR(5)
.PP
"\fBpydoc disorder\fR" for the Python API documentation.
.\" Local Variables: