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