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