chiark / gitweb /
Correct row count in login window
[disorder] / doc / disobedience.1.in
CommitLineData
460b9539 1.\"
5aff007d 2.\" Copyright (C) 2004-2008 Richard Kettlewell
460b9539 3.\"
4.\" This program is free software; you can redistribute it and/or modify
5.\" it under the terms of the GNU General Public License as published by
6.\" the Free Software Foundation; either version 2 of the License, or
7.\" (at your option) any later version.
8.\"
9.\" This program is distributed in the hope that it will be useful, but
10.\" WITHOUT ANY WARRANTY; without even the implied warranty of
11.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12.\" General Public License for more details.
13.\"
14.\" You should have received a copy of the GNU General Public License
15.\" along with this program; if not, write to the Free Software
16.\" Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
17.\" USA
18.\"
19.TH disobedience 1
20.SH NAME
21disobedience \- GUI client for DisOrder jukebox
22.SH SYNOPSIS
23.B disobedience
24.RI [ OPTIONS ]
25.SH DESCRIPTION
26.B disobedience
d8e369d5 27is a graphical client for DisOrder.
460b9539 28.SH "WINDOWS AND ICONS"
eb80584d 29.SS "Server Menu"
afc2fe2e
RK
30This has the following options:
31.TP
32.B Login
33Brings up the \fBLogin Details Window\fR; see below.
34.TP
5d25fbdc
RK
35.B "Manage Users"
36Brings up the \fBUser Management Window\fR; see below.
37.TP
afc2fe2e
RK
38.B Quit
39Terminates the program.
460b9539 40.SS "Edit Menu"
41This has the following options:
42.TP
43.B "Select All"
44Select all tracks in whichever of the Queue or Recent tabs are showing.
45.TP
46.B Properties
c0c23a60
RK
47Edit the details of the selected tracks.
48See
d8e369d5
RK
49.B "Properties Window"
50below.
ab560bd2
RK
51.SS "Control Menu"
52This has the following options:
53.TP
54.B Scratch
55Interrupts the currently playing track.
56.TP
57.B Playing
58Pause and resume the current track.
59.TP
60.B "Random play"
c0c23a60
RK
61Enable and disable random play.
62Does not take effect until the currently playing track finishes.
ab560bd2
RK
63.TP
64.B "Network player"
c0c23a60
RK
65Enables or disables network play.
66See
ab560bd2
RK
67.B "NETWORK PLAY"
68below.
460b9539 69.SS "Help Menu"
70This has only one option, "About DisOrder", which pops up a box giving the
71name, author and version number of the software.
72.SS "Controls"
73.TP
74.B "Pause button"
75The pause button can be used to pause and resume tracks.
76.TP
77.B "Scratch button"
78The scratch button, a red cross, can be used to interrupt the currently playing
79track.
80.TP
81.B "Random play button"
c0c23a60
RK
82The random play button can be used to enable and disable random play.
83It does not take effect until the currently playing track finishes.
460b9539 84.TP
85.B "Play button"
c0c23a60
RK
86The play button controls whether tracks will be played at all.
87As above it does not take effect until the currently playing track finishes.
460b9539 88.TP
ab23e130 89.B "Network play button"
c0c23a60
RK
90The network play buttons enables or disables network play.
91See
ab560bd2
RK
92.B "NETWORK PLAY"
93below.
ab23e130 94.TP
460b9539 95.B "Volume slider"
96The volume slider indicates the current volume level and can be used to adjust
c0c23a60
RK
97it.
980 is silent and 10 is maximum volume.
460b9539 99.TP
100.B "Balance slider"
101The balance slider indicates the current balance and can be used to adjust it.
102-1 means only the left speaker, 0 means both speakers at equal volume and +1
103means the only the right speaker.
104.SS "Queue Tab"
c0c23a60 105This displays the currently playing track and the queue.
cda70ecc
RK
106The currently playing track is at the top, and can be distinguished by
107the constantly updating timer.
108Queued tracks appear below it.
460b9539 109.PP
c0c23a60
RK
110The left button can be use to select and deselect tracks.
111On its own it just selects the pointed track and deselects everything else.
112With CTRL it flips the state of the pointed track without affecting anything
113else.
114With SHIFT it selects every track from the last click to the current position
115and deselects everything else.
116With both CTRL and SHIFT it selects everything from the last click to the
117current position without deselecting anything.
460b9539 118.PP
cda70ecc
RK
119Tracks can be moved within the queue by dragging them to a new position with
120the left button.
121.PP
c0c23a60
RK
122The right button pops up a menu.
123This has the following options:
460b9539 124.TP
125.B Properties
c0c23a60
RK
126Edit the details of the selected tracks.
127See
460b9539 128.B "Properties Window"
129below.
130.TP
131.B "Select All"
132Select all tracks.
133.TP
134.B Scratch
c0c23a60
RK
135Interrupt the currently playing track.
136(Note that this appears even if you right click over a queued track rather
137than the currently playing track.)
460b9539 138.TP
139.B Remove
140Remove the selected tracks from the queue.
141.SS "Recent Tab"
142This displays recently played tracks, the most recent at the top.
143.PP
cda70ecc
RK
144The left button functions as above, except that drag-and-drop rearrangement
145is not possible.
c0c23a60 146The right button pops up a menu with the following options:
460b9539 147.TP
148.B Properties
c0c23a60
RK
149Edit the details of the selected tracks.
150See
460b9539 151.B "Properties Window"
152below.
153.TP
154.B "Select All"
155Select all tracks.
156.SS "Choose Tab"
157This displays all the tracks known to the server in a tree structure.
158.PP
c0c23a60
RK
159Directories are represented with an arrow to their left.
160This can be clicked to reveal or hide the contents of the directory.
161The top level "directories" break up tracks by their first letter.
460b9539 162.PP
c0c23a60
RK
163Playable files are represented by their name.
164If they are playing or in the queue then a notes icon appears next to them.
460b9539 165.PP
c0c23a60
RK
166Left clicking on a file will select it.
167As with the queue tab you can use SHIFT and CTRL to select multiple files.
460b9539 168.PP
d5a2a8dd 169The text box at the bottom is a search form.
c0c23a60
RK
170If you enter search terms here then tracks containing all those words will be
171highlighted.
172You can also limit the results to tracks with particular tags, by including
173\fBtag:\fITAG\fR for each tag.
460b9539 174.PP
c0c23a60
RK
175To start a new search just edit the contents of the search box.
176The cancel button to its right clears the current search.
177The up and down arrows will scroll the window to make the previous or next
178search result visible.
460b9539 179.PP
d8e369d5 180Right clicking over a track will pop up a menu with the following options:
460b9539 181.TP
182.B Play
183Play selected tracks.
184.TP
185.B Properties
c0c23a60
RK
186Edit properties of selected tracks.
187See
d8e369d5
RK
188.B "Properties Window"
189below.
190.PP
191A middle click on a track will add it to the queue.
460b9539 192.PP
d8e369d5
RK
193Right clicking over a directory will pop up a menu with the following options:
194.TP
195.B "Play all tracks"
196Play all the tracks in the directory, in the order they appear on screen.
197.TP
198.B "Track properties"
199Edit properties of all tracks in the directory.
200.TP
201.B "Select all tracks"
202Select all the tracks in the directory (and deselect everything else).
203.PP
204Note that these options do not apply recursively - only the tracks in the
205relevant directory are affected, not those in its subdirectories.
655cae67 206.SS "Added Tab"
c0c23a60
RK
207This displays a list of tracks recently added to the server's database.
208The most recently added track is at the top.
655cae67 209.PP
c0c23a60
RK
210Left clicking a track will select it.
211CTRL and SHIFT work as above to select muliple files.
655cae67
RK
212.PP
213Right clicking over a track will pop up a menu with the following options:
214.TP
215.B "Track properties"
c0c23a60
RK
216Edit properties of selected tracks.
217See
655cae67
RK
218.B "Properties Window"
219below.
220.TP
221.B "Play track"
222Play selected tracks.
223.TP
224.B "Select All Tracks"
225Select all tracks.
afc2fe2e
RK
226.SS "Login Details Window"
227The login details window allows you to edit the connection details and
c0c23a60
RK
228authorization information used by Disobedience.
229It has four text entry fields:
afc2fe2e
RK
230.TP
231.B Hostname
232The host to connect to.
233.TP
234.B Service
235The service name or port number to connect to.
236.TP
237.B "User name"
238The user name to log in as.
239.TP
240.B Password
c0c23a60
RK
241The password to use when logging in.
242Note that this is NOT your login password but is your password to the
243DisOrder server.
afc2fe2e
RK
244.PP
245It has three buttons:
246.TP
247.B Login
248This button attempts to (re-)connect to the server with the currently displayed
c0c23a60
RK
249settings.
250The settings are not saved.
afc2fe2e
RK
251.TP
252.B Save
253This button saves the current settings in
254.IR $HOME/.disorder/passwd .
255.TP
0f24b368
RK
256.B Close
257This button closes the window, discarding any unsaved changes.
460b9539 258.SS "Properties Window"
259This window contains details of one or more tracks and allows them to be
260edited.
261.PP
262The Artist, Album and Title fields determine how the tracks appear in
263the queue and recently played tabs.
264.PP
c0c23a60
RK
265The Tags field determine which tags apply to the track.
266Tags are separated by commas and can contain any printing characters except
267comma.
460b9539 268.PP
68a1bff0
RK
269The Weight field determines the track weight. Tracks with higher weights are
270proportionately more likely to be picked at random. The default weight is
27190000, and the maximum weight is 2147483647.
272.PP
460b9539 273The Random checkbox determines whether the track will be picked at random.
274Random play is enabled for every track by default, but it can be turned off
275here.
276.PP
f4b9ba55 277The double-headed arrow to the right of each preference will propagate its
c0c23a60
RK
278value to all the other tracks in the window.
279For instance, this can be used to efficiently correct the artist or album
280fields, or bulk-disable random play for many tracks.
f4b9ba55 281.PP
460b9539 282Press "OK" to confirm all changes and close the window, "Apply" to confirm
283changes but keep the window open and "Cancel" to close the window and discard
284all changes.
5d25fbdc
RK
285.SS "User Management Window"
286This window is primarily of interest to adminstrators, and will not be
287available to users without admin rights. The left hand side is a list of all
288users; the right hand side contains the editable details of the currently
289selected user.
290.PP
291When you select any user you can edit their email address or change their
292password. It is also possible to edit the individual user rights. Click on
293the "Apply" button to commit any changes you make.
294.PP
295The "Add" button creates a new user. You must enter at least a username.
296Default rights are setting according to local configuration, \fInot\fR server
297configuration (but this may be changed in the future). As above, click on
298"Apply" to actually create the new user.
299.PP
300The "Delete" button deletes the selected user. This operation cannot be
301undone.
460b9539 302.SH "KEYBOARD SHORTCUTS"
303.TP
304.B CTRL+A
305Select all tracks (queue/recent)
306.TP
afc2fe2e
RK
307.B CTRL+L
308Brings up the \fBLogin Details Window\fR.
309.TP
460b9539 310.B CTRL+Q
311Quit.
ab560bd2
RK
312.SH "NETWORK PLAY"
313Network play uses a background
0d350ff0 314.BR disorder\-playrtp (1)
c0c23a60
RK
315process.
316If you quit Disobedience the player will continue playing and can be
ab560bd2
RK
317disabled from a later run of Disobedience.
318.PP
319The player will log to
0d350ff0 320.I ~/.disorder/HOSTNAME\-rtp.log
ab560bd2
RK
321so look there if it does not seem to be working.
322.PP
323You can stop it without running Disobedience by the command
0d350ff0 324.BR "killall disorder\-playrtp" .
d8e369d5
RK
325.SH OPTIONS
326.TP
0d350ff0 327.B \-\-config \fIPATH\fR, \fB\-c \fIPATH
c0c23a60
RK
328Set the configuration file.
329The default is
d8e369d5
RK
330.IR pkgconfdir/config .
331.TP
0d350ff0 332.B \-\-debug\fR, \fB\-d
d8e369d5
RK
333Enable debugging.
334.TP
0d350ff0 335.B \-\-help\fR, \fB\-h
d8e369d5
RK
336Display a usage message.
337.TP
0d350ff0 338.B \-\-version\fR, \fB\-V
d8e369d5
RK
339Display version number.
340.SS "GTK+ Options"
c0c23a60
RK
341Additional options are supported by the GTK+ library.
342Refer to GTK+ documentation for further information.
343Under X11 they include:
d8e369d5 344.TP
0d350ff0 345.B \-\-display \fIDISPLAY\fR
d8e369d5
RK
346The X display to use.
347.TP
0d350ff0 348.B \-\-screen \fISCREEN\fR
d8e369d5
RK
349The screen number to use.
350.\" If know enough to use it you know enough to find it
351.\" .TP
0d350ff0 352.\" .B \-\-sync
d8e369d5 353.\" Make all X requests synchronously.
a8161466
RK
354.SH CONFIGURATION
355If you are using
356.B disobedience
357on the same host as the server then no additional configuration should be
358required.
359.PP
afc2fe2e 360If it is running on a different host then the easiest way to set it up is to
c0c23a60
RK
361use the login details window in Disobedience.
362Enter the connection details, use Login to connect to the server, and then
363use Save to store them for future sessions.
f4b9ba55 364.PP
afc2fe2e
RK
365The other clients read their configuration from the same location so after
366setting up with Disobedience, tools such as
367.BR disorder (1)
368should work as well.
b6579a61 369.SH BUGS
b6579a61 370There is no particular provision for multiple users of the same computer
0d350ff0 371sharing a single \fBdisorder\-playrtp\fR process.
c0c23a60
RK
372This shouldn't be too much of a problem in practice but something could
373perhaps be done given demand.
29f30bb0
RK
374.PP
375Try to do remote user management when the server is configured to refuse this
376produces rather horrible error behavior.
cda70ecc
RK
377.PP
378Only one track can be dragged at a time.
379.PP
380Resizing columns doesn't work very well.
381This is a GTK+ bug.
ab23e130
RK
382.SH FILES
383.TP
0d350ff0 384.I ~/.disorder/HOSTNAME\-rtp
ab23e130
RK
385Socket for communication with RTP player.
386.TP
0d350ff0 387.I ~/.disorder/HOSTNAME\-rtp.log
ab23e130 388Log file for RTP player.
460b9539 389.SH "SEE ALSO"
0d350ff0 390.BR disorder\-playrtp (1),
460b9539 391.BR disorder_config (5)
392.PP
d8e369d5
RK
393.B http://www.greenend.org.uk/rjk/disorder/
394.br
395- DisOrder home page
396.PP
0d350ff0 397.B http://www.gtk.org/api/2.6/gtk/gtk\-x11.html
460b9539 398.br
399- Using GTK+ on the X Window System
400.\" Local Variables:
401.\" mode:nroff
402.\" fill-column:79
403.\" End: