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