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