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