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