chiark / gitweb /
Doxygen file headers for most files
[disorder] / doc / disobedience.1.in
... / ...
CommitLineData
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
19disobedience \- GUI client for DisOrder jukebox
20.SH SYNOPSIS
21.B disobedience
22.RI [ OPTIONS ]
23.SH DESCRIPTION
24.B disobedience
25is a graphical client for DisOrder.
26.SH "WINDOWS AND ICONS"
27.SS "Server Menu"
28This has the following options:
29.TP
30.B Login
31Brings up the \fBLogin Details Window\fR; see below.
32.TP
33.B "Manage Users"
34Brings up the \fBUser Management Window\fR; see below.
35.TP
36.B Quit
37Terminates the program.
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
45Edit the details of the selected tracks.
46See
47.B "Properties Window"
48below.
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"
59Enable and disable random play.
60Does not take effect until the currently playing track finishes.
61.TP
62.B "Network player"
63Enables or disables network play.
64See
65.B "NETWORK PLAY"
66below.
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.
74This button shows either a pause symbol (two vertical bars) or a resume symbol
75(a right-pointing arrow).
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"
82The random play button can be used to enable and disable random play.
83It does not take effect until the currently playing track finishes.
84When the button is green, random play is enabled.
85When it is grey, random play is disabled.
86.TP
87.B "Play button"
88The play button controls whether tracks will be played at all.
89As above it does not take effect until the currently playing track finishes.
90When the button is green, play is enabled.
91When it is grey, play is disabled.
92.TP
93.B "Network play button"
94The network play buttons enables or disables network play.
95See
96.B "NETWORK PLAY"
97below.
98When the button is green, network play is enabled.
99When it is grey, network play is disabled.
100.TP
101.B "Volume slider"
102The volume slider indicates the current volume level and can be used to adjust
103it.
1040 is silent and 10 is maximum volume.
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"
111This displays the currently playing track and the queue.
112The currently playing track is at the top, and can be distinguished by
113the constantly updating timer.
114Queued tracks appear below it.
115.PP
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.
124.PP
125Tracks can be moved within the queue by dragging them to a new position with
126the left button.
127.PP
128The right button pops up a menu.
129This has the following options:
130.TP
131.B Properties
132Edit the details of the selected tracks.
133See
134.B "Properties Window"
135below.
136.TP
137.B "Select All"
138Select all tracks.
139.TP
140.B Scratch
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.)
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
150The left button functions as above, except that drag-and-drop rearrangement
151is not possible.
152The right button pops up a menu with the following options:
153.TP
154.B Properties
155Edit the details of the selected tracks.
156See
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
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.
168.PP
169Playable files are represented by their name.
170If they are playing or in the queue then a notes icon appears next to them.
171.PP
172Left clicking on a file will select it.
173As with the queue tab you can use SHIFT and CTRL to select multiple files.
174.PP
175The text box at the bottom is a search form.
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.
180.PP
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.
185.PP
186Right clicking over a track will pop up a menu with the following options:
187.TP
188.B Play
189Play selected tracks.
190.TP
191.B Properties
192Edit properties of selected tracks.
193See
194.B "Properties Window"
195below.
196.PP
197A middle click on a track will add it to the queue.
198.PP
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.
212.SS "Added Tab"
213This displays a list of tracks recently added to the server's database.
214The most recently added track is at the top.
215.PP
216Left clicking a track will select it.
217CTRL and SHIFT work as above to select muliple files.
218.PP
219Right clicking over a track will pop up a menu with the following options:
220.TP
221.B "Track properties"
222Edit properties of selected tracks.
223See
224.B "Properties Window"
225below.
226.TP
227.B "Play track"
228Play selected tracks.
229.TP
230.B "Select All Tracks"
231Select all tracks.
232.SS "Login Details Window"
233The login details window allows you to edit the connection details and
234authorization information used by Disobedience.
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:
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
254The password to use when logging in.
255Note that this is NOT your login password but is your password to the
256DisOrder server.
257.PP
258It has two buttons:
259.TP
260.B Login
261This button attempts to (re-)connect to the server with the currently displayed
262settings.
263The settings are saved in
264.IR $HOME/.disorder/passwd .
265on success.
266.TP
267.B Close
268This button closes the window, discarding any unsaved changes.
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
276The Tags field determine which tags apply to the track.
277Tags are separated by commas and can contain any printing characters except
278comma.
279.PP
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
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
288The double-headed arrow to the right of each preference will propagate its
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.
292.PP
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.
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.
313.SH "KEYBOARD SHORTCUTS"
314.TP
315.B CTRL+A
316Select all tracks (queue/recent)
317.TP
318.B CTRL+L
319Brings up the \fBLogin Details Window\fR.
320.TP
321.B CTRL+Q
322Quit.
323.SH "NETWORK PLAY"
324Network play uses a background
325.BR disorder\-playrtp (1)
326process.
327If you quit Disobedience the player will continue playing and can be
328disabled from a later run of Disobedience.
329.PP
330The player will log to
331.I ~/.disorder/HOSTNAME\-rtp.log
332so look there if it does not seem to be working.
333.PP
334You can stop it without running Disobedience by the command
335.BR "killall disorder\-playrtp" .
336.SH OPTIONS
337.TP
338.B \-\-config \fIPATH\fR, \fB\-c \fIPATH
339Set the configuration file.
340The default is
341.IR pkgconfdir/config .
342.TP
343.B \-\-debug\fR, \fB\-d
344Enable debugging.
345.TP
346.B \-\-help\fR, \fB\-h
347Display a usage message.
348.TP
349.B \-\-version\fR, \fB\-V
350Display version number.
351.SS "GTK+ Options"
352Additional options are supported by the GTK+ library.
353Refer to GTK+ documentation for further information.
354Under X11 they include:
355.TP
356.B \-\-display \fIDISPLAY\fR
357The X display to use.
358.TP
359.B \-\-screen \fISCREEN\fR
360The screen number to use.
361.\" If know enough to use it you know enough to find it
362.\" .TP
363.\" .B \-\-sync
364.\" Make all X requests synchronously.
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
371If it is running on a different host then the easiest way to set it up is to
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.
375.PP
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.
380.SH BUGS
381There is no particular provision for multiple users of the same computer
382sharing a single \fBdisorder\-playrtp\fR process.
383This shouldn't be too much of a problem in practice but something could
384perhaps be done given demand.
385.PP
386Try to do remote user management when the server is configured to refuse this
387produces rather horrible error behavior.
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.
393.SH FILES
394.TP
395.I ~/.disorder/HOSTNAME\-rtp
396Socket for communication with RTP player.
397.TP
398.I ~/.disorder/HOSTNAME\-rtp.log
399Log file for RTP player.
400.SH "SEE ALSO"
401.BR disorder\-playrtp (1),
402.BR disorder_config (5)
403.PP
404.B http://www.greenend.org.uk/rjk/disorder/
405.br
406- DisOrder home page
407.PP
408.B http://www.gtk.org/api/2.6/gtk/gtk\-x11.html
409.br
410- Using GTK+ on the X Window System
411.\" Local Variables:
412.\" mode:nroff
413.\" fill-column:79
414.\" End: