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