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