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