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