chiark / gitweb /
Use disorder-choose to pick random tracks.
[disorder] / CHANGES
1 * Changes up to version 3.1
2
3 ** Server
4
5 The 'gap' directive will no longer work.  It could be restored if there
6 is real demand.
7
8 * Changes up to version 3.0
9
10 Important!  See README.upgrades when upgrading.
11
12 ** Platforms And Installation
13
14 Mac OS X and FreeBSD are somewhat supported.  There is now a bash script
15 in scripts/setup which will automate the setup after 'make install'.
16
17 ** Server
18
19 Users are now stored in the database rather than a configuration file.
20
21 The server now has a built-in list of stopwords and players, so only
22 additions to these need be mentioned in the configuration file.
23
24 The default inter-track gap is now 0s.
25
26 How sound is played is now controlled via the new 'api' configuration
27 command.  This also controls how the volume is set, which now works with
28 ALSA as well as OSS.
29
30 A bug in the MP3 decoder was fixed (also in 2.0.4).
31
32 ** Web Interface
33
34 The web interface now uses cookies to remember user identity, and allows
35 online registration of new users.  Also it is no longer necessary to
36 manually specify the URL of the web interface (but you can override it
37 if you don't like the value it figures out).
38
39 It is possible to allow users to register via the web interface.
40
41 The web interface's browser support has been improved.  It has been
42 tested with Firefox 2, Safari 3, Konqueror 3, Internet Explorer 7 and
43 Opera 9.
44
45 ** Disobedience
46
47 A bug which would cause a crash if you attempt to rearrange the queue
48 while no track was playing has been fixed.  There is a new 'deselect all
49 tracks' option, mirroring 'select all tracks.
50
51 * Changes up to version 2.0
52
53 ** General
54
55 Tracks can now have tags associated with them.  See tags in disorder(1)
56 or the preferences documentation for the web interface or Disobedience.
57
58 The search facility knows how to limit results by tag (see search
59 documentation for any interface) as well as by word search.  It is
60 possible to limit random play by tag (see required-tags and
61 prohibited-tags in disorder_config(5)).
62
63 Unicode support is improved.  Case-folding and word breaking now follows
64 the rules given in the Unicode standard (with a bit of tailoring in the
65 latter case).
66
67 ** Disobedience
68
69 There is a new client, 'Disobedience', that depends on the GTK+ library.
70 Feedback on the interface would be very welcome.
71
72 ** Web Interface
73
74 The "New" screen display tracks recently added to the database.  From
75 here they can be played or their preferences changed.
76
77 Long track names are truncated so they fit better on the screen.  Hover
78 for the full name.
79
80 ** Network Play
81
82 DisOrder can broadcast audio over a network, allowing it to be played on
83 multiple client machines.  See README.streams for details.
84
85 ** Server
86
87 Slow file lookups are cached in the server.  This should help
88 installations with large collections and/or slow platforms.
89
90 The 'enabled' and 'random_enabled' configuration options are now gone.
91 Instead the state survives from one run of the server to the next.
92 'disable now' is gone as well - if you want to emulate it disable
93 playing and then scratch the current track.
94
95 The 'pick' plugin has been abolished.  All the logic formerly done there
96 is now built into the server, where it can be done much more
97 efficiently.
98
99 'tracklength' plugins must be explicitly specified.
100
101 A bug where removing a collection (from the configuration) could cause a
102 crash when random play was enabled has been fixed.
103
104 A new configuration option 'queue_pad' allows the number of random
105 tracks kept on the queue to be controlled.
106
107 There is a new utility disorder-decode which can decode OGG, MP3, WAV
108 and FLAC.  The example config file uses it.
109
110 Database statistics are computed in a subprocess so that the main server
111 (and all clients) are not blocked for the duration.
112
113 ** disorderfm
114
115 There is a new command line tool called 'disorderfm' which is designed
116 for filename translation on (for instance) digital audio repositories.
117 It is not yet feature-complete.  See its man page for additional
118 details.
119
120 ** Build And Configuration
121
122 You can control which components are built with new --with options.  See
123 README.
124
125 options.transform and the 'transform' web option have gone, replaced
126 with a 'transform' configuration command.  Both this and 'namepart' are
127 now optional.
128
129 ** Thanks
130
131 Ross Younger, Colin Watson, Michael Stevens and Mark Wooding all
132 contributed in some way to this release.
133
134 * Changes up to version 1.5.1
135
136 ** Web Interface
137
138 Correct regexp for non-alpha tracks.
139
140 * Changes up to version 1.5
141
142 ** Web Interface
143
144 Regexp-based filtering of tracks (for instance as used by the initial
145 'Choose' page) now does the regexp matching in the server, limiting the
146 amount of data transferred to the web interface only to be discarded.
147
148 ** Client
149
150 Regexp-base filtering of tracks is now available to the command line
151 client.
152
153 ** Server
154
155 New server_nice, speaker_nice and rescan_nice configuration options
156 allow independent control of process priorities.
157
158 Scratches are now attributed to the user who requested them.
159
160 Bugs fixed:
161   A file descriptor was leaked for each track played.
162   The amount of a track played so far was not reported.
163   The speaker process could crash on underrun.
164   The server would crash if you paused a non-pause capable track.
165   Regexp matching in the file and directory list commands was not
166   reliable.
167   Handling of variable-argument commands in the client was broken.
168
169 * Changes up to version 1.4
170
171 ** General
172
173 Raw format players are now supported.  See README.upgrades and
174 README.raw for details.  This allows pausing and eliminating the
175 inter-track gap.
176
177 Pausing is also supported with suitably modified standalone player
178 plugins, though none of the supplied ones are capable of this.
179
180 When random play is enabled the randomly picked track now appears in the
181 queue, and can be moved around the queue, removed from it, etc.
182
183 ** Web Interface
184
185 Switches (random play, pause, ...) are now presented as a
186 fixed-appearance switch with an adjacent state indicator.
187
188 The 'Manage' screen has new buttons to move tracks to the head or tail
189 of the queue.
190
191 You can now edit the preferences for all the tracks in an album in a
192 single screen, rather than having to visit each separately.  For the
193 time being the raw preferences editing has gone; it can be reintroduced
194 on some form if there is demand.  (You can still edit raw preferences
195 from the command line.)
196
197 Labels are now documented in options.labels rather than
198 disorder_config(5).
199
200 ** Server
201
202 If you tried to start up on any empty database with random play enabled
203 the server would exit with an error.
204
205 The server no longer risks failing if you strace its player
206 subprocesses.
207
208 It was possible for the server to hang when a 'reconfigure' command was
209 issued.  This should no longer be the case.
210
211 The default signal to forcibly terminate players is now SIGKILL.
212
213 ** Plugins
214
215 Plugins must now declare a type word.  This allows them to document
216 whether they are a standalone player or a raw-format player, and whether
217 they support pausing.  They can also arrange to get setup and cleanup
218 calls in the main server.  See disorder(3) for more details.
219
220 * Changes up to version 1.3
221
222 ** Dependencies
223
224 Berkeley DB 4.2 is no longer supported.  Use 4.3.
225
226 ** Client
227
228 There is a new 'authorize' command to simplify the addition of local
229 users.  Please report successes as well as failures.
230
231 There is a new 'resolve' command to return the real track name behind an
232 alias.
233
234 The 'rescan' command no longer takes an argument.
235
236 ** Server
237
238 The track database code has been largely rewritten to improve
239 maintainability.
240
241 There is a new 'lock' directive.  By default the server uses a lockfile
242 to prevent multiple copies of itself running simultaneously; this can be
243 inhibited e.g. if you are using a filesystem that does not support
244 locking and are confident you can prevent concurrent running yourself.
245
246 Aliases for track names, constructed from trackname_display_
247 preferences, now appear in the virtual filesystem.  
248
249 The server now executes a subprocess for the rescan operation.  It also
250 runs a separate deadlock manager.
251
252 Standard output and standard error from subprocesses are now logged.
253 This is handy if you need to figure out why a player failed unexpectedly
254 but might lead to huge log files if you have needlessly verbose players.
255
256 ** Web Interface
257
258 Enable/disable buttons are now colored to reflect current state.
259
260 Entering numeric volume values (rather than clicking on the arrows) now
261 works.
262
263 Connection errors are reported more gracefully.
264
265 ** Plugins
266
267 Scanner plugins are now always invoked in a subprocess.
268
269 disorder_track_count() and disorder_track_getn() are no longer
270 available.  Instead use disorder_track_random().
271
272 Plugins are now opened with RTLD_NOW, so link errors are detected
273 immediately.
274
275 ** Tools
276
277 disorder-dump now insists on the input/output file being a named regular
278 file, rather than using stdin or stdout.
279
280 ** Other
281
282 Some missing files have been added, and some notes added regarding
283 getting text encoding right.
284
285 * Changes up to version 1.2
286
287 See README.upgrades when upgrading to this version.
288
289 ** Bugs Fixed
290
291 Avoid accumulating overlarge recently played list.
292
293 When the server was stopped, the currently playing track would not be
294 added to the recently played list.  This has been fixed.
295
296 Reloading the 'volume' page no longer repeats the last volume-changing
297 action.
298
299 The search facility now works properly for multiple hits within a single
300 artist or album.
301
302 ** Server
303
304 New namepart directive replaces web interface's trackname-part.  There
305 are associated changes to the protocol and clients.
306
307 The number of database queries per candidate match required when
308 searching has been reduced.
309
310 The operator can control the signal used to scratch playing tracks.  The
311 default has been changed to SIGINT from SIGKILL.
312
313 The 'log' command now provides a formalised event log, rather than raw
314 access to the server's ordinary log output.
315
316 ** Web Interface Changes
317
318 *** Choosing Tracks
319
320 When picking a track the client now stays on the same screen rather than
321 redirecting back to the 'Playing' screen.  So that the user gets
322 feedback from their action, playing and queued tracks are now marked as
323 such in the track picking screen.
324
325 It is possible to revert to the old behaviour by removing the back=
326 argument from the choose.html and search.html templates (and optionally
327 the trackstate lines).
328
329 *** Search
330
331 Non-ASCII characters are now properly supported in search terms.
332
333 *** Syntax
334
335 The template syntax has been changed slightly to ignore whitespace in
336 certain places.
337
338 *** Miscellaneous
339
340 Some formerly textual buttons are now replaced by images (with ALT text
341 reflecting the old value).  The stylesheet is now a .css file (installed
342 in the same place as the images) rather than being embedded into every
343 template.
344
345 Artist and album names in the playing and recently-played lists are now
346 links to the corresponding directory.
347
348 More functions are now available from the 'manage' screen.
349
350 The menus are now (by default) across the top of the screen instead of
351 down the side.  Set the 'menu' label to 'sidebar' to restore the old
352 appearance.  'Volume' is not present in this new menu, use 'Manage'
353 instead (or edit the template).
354
355 ** tkdisorder
356
357 tkdisorder now displays artist, album and title in the queue and
358 recently played widgets, rather than just the title (as formerly).
359
360 * Changes up to version 1.1
361
362 ** Bugs Fixed
363
364 Corrected various problems with UTF-8 parsing.
365
366 In the web interface, "The Beatles" (etc) are now grouped under 'B' not
367 'T' when grouping tracks by initial letter.
368
369 ** Server
370
371 The list of recently played tracks is now preserved across server
372 restarts.
373
374 Track IDs are more compact.
375
376 Versions of libdb before 4.2 are no longer supported.  4.2 and 4.3 both
377 work now.  4.2 support will be removed in some future release.
378
379 Prehistoric backwards-compatibility logic removed.  Only affects people
380 upgrading from long before 1.0 (who should upgrade to 1.0 and then to
381 1.1.)
382
383 ** Command Line
384
385 Tracks can be moved in the queue from the command line.
386
387 'disorder queue' now reports track IDs.
388
389 $pkgdatadir/completion.bash provides tab completion over commands and
390 options.
391
392 ** Web Interface
393
394 New 'cooked' preferences interface saves users having to know arcane
395 details of trackname preferences and so on.  Non-ASCII characters are
396 now properly supported in this context.
397
398 CGI arguments to the web interface are now checked for UTF-8 compliance.
399
400 Local Variables:
401 mode:outline
402 fill-column:72
403 End: