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