~ubuntu-branches/debian/squeeze/draai/squeeze

« back to all changes in this revision

Viewing changes to man/draai.1

  • Committer: Bazaar Package Importer
  • Author(s): Joost van Baal
  • Date: 2009-06-14 20:20:04 UTC
  • Revision ID: james.westby@ubuntu.com-20090614202004-32ve7j06wt034tk1
Tags: upstream-20090615
ImportĀ upstreamĀ versionĀ 20090615

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.\" Copyright (c) 2008 Joost van Baal <joostvb-draai@mdcc\&.cx>
 
2
.TH "draai" 1 "28 nov 2008" "draai 20090615" "USER COMMANDS "
 
3
.po 2m
 
4
.de ZI
 
5
.\" Zoem Indent/Itemize macro I.
 
6
.br
 
7
'in +\\$1
 
8
.nr xa 0
 
9
.nr xa -\\$1
 
10
.nr xb \\$1
 
11
.nr xb -\\w'\\$2'
 
12
\h'|\\n(xau'\\$2\h'\\n(xbu'\\
 
13
..
 
14
.de ZJ
 
15
.br
 
16
.\" Zoem Indent/Itemize macro II.
 
17
'in +\\$1
 
18
'in +\\$2
 
19
.nr xa 0
 
20
.nr xa -\\$2
 
21
.nr xa -\\w'\\$3'
 
22
.nr xb \\$2
 
23
\h'|\\n(xau'\\$3\h'\\n(xbu'\\
 
24
..
 
25
.if n .ll -2m
 
26
.am SH
 
27
.ie n .in 4m
 
28
.el .in 8m
 
29
..
 
30
.SH NAME
 
31
draai \- manage playlists and play audio files
 
32
.SH SYNOPSIS
 
33
 
 
34
draai [option [option \&.\&.\&.]] command [track [track \&.\&.\&.] | tracknumber [tracknumber \&.\&.\&.]]
 
35
.SH DESCRIPTION
 
36
Draai is a wrapper around mpc, making playing music from the commandline more
 
37
enjoyable\&. mpc is a client for MPD, the Music Player Daemon\&. Using draai, one
 
38
can play an audiofile (ogg, mp3, flac, whatever your MPD offers), play all
 
39
files in a predefined playlist, view details on current, past and future
 
40
playing songs, skip to the next song, etc\&.
 
41
.SH GETTING STARTED
 
42
Run "draai init" to get started using draai the way the author likes it\&.
 
43
Others ways of using draai are possible, see below\&.
 
44
.SH COMMANDS
 
45
 
 
46
.ZI 3m "draai"
 
47
\&
 
48
.br
 
49
Play music\&.
 
50
.in -3m
 
51
 
 
52
.ZI 3m "init"
 
53
\&
 
54
.br
 
55
Start a bunch of X terminals setting up some draai jobs: tail, logtail, peek,
 
56
syslog, \&.\&.\&.
 
57
.in -3m
 
58
 
 
59
.ZI 3m "guestlist"
 
60
\&
 
61
.br
 
62
Reschedule listed tracknumbers as upcoming tracks\&. Last arguments should be
 
63
the positions of tracks to be put on the guestlist, not filenames\&.
 
64
.in -3m
 
65
 
 
66
.ZI 3m "unguestlist"
 
67
\&
 
68
.br
 
69
Reschedule listed tracknumbers to end of playlist\&.
 
70
.in -3m
 
71
 
 
72
.ZI 3m "tail"
 
73
\&
 
74
.br
 
75
Print information about track when it starts playing, similar to
 
76
tail -f on a logfile\&.
 
77
.in -3m
 
78
 
 
79
.ZI 3m "logtail"
 
80
\&
 
81
.br
 
82
Run tail(1) on system log file\&.
 
83
.in -3m
 
84
 
 
85
.ZI 3m "list"
 
86
\&
 
87
.br
 
88
List current playlist\&.
 
89
.in -3m
 
90
 
 
91
.ZI 3m "peek"
 
92
\&
 
93
.br
 
94
Show status of current song, and show upcoming $peek FIXME tracks\&.
 
95
.in -3m
 
96
 
 
97
.ZI 3m "syslog"
 
98
\&
 
99
.br
 
100
Send raw information from tail to syslog\&. You likely want to run "draai syslog"
 
101
in the background\&.
 
102
.in -3m
 
103
 
 
104
.ZI 3m "skip"
 
105
\&
 
106
.br
 
107
Skip this track, start playing the next one now\&.
 
108
.in -3m
 
109
 
 
110
.ZI 3m "osjittisstil"
 
111
\&
 
112
.br
 
113
Run this if unwanted silence pops up during a playing session (for now, it runs
 
114
draai --sloppy skip)\&.
 
