Update the queue up to every 15s or so to stop expected started times
[disorder] / CHANGES.html
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <title>DisOrder Change History</title>
5 <style type="text/css">
6 body {
7 color: black;
8 background-color: white;
9 font-family: times,serif;
10 font-weight: normal;
11 font-size: 12pt;
12 font-variant: normal
13 }
14
15 div.section {
16 margin-left:1em
17 }
18
19 h1 {
20 background-color: #e0ffe0;
21 font-family: helvetica,sans-serif;
22 padding: 0.2em
23 }
24
25 h2 {
26 background-color: #e0ffe0;
27 font-family: helvetica,sans-serif;
28 padding: 0.2em
29 }
30
31 h3 {
32 background-color: #f0f0f0;
33 font-family: helvetica,sans-serif;
34 padding: 0.2em
35 }
36
37 h4 {
38 font-family: helvetica,sans-serif
39 }
40
41 table.bugs {
42 width: 100%
43 }
44
45 table.bugs th {
46 text-align: left
47 }
48
49 span.command {
50 font-family: monospace
51 }
52 </style>
53 </head>
54
55 <body>
56 <h1>DisOrder Change History</h1>
57
58 <p>This file documents recent user-visible changes to <a
59 href="http://www.greenend.org.uk/rjk/disorder/">DisOrder</a>.</p>
60
61 <h2>Changes up to version 4.4</h2>
62
63 <div class=section>
64
65 <h3>Server</h3>
66
67 <div class=section>
68
69 <p>The <tt>device</tt> configuration option now works under OS X.
70 Devices may
71 be specified either by UID or name. Fixes <a
72 href="http://code.google.com/p/disorder/issues/detail?id=27">Issue
73 27</a>.</p>
74
75 <p>Gapless play should be more reliable, and playback latency over RTP
76 should be a bit lower. Note though that all the sound output code has
77 been reorganized and in some cases completely rewritten, so it's possible
78 that bugs may have been (re-)introduced.</p>
79
80 <p>The <tt>command</tt> backend now (optionally) sends silence instead
81 of suspending writes when a pause occurs or no track is playing.</p>
82
83 <p>If <a href="http://www.mega-nerd.com/SRC/">libsamplerate</a> is
84 available at build time then that will be used instead of invoking
85 <a href="http://sox.sourceforge.net/">SoX</a>. SoX support will be
86 removed in a future version.</p>
87
88 <p>Playlists are now supported. These allow a collection of tracks to be
89 prepared offline and played as a unit.</p>
90
91 </div>
92
93 <h3>Disobedience</h3>
94
95 <div class=section>
96
97 <p>Multiple tracks can now be dragged in the queue in a single operation.
98 Furthermore, it is now possible to drag tracks from the
99 &ldquo;Recent&rdquo;, &ldquo;Added&rdquo; and &ldquo;Choose&rdquo; tabs
100 to the queue.</p>
101
102 <p>Disobedience now supports playlist editing.</p>
103
104 </div>
105
106 <h3>Web Interface</h3>
107
108 <div class=section>
109
110 <p>Confirmation URLs should be cleaner (and in particular not end
111 with punctuation). (Please see <a
112 href="README.upgrades">README.upgrades</a> for more about this.)</p>
113
114 </div>
115
116 <h3>RTP Player</h3>
117
118 <div class=section>
119
120 <p>There is a new <tt>--command</tt> option which allows the RTP player
121 to send audio data to a user-chosen command instead of an audio API. See
122 the man page for details.</p>
123
124 <p>The <tt>--device</tt> option to <tt>disorder-playrtp</tt> now works
125 under OS X (as above).</p>
126
127 </div>
128
129 <h3>General</h3>
130
131 <div class=section>
132
133 <p>IPv6 should now work. Network address specifications
134 (<tt>listen</tt>, <tt>connect</tt> etc) can now be prefixed with
135 <tt>-4</tt> or <tt>-6</tt> to force use
136 of IPv4 or IPv6, though normally this should not be needed.</p>
137
138 <p>Unicode support has been upgraded to <a
139 href="http://www.unicode.org/versions/Unicode5.1.0/">Unicode
140 5.1.0</a>.</p>
141
142 <p>Various elements of the source code have been
143 rationalized.</p>
144
145 </div>
146
147 <h3>Bugs fixed</h3>
148
149 <div class=section>
150
151 <table class=bugs>
152 <tr>
153 <th>ID</th>
154 <th>Description</th>
155 </tr>
156
157 <tr>
158 <td><a href="http://code.google.com/p/disorder/issues/detail?id=27">#27</a></td>
159 <td>Mac DisOrder uses wrong sound device</td>
160 </tr>
161
162 <tr>
163 <td><a href="http://code.google.com/p/disorder/issues/detail?id=33">#33</a></d>
164 <td>(Some) plugins need -lm.</td>
165 </tr>
166
167 <tr>
168 <td><a href="http://code.google.com/p/disorder/issues/detail?id=39">#39</a></d>
169 <td>Double bind() non-multicast AF_INET</td>
170 </tr>
171
172 <tr>
173 <td><a href="http://code.google.com/p/disorder/issues/detail?id=40">#40</a></d>
174 <td>Missing stub function</td>
175 </tr>
176
177 <tr>
178 <td><a href="http://code.google.com/p/disorder/issues/detail?id=41">#41</a></d>
179 <td>Missing includes for timeval</td>
180 </tr>
181
182 <tr>
183 <td><a href="http://code.google.com/p/disorder/issues/detail?id=42">#42</a></d>
184 <td>syntax error in empeg_host section</td>
185 </tr>
186
187 <tr>
188 <td><a href="http://code.google.com/p/disorder/issues/detail?id=43">#43</a></d>
189 <td>decoder segfault with FLAC 1.2.1</td>
190 </tr>
191
192 <tr>
193 <td><a href="http://code.google.com/p/disorder/issues/detail?id=44">#44</a></d>
194 <td>gcc 4.3.2-1ubuntu12 SUYB patch</td>
195 </tr>
196
197 <tr>
198 <td><a href="http://code.google.com/p/disorder/issues/detail?id=45">#45</a></d>
199 <td>disobedience doesn't configure its back end</td>
200 </tr>
201
202 <tr>
203 <td><a href="http://code.google.com/p/disorder/issues/detail?id=48">#48</a></d>
204 <td>build-time dependency on <tt>oggdec</tt> removed</td>
205 </tr>
206
207 <tr>
208 <td><a href="http://code.google.com/p/disorder/issues/detail?id=49">#49</a></d>
209 <td>Disobedience's 'When' column gets out of date</td>
210 </tr>
211
212 </table>
213 </div>
214 </div>
215
216 <h2>Changes up to version 4.3</h2>
217
218 <div class=section>
219
220 <h3>Disobedience</h3>
221
222 <div class=section>
223
224 <p>A bug was fixed in the calculation of how much of the track had
225 played. This would lead to the counter showing incorrect values in
226 various situations.</p>
227
228 <p>Disobedience's icons have been changed to larger, more colorful
229 ones. The SVG source is included if you want to fiddle with them.</p>
230
231 <p>&ldquo;Select all&rdquo; is now no longer available in the choose
232 tab. Instead there is a new &ldquo;Select children&rdquo; option which
233 selects the file children of a single subdirectory.</p>
234
235 </div>
236
237 <h3>Server</h3>
238
239 <div class=section>
240
241 <p>The selection bias for newly added tracks was reduced by half. You
242 can put it back to the old very neophilic value with
243 &ldquo;<tt>new_bias 900000</tt>&rdquo; in the config file.</p>
244
245 <p>It is now possible to &lsquo;adopt&rsquo; randomly picked tracks.
246 Disobedience and the command-line client support this but the web
247 interface does not.</p>
248
249 <p>The default track name parsing was modified to handle filenames
250 generated by iTunes.</p>
251
252 </div>
253
254 <h3>Miscellaneous</h3>
255
256 <div class=section>
257
258 <p><tt>disorderfm</tt> now preserves directory permissions.</p>
259
260 <p>DisOrder is now licensed under <a
261 href="http://www.gnu.org/licenses/gpl-3.0.html">GPL v3</a>. The main
262 goal is to prohibit <a
263 href="http://en.wikipedia.org/wiki/Tivoization">Tivoization</a>.</p>
264
265 <p>The build system will now automatically cope with Fink's broken GTK+
266 packages. There are a number of improvements to the Debian
267 packaging.</p>
268
269 <p>DisOrder now builds on 64-bit Linux systems.</p>
270
271 <p>There are various minor fixes.</p>
272
273 </div>
274
275 <h3>Bugs fixed</h3>
276
277 <div class=section>
278
279 <table class=bugs>
280 <tr>
281 <th>ID</th>
282 <th>Description</th>
283 </tr>
284
285 <tr>
286 <td><a href="http://code.google.com/p/disorder/issues/detail?id=24">#24</a></td>
287 <td>Fails to build on ubuntu 8.10</td>
288 </tr>
289 <tr>
290 <td><a href="http://code.google.com/p/disorder/issues/detail?id=26">#26</a></td>
291 <td>Disobedience shows wrong track elapsed time after a pause</td>
292 </tr>
293 </table>
294
295 </div>
296 </div>
297
298 <h2>Changes up to version 4.2</h2>
299
300 <div class=section>
301
302 <h3>Disobedience</h3>
303
304 <div class=section>
305
306 <p>The login window now has a 'remote' switch. If this is turned off
307 then Disobedience will connect to a local server. Formerly it would
308 always use TCP/IP.</p>
309
310 <p>The Delete and backspace keys will now remove tracks from the queue.
311 Escape will now dismiss the properties, users or login windows and return
312 now works in the login and properties windows.</p>
313
314 </div>
315
316 <h3>Documentation</h3>
317
318 <div class=section>
319
320 <p>Track and global preferences are now described in a new
321 <b>disorder_preferences</b>(5) man page.</p>
322
323 </div>
324
325 <h3>Bugs fixed</h3>
326
327 <div class=section>
328
329 <table class=bugs>
330 <tr>
331 <th>ID</th>
332 <th>Description</th>
333 </tr>
334
335 <tr>
336 <td><a href="http://code.google.com/p/disorder/issues/detail?id=21">#21</a></td>
337 <td>CGI should use PATH_INFO more sensibly</td>
338 </tr>
339 </table>
340
341 </div>
342 </div>
343
344
345 <h2>Changes up to version 4.1.1</h2>
346
347 <div class=section>
348
349 <p>Disobedience's &ldquo;Login&rdquo; window now works when you are logged
350 in.</p>
351
352 </div>
353
354 <h2>Changes up to version 4.1</h2>
355
356 <div class=section>
357
358 <h3>Disobedience</h3>
359
360 <div class=section>
361
362 <p>Disobedience has been largely rewritten:</p>
363
364 <ul>
365
366 <li>All the tabs now use native GTK+ list/tree widgets, resulting in
367 greater speed in some cases and more consistency with other GTK+
368 applications.</li>
369
370 <li>You can now use type-ahead find in the choose tab. The initiation
371 of a search is delayed slightly to avoid lots of updates when you're
372 half way through entering search terms.</li>
373
374 <li>The choose tab now shows track lengths.</li>
375
376 <li>Many buttons are now more reliably made insensitive when they can't
377 be used.</li>
378
379 <li>You can now play tracks off the recent tab.</li>
380
381 </ul>
382
383 <p>Disobedience attempts to cope with servers from older versions, up to
384 a point, but this is not well tested and it's best to keep the server
385 fully up to date.</p>
386
387 </div>
388
389 <h3>Server</h3>
390
391 <div class=section>
392
393 <p>When a track shares a directory with its alias, the real track name is
394 now returned instead of the alias (the opposite way round to the previous
395 behaviour).</p>
396
397 </div>
398 </div>
399
400 <h2>Changes up to version 4.0.2</h2>
401
402 <div class=section>
403
404 <p>Corrected web browser linked from Disobedience.</p>
405
406 </div>
407
408 <h2>Changes up to version 4.0.1</h2>
409
410 <div class=section>
411
412 <p>Libtool and Automake now install the CGI correctly. As part of this,
413 <tt>cgidir</tt> has been renamed to <tt>cgiexecdir</tt>. The configure
414 script will report an error if you try to use the old name.</p>
415
416 </div>
417
418 <h2>Changes up to version 4.0</h2>
419
420 <div class=section>
421
422 <h3>Server</h3>
423
424 <div class=section>
425
426 <p>The <tt>gap</tt> directive will no longer work. It could be
427 restored if there is real demand.</p>
428
429 <h4>Event Scheduling</h4>
430
431 <div class=section>
432
433 <p>It is now possible to schedule events to occur in the future.
434 Currently the supported actions are playing a specific track, and
435 changing a global preference (thus allowing e.g. random play to be
436 turned on or off). See the <tt>schedule-*</tt>
437 commands described in disorder(1).</p>
438
439 </div>
440
441 <h4>Random Track Choice</h4>
442
443 <div class=section>
444
445 <p>This has been completely rewritten to support new features:</p>
446
447 <ul>
448
449 <li>tracks in the recently-played list or in the queue are no longer
450 eligible for random choice.</li>
451
452 <li>there is a new <tt>weight</tt> track preference allowing for
453 non-uniform track selection. See disorder(1) for details.</li>
454
455 <li>there is a new configuration item <tt>replay_min</tt> defining
456 the minimum time before a played track can be picked at random.
457 The default is 8 hours (which matches the earlier behaviour).</li>
458
459 <li>recently added tracks are biased up; see <tt>new_bias</tt> and
460 <tt>new_bias_age</tt> in disorder_config(5).</li>
461
462 </ul>
463
464 </div>
465
466 <h4>Web Interface</h4>
467
468 <div class=section>
469
470 <p>This has been largely rewritten. The most immediate benefits are:</p>
471
472 <ul>
473
474 <li>the search page is integrated into the choose page, and
475 includes links to parent directories.</li>
476
477 <li>if you try to do something you have insufficient rights for,
478 instead of getting an error page or nothing happening, you are
479 redirected to the login page.</li>
480
481 </ul>
482
483 <p>Customizers should find their lives easier: the syntax is less onerous, it
484 is possible to define macros to avoid repetition, and the documentation is
485 less monolithic (see disorder.cgi(8) as a starting point).</p>
486
487 <p>Mail is now sent via the system sendmail program, though it remains
488 possible to use TCP to connect to an SMTP server. See <tt>sendmail</tt> and
489 <tt>smtp_server</tt> in disorder_config(5).</p>
490
491 <p>The web interface is now installed automatically. If you don't want it,
492 use <tt>./configure --without-cgi</tt>. If you want it in a non-default
493 location, or no location for it is detected, set <tt>cgidir</tt>
494 and <tt>httpdir</tt> on the <tt>./configure</tt> command line.</p>
495
496 </div>
497
498 </div>
499
500 <h3>Disobedience</h3>
501
502 <div class=section>
503
504 <p>There is now a new user management window. From here you can add and
505 remove users or modify their settings.</p>
506
507 <p>Relatedly, the server will only allow remote user management if you set
508 <tt>remote_userman</tt> to <tt>yes</tt>.</p>
509
510 </div>
511
512 <h3>Miscellaneous</h3>
513
514 <div class=section>
515
516 <p><tt>scripts/setup</tt> now honors command line options, and can
517 set up network play as well as the local default sound device.</p>
518
519 </div>
520
521 <h3>Bugs Fixed</h3>
522
523 <div class=section>
524
525 <table class=bugs>
526 <tr>
527 <th>ID</th>
528 <th>Description</th>
529 </tr>
530
531 <tr>
532 <td><a href="http://code.google.com/p/disorder/issues/detail?id=2">#2</a></td>
533 <td>Search results should link to directories</td>
534 </tr>
535
536 <tr>
537 <td><a href="http://code.google.com/p/disorder/issues/detail?id=6">#6</a></td>
538 <td>Schedule tracks for a particular time</td>
539 </tr>
540
541 <tr>
542 <td><a href="http://code.google.com/p/disorder/issues/detail?id=10">#10</a></td>
543 <td>Non-uniform track selection</td>
544 </tr>
545
546 <tr>
547 <td><a href="http://code.google.com/p/disorder/issues/detail?id=11">#11</a></td>
548 <td>Bias random selection to newly added tracks</td>
549 </tr>
550
551 <tr>
552 <td><a href="http://code.google.com/p/disorder/issues/detail?id=13">#13</a></td>
553 <td>Default encoding for debian setup scripts</td>
554 </tr>
555
556 <tr>
557 <td><a href="http://code.google.com/p/disorder/issues/detail?id=16">#16</a></td>
558 <td>Cookie expiry causes user to be silently logged out and not
559 subsequently redirected to login page</td>
560 </tr>
561
562 <tr>
563 <td><a href="http://code.google.com/p/disorder/issues/detail?id=20">#20</a></td>
564 <td>Broken aliasing rules</td>
565 </tr>
566
567 </table>
568
569 </div>
570
571 </div>
572
573 <h2>Changes up to version 3.0.2</h2>
574
575 <div class=section>
576
577 <p>Builds <tt>--without-server</tt> should work again.</p>
578
579 <p>The web interface is a bit more liberal in the cookie value
580 syntax it will accept.</p>
581
582 <p>Clients fail more gracefully if no password is available.</p>
583
584 </div>
585
586 <h2>Changes up to version 3.0.1</h2>
587
588 <div class=section>
589
590 <p>Debian upgrades from 2.0.x should now work better.</p>
591
592 </div>
593
594 <h2>Changes up to version 3.0</h2>
595
596 <div class=section>
597
598 <p><b>Important</b>! See <a
599 href="README.upgrades">README.upgrades</a> when upgrading.</p>
600
601 <h3>Platforms And Installation</h3>
602
603 <div class=section>
604
605 <p>Mac OS X and FreeBSD are somewhat supported. There is now a bash
606 script in <tt>scripts/setup</tt> which will automate the setup after
607 <tt>make install</tt>.</p>
608
609 </div>
610
611 <h3>Server</h3>
612
613 <div class=section>
614
615 <p>Users are now stored in the database rather than a configuration
616 file.</p>
617
618 <p>The server now has a built-in list of stopwords and players, so
619 only additions to these need be mentioned in the configuration file.</p>
620
621 <p>The default inter-track gap is now 0s.</p>
622
623 <p>How sound is played is now controlled via the new <tt>api</tt>
624 configuration command. This also controls how the volume is set,
625 which now works with ALSA as well as OSS.</p>
626
627 <p>A bug in the MP3 decoder was fixed (also in 2.0.4).</p>
628
629 </div>
630
631 <h3>Web Interface</h3>
632
633 <div class=section>
634
635 <p>The web interface now uses cookies to remember user identity, and
636 allows online registration of new users. Also it is no longer
637 necessary to manually specify the URL of the web interface (but you
638 can override it if you don't like the value it figures out).</p>
639
640 <p>It is possible to allow users to register via the web interface.</p>
641
642 <p>The web interface's browser support has been improved. It has
643 been tested with Firefox 2, Safari 3, Konqueror 3, Internet Explorer
644 7 and Opera 9.</p>
645
646 </div>
647
648 <h3>Disobedience</h3>
649
650 <div class=section>
651
652 <p>A bug which would cause a crash if you attempt to rearrange the
653 queue while no track was playing has been fixed. There is a new
654 'deselect all tracks' option, mirroring 'select all tracks.</p>
655
656 </div>
657
658 </div>
659
660 <!--
661 Local Variables:
662 fill-column:79
663 indent-tabs-mode:nil
664 End:
665 -->