115
.in -3m
 
116
 
 
117
.ZI 3m "delete"
 
118
\&
 
119
.br
 
120
Delete track(s) from current playlist\&. Last arguments should be _positions_ of
 
121
tracks to be removed, not filename\&. If no position is given, deletes upcoming
 
122
track from playlist\&.
 
123
.in -3m
 
124
 
 
125
.ZI 3m "fastforward"
 
126
\&
 
127
.br
 
128
Seek forward in current track\&.
 
129
.in -3m
 
130
 
 
131
.ZI 3m "quit"
 
132
\&
 
133
.br
 
134
quit
 
135
.in -3m
 
136
.SH OPTIONS
 
137
 
 
138
.ZI 3m "\fB--debug\fP (\fIdebug\fP), \fB-d\fP"
 
139
\&
 
140
.br
 
141
Be very verbose\&.
 
142
.in -3m
 
143
 
 
144
.ZI 3m "\fB--playlist\fP (\fIwith playlistfile\fP), \fB-p\fP"
 
145
\&
 
146
.br
 
147
Playlist file; option can be supplied more than once\&. To be used
 
148
with command "draai"\&.
 
149
.in -3m
 
150
 
 
151
.ZI 3m "\fB--noshuffle\fP (\fIno shuffle\fP), {\fB-S\fP}"
 
152
\&
 
153
.br
 
154
Don\&'t shuffle tracks and leave random mode untouched (default is: do shuffle
 
155
and disable random mode)\&. See also the script dr_unsort\&.
 
156
.in -3m
 
157
 
 
158
.ZI 3m "\fB--raw\fP (\fIraw\fP), \fB-r\fP"
 
159
\&
 
160
.br
 
161
Print raw stuff, suitable for postprocessing (if combined with tail, peek or
 
162
list)\&.
 
163
.in -3m
 
164
 
 
165
.ZI 3m "\fB--sloppy\fP (\fIsloppy\fP), \fB-s\fP"
 
166
\&
 
167
.br
 
168
Don\&'t try hard to make everything sound smooth\&. If combined with skip: risk a
 
169
squeak on old hardware\&.
 
170
.in -3m
 
171
 
 
172
.ZI 3m "\fB--time\fP (\fIwith timespec\fP), \fB-t\fP"
 
173
\&
 
174
.br
 
175
If combined with commands quit or draai: time at which to quit or start\&.
 
176
.in -3m
 
177
.SH ENVIRONMENT
 
178
draai honors: booleans:
 
179
DR_DEBUG
 
180
and
 
181
DR_SHUFFLE
 
182
DR_TIMESTAMP
 
183
DR_RAW
 
184
DR_SLOPPY
 
185
; strings:
 
186
DR_WATCH
 
187
; integers:
 
188
DR_CROSSFADE
 
189
DR_PEEK
 
190
DR_SEEK
 
191
and
 
192
DR_FADEOUT_STEP
 
193
DR_FADEOUT_REPEAT
 
194
DR_FADEOUT_SLEEP
 
195
and
 
196
DR_VOLUME_STEP
 
197
; and some more strings:
 
198
DR_SYSLOG_FILE
 
199
DR_SYSLOG_FACILITY
 
200
DR_SYSLOG_LEVEL
 
201
\&. For now, see the draai code for what it all means\&.
 
202
.SH FILES, CONFIGURATION
 
203
All configuration variables (see ENVIRONMENT) can be set in \fC~/\&.draai/rc\fP\&.
 
204
This rc-file is sourced as a shell script\&. If you\&'d like to set the syslog
 
205
facility, set \fIsyslog_facility\fP (overruled by DR_SYSLOG_FACILITY)\&. If you\&'d
 
206
like to set the watch programma, set \fIwatch\fP (overruled by DR_WATCH)\&.
 
207
.SH SEE ALSO
 
208
Lots of alternatives for draai exist\&. One is "herrie", by Ed Schouten and
 
209
Martijn van den Dungen, see http://freshmeat\&.net/projects/herrie/\&.
 
210
.SH COPYRIGHT AND LICENSE
 
211
Draai is (C) 2000-2008 Joost van Baal <joostvb-draai@mdcc\&.cx>\&.
 
212
Draai is free software; you can redistribute it and/or modify it under the
 
213
terms of the GNU General Public License, as published by the Free Software
 
214
Foundation, either version 3 of the License, or (at your option) any later
 
215
version\&. This program is distributed WITHOUT ANY WARRANTY\&. You should have
 
216
received a copy of the GNU General Public License along with draai\&. If not,
 
217
see http://www\&.gnu\&.org/licenses/\&.
 
218
.SH AUTHOR
 
219
Joost van Baal <joostvb-draai@mdcc\&.cx>