1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
4 <title>DisOrder Change History</title>
5 <link rel=StyleSheet type="text/css" href="docs.css">
9 <h1>DisOrder Change History</h1>
11 <p>This file documents recent user-visible changes to <a
12 href="http://www.greenend.org.uk/rjk/disorder/">DisOrder</a>.</p>
14 <p><b>IMPORTANT</b>: you should read <a
15 href="README.upgrades.html">README.upgrades</a> before upgrading.</p>
17 <h2>Changes up to version 5.1</h2>
21 <h3>Removable Device Support</h3>
25 <p>The server will now automatically initiate a rescan when a filesystem is
26 mounted or unmounted. (Use the <tt>mount_rescan</tt> option if you want to
27 suppress this behavior.)</p>
29 <p>The server takes care not to hold audio files open unnecessarily, so
30 that devices can be unmounted even if tracks from them are currently being
39 <p>You can now edit the <tt>required-tags</tt> and <tt>prohibited-tags</tt>
40 global preferences in Disobedience
41 (<a href="http://code.google.com/p/disorder/issues/detail?id=29">issue
44 <p>The “Manage users” option is now more reliably greyed out if
45 it will not work. This depends on a server change too, so it may still be
46 wrong if a new Disobedience is used against an old server.</p>
48 <p>A <tt>.desktop</tt> file is now shipped, making Disobedience visible as
49 an application in freedesktop.org-compliant systems.</p>
57 <p>The Debian package now includes a cronjob that backs up the database
58 daily. See <tt>/etc/cron.d/disorder</tt>. You can put settings
59 in <tt>/etc/default/disorder</tt> to turn this off or to control how long
60 the backups are kept for.</p>
62 <p>The <tt>disorder-dump -r</tt> option was broken.</p>
64 <p><tt>disorder-dump</tt> now gets permissions right automatically (<a
65 href="http://code.google.com/p/disorder/issues/detail?id=56">issue
70 <h3>GStreamer support</h3>
74 <p>If it's detected at <tt>configure</tt> time, a new decoder
75 program <tt>disorder-gstdecode</tt> is built. It uses the GStreamer
76 library for audio decoding and sample-rate conversion, among other
79 <p>The decoder has a number of options for controlling the sample-rate and
80 audio format conversion, allowing various tradeoffs between quality and
81 processor time. (High-quality conversion can consume more processor time
82 than decoding, so this is potentially useful on very a small device such as
85 <p>The GStreamer decoder can also use ReplayGain information stored in
86 audio files' metadata to adjust playback volume, so that tracks with very
87 wide dynamic range don't sound really quiet in comparison. This
88 information can be added using tools such as <tt>mp3gain</tt>,
89 <tt>vorbisgain</tt>, or <tt>metaflac</tt>. This is turned on by default if
90 you use the decoder; you can choose between per-album or per-track
91 settings, or turn it off entirely, using command-line options.</p>
93 <p>The GStreamer decoder is not used by default, but it can be enabled
94 easily enough by dropping something like the following into the server
98 player *.flac execraw /usr/sbin/disorder-gstdecode -ralbum -f-8.0
99 player *.mp2 execraw /usr/sbin/disorder-gstdecode -ralbum -f-8.0
100 player *.mp3 execraw /usr/sbin/disorder-gstdecode -ralbum -f-8.0
101 player *.ogg execraw /usr/sbin/disorder-gstdecode -ralbum -f-8.0
102 player *.wav execraw /usr/sbin/disorder-gstdecode -ralbum -f-8.0
110 <p>Unicode support has been upgraded to <a
111 href="http://www.unicode.org/versions/Unicode6.0.0/">Unicode
114 <p>Client programs no longer depend on libdb.</p>
116 <p>The following have been removed:</p>
120 <li>The <tt>allow</tt>, <tt>gap</tt>, <tt>lock</tt>, <tt>prefsync</tt>,
121 <tt>restrict</tt>, <tt>trust</tt> configuration commands. If they still
122 appear in your configuration file then the server will not start.</li>
124 <li>The <tt>columns</tt> web interface option. It will generate an
125 message in your error log but otherwise be ignored.</li>
127 <li>The <tt>--wait-for-device</tt> player option. If it still appears in
128 any player commands, they will not work.</li>
130 <li>Support for automatically importing pre-3.0 users.</li>
134 <p>Various minor bug fixes.</p>
140 <h2>Changes up to version 5.0.3</h2>
144 <p><b>Security</b>: Local connections can no longer create and delete users
145 unless they are properly authorized.</p>
149 <h2>Changes up to version 5.0.2</h2>
153 <p>The login form now indicates that a cookie will be set.</p>
157 <h2>Changes up to version 5.0.1</h2>
161 <h3>Disobedience</h3>
165 <p>The sense of the Control → Playing menu item was fixed.</p>
171 <h2>Changes up to version 5.0</h2>
179 <p>The <tt>device</tt> configuration option now works under OS X.
181 be specified either by UID or name. Fixes <a
182 href="http://code.google.com/p/disorder/issues/detail?id=27">Issue
185 <p>Gapless play should be more reliable, and playback latency over RTP
186 should be a bit lower. Note though that all the sound output code has
187 been reorganized and in some cases completely rewritten, so it's possible
188 that bugs may have been (re-)introduced. Decoding of scratches is also
189 initiated ahead of time, giving more reliable playback.</p>
191 <p>The <tt>command</tt> backend now (optionally) sends silence instead
192 of suspending writes when a pause occurs or no track is playing.</p>
194 <p>If <a href="http://www.mega-nerd.com/SRC/">libsamplerate</a> is
195 available at build time then that will be used instead of invoking
196 <a href="http://sox.sourceforge.net/">SoX</a>. SoX support will be
197 removed in a future version.</p>
199 <p>The libao plugin has been removed, because the plugin API is not
200 usable in libao 1.0.0.</p>
202 <p>Playlists are now supported. These allow a collection of tracks to be
203 prepared offline and played as a unit.</p>
207 <h3>Disobedience</h3>
211 <p>Multiple tracks can now be dragged in the queue in a single operation.
212 Furthermore, it is now possible to drag tracks from the
213 “Recent”, “Added” and “Choose” tabs
216 <p>Disobedience now supports playlist editing and has a compact mode,
217 available from the <b>Control</b> menu.</p>
219 <p>Disobedience has a <a href="disobedience/manual/index.html">new
224 <h3>Web Interface</h3>
228 <p>Confirmation URLs should be cleaner (and in particular not end
229 with punctuation). (Please see <a
230 href="README.upgrades.html">README.upgrades</a> for more about this.)</p>
238 <p>There is a new <tt>--command</tt> option which allows the RTP player
239 to send audio data to a user-chosen command instead of an audio API. See
240 the man page for details.</p>
242 <p>The <tt>--device</tt> option to <tt>disorder-playrtp</tt> now works
243 under OS X (as above).</p>
251 <p>IPv6 should now work. Network address specifications
252 (<tt>listen</tt>, <tt>connect</tt> etc) can now be prefixed with
253 <tt>-4</tt> or <tt>-6</tt> to force use
254 of IPv4 or IPv6, though normally this should not be needed.</p>
256 <p>Unicode support has been upgraded to <a
257 href="http://www.unicode.org/versions/Unicode5.1.0/">Unicode
260 <p>Various elements of the source code have been
276 <td><a href="http://code.google.com/p/disorder/issues/detail?id=22">#22</a></td>
277 <td>Background decoders interact badly with server reload</td>
281 <td><a href="http://code.google.com/p/disorder/issues/detail?id=27">#27</a></td>
282 <td>Mac DisOrder uses wrong sound device</td>
286 <td><a href="http://code.google.com/p/disorder/issues/detail?id=30">#30</a></td>
287 <td>mini disobedience interface</td>
291 <td><a href="http://code.google.com/p/disorder/issues/detail?id=32">#32</a></td>
292 <td>Excessively verbose log chatter on shutdown</td>
296 <td><a href="http://code.google.com/p/disorder/issues/detail?id=33">#33</a></td>
297 <td>(Some) plugins need -lm.</td>
301 <td><a href="http://code.google.com/p/disorder/issues/detail?id=39">#39</a></td>
302 <td>Double bind() non-multicast AF_INET</td>
306 <td><a href="http://code.google.com/p/disorder/issues/detail?id=40">#40</a></td>
307 <td>Missing stub function</td>
311 <td><a href="http://code.google.com/p/disorder/issues/detail?id=41">#41</a></td>
312 <td>Missing includes for timeval</td>
316 <td><a href="http://code.google.com/p/disorder/issues/detail?id=42">#42</a></td>
317 <td>syntax error in empeg_host section</td>
321 <td><a href="http://code.google.com/p/disorder/issues/detail?id=43">#43</a></td>
322 <td>decoder segfault with FLAC 1.2.1</td>
326 <td><a href="http://code.google.com/p/disorder/issues/detail?id=44">#44</a></td>
327 <td>gcc 4.3.2-1ubuntu12 SUYB patch</td>
331 <td><a href="http://code.google.com/p/disorder/issues/detail?id=45">#45</a></td>
332 <td>disobedience doesn't configure its back end</td>
336 <td><a href="http://code.google.com/p/disorder/issues/detail?id=46">#46</a></td>
337 <td>Sort search results in web interface</td>
341 <td><a href="http://code.google.com/p/disorder/issues/detail?id=48">#48</a></td>
342 <td>build-time dependency on <tt>oggdec</tt> removed</td>
346 <td><a href="http://code.google.com/p/disorder/issues/detail?id=49">#49</a></td>
347 <td>Disobedience's 'When' column gets out of date</td>
351 <td><a href="http://code.google.com/p/disorder/issues/detail?id=51">#51</a></td>
352 <td>Improved speaker process robustness</td>
357 <td>“found track in no collection” messages for scratches
358 are now suppressed</td>
363 <td>Disobedience would sometimes fail to notice when a track
364 started, leading to its display getting out of date.</td>
371 <h2>Changes up to version 4.3</h2>
375 <h3>Disobedience</h3>
379 <p>A bug was fixed in the calculation of how much of the track had
380 played. This would lead to the counter showing incorrect values in
381 various situations.</p>
383 <p>Disobedience's icons have been changed to larger, more colorful
384 ones. The SVG source is included if you want to fiddle with them.</p>
386 <p>“Select all” is now no longer available in the choose
387 tab. Instead there is a new “Select children” option which
388 selects the file children of a single subdirectory.</p>
396 <p>The selection bias for newly added tracks was reduced by half. You
397 can put it back to the old very neophilic value with
398 “<tt>new_bias 900000</tt>” in the config file.</p>
400 <p>It is now possible to ‘adopt’ randomly picked tracks.
401 Disobedience and the command-line client support this but the web
402 interface does not.</p>
404 <p>The default track name parsing was modified to handle filenames
405 generated by iTunes.</p>
409 <h3>Miscellaneous</h3>
413 <p><tt>disorderfm</tt> now preserves directory permissions.</p>
415 <p>DisOrder is now licensed under <a
416 href="http://www.gnu.org/licenses/gpl-3.0.html">GPL v3</a>. The main
417 goal is to prohibit <a
418 href="http://en.wikipedia.org/wiki/Tivoization">Tivoization</a>.</p>
420 <p>The build system will now automatically cope with Fink's broken GTK+
421 packages. There are a number of improvements to the Debian
424 <p>DisOrder now builds on 64-bit Linux systems.</p>
426 <p>There are various minor fixes.</p>
441 <td><a href="http://code.google.com/p/disorder/issues/detail?id=24">#24</a></td>
442 <td>Fails to build on ubuntu 8.10</td>
445 <td><a href="http://code.google.com/p/disorder/issues/detail?id=26">#26</a></td>
446 <td>Disobedience shows wrong track elapsed time after a pause</td>
453 <h2>Changes up to version 4.2</h2>
457 <h3>Disobedience</h3>
461 <p>The login window now has a 'remote' switch. If this is turned off
462 then Disobedience will connect to a local server. Formerly it would
463 always use TCP/IP.</p>
465 <p>The Delete and backspace keys will now remove tracks from the queue.
466 Escape will now dismiss the properties, users or login windows and return
467 now works in the login and properties windows.</p>
471 <h3>Documentation</h3>
475 <p>Track and global preferences are now described in a new
476 <b>disorder_preferences</b>(5) man page.</p>
491 <td><a href="http://code.google.com/p/disorder/issues/detail?id=21">#21</a></td>
492 <td>CGI should use PATH_INFO more sensibly</td>
500 <h2>Changes up to version 4.1.1</h2>
504 <p>Disobedience's “Login” window now works when you are logged
509 <h2>Changes up to version 4.1</h2>
513 <h3>Disobedience</h3>
517 <p>Disobedience has been largely rewritten:</p>
521 <li>All the tabs now use native GTK+ list/tree widgets, resulting in
522 greater speed in some cases and more consistency with other GTK+
525 <li>You can now use type-ahead find in the choose tab. The initiation
526 of a search is delayed slightly to avoid lots of updates when you're
527 half way through entering search terms.</li>
529 <li>The choose tab now shows track lengths.</li>
531 <li>Many buttons are now more reliably made insensitive when they can't
534 <li>You can now play tracks off the recent tab.</li>
538 <p>Disobedience attempts to cope with servers from older versions, up to
539 a point, but this is not well tested and it's best to keep the server
540 fully up to date.</p>
548 <p>When a track shares a directory with its alias, the real track name is
549 now returned instead of the alias (the opposite way round to the previous
555 <h2>Changes up to version 4.0.2</h2>
559 <p>Corrected web browser linked from Disobedience.</p>
563 <h2>Changes up to version 4.0.1</h2>
567 <p>Libtool and Automake now install the CGI correctly. As part of this,
568 <tt>cgidir</tt> has been renamed to <tt>cgiexecdir</tt>. The configure
569 script will report an error if you try to use the old name.</p>
573 <h2>Changes up to version 4.0</h2>
581 <p>The <tt>gap</tt> directive will no longer work. It could be
582 restored if there is real demand.</p>
584 <h4>Event Scheduling</h4>
588 <p>It is now possible to schedule events to occur in the future.
589 Currently the supported actions are playing a specific track, and
590 changing a global preference (thus allowing e.g. random play to be
591 turned on or off). See the <tt>schedule-*</tt>
592 commands described in disorder(1).</p>
596 <h4>Random Track Choice</h4>
600 <p>This has been completely rewritten to support new features:</p>
604 <li>tracks in the recently-played list or in the queue are no longer
605 eligible for random choice.</li>
607 <li>there is a new <tt>weight</tt> track preference allowing for
608 non-uniform track selection. See disorder(1) for details.</li>
610 <li>there is a new configuration item <tt>replay_min</tt> defining
611 the minimum time before a played track can be picked at random.
612 The default is 8 hours (which matches the earlier behaviour).</li>
614 <li>recently added tracks are biased up; see <tt>new_bias</tt> and
615 <tt>new_bias_age</tt> in disorder_config(5).</li>
621 <h4>Web Interface</h4>
625 <p>This has been largely rewritten. The most immediate benefits are:</p>
629 <li>the search page is integrated into the choose page, and
630 includes links to parent directories.</li>
632 <li>if you try to do something you have insufficient rights for,
633 instead of getting an error page or nothing happening, you are
634 redirected to the login page.</li>
638 <p>Customizers should find their lives easier: the syntax is less onerous, it
639 is possible to define macros to avoid repetition, and the documentation is
640 less monolithic (see disorder.cgi(8) as a starting point).</p>
642 <p>Mail is now sent via the system sendmail program, though it remains
643 possible to use TCP to connect to an SMTP server. See <tt>sendmail</tt> and
644 <tt>smtp_server</tt> in disorder_config(5).</p>
646 <p>The web interface is now installed automatically. If you don't want it,
647 use <tt>./configure --without-cgi</tt>. If you want it in a non-default
648 location, or no location for it is detected, set <tt>cgidir</tt>
649 and <tt>httpdir</tt> on the <tt>./configure</tt> command line.</p>
655 <h3>Disobedience</h3>
659 <p>There is now a new user management window. From here you can add and
660 remove users or modify their settings.</p>
662 <p>Relatedly, the server will only allow remote user management if you set
663 <tt>remote_userman</tt> to <tt>yes</tt>.</p>
667 <h3>Miscellaneous</h3>
671 <p><tt>scripts/setup</tt> now honors command line options, and can
672 set up network play as well as the local default sound device.</p>
687 <td><a href="http://code.google.com/p/disorder/issues/detail?id=2">#2</a></td>
688 <td>Search results should link to directories</td>
692 <td><a href="http://code.google.com/p/disorder/issues/detail?id=6">#6</a></td>
693 <td>Schedule tracks for a particular time</td>
697 <td><a href="http://code.google.com/p/disorder/issues/detail?id=10">#10</a></td>
698 <td>Non-uniform track selection</td>
702 <td><a href="http://code.google.com/p/disorder/issues/detail?id=11">#11</a></td>
703 <td>Bias random selection to newly added tracks</td>
707 <td><a href="http://code.google.com/p/disorder/issues/detail?id=13">#13</a></td>
708 <td>Default encoding for debian setup scripts</td>
712 <td><a href="http://code.google.com/p/disorder/issues/detail?id=16">#16</a></td>
713 <td>Cookie expiry causes user to be silently logged out and not
714 subsequently redirected to login page</td>
718 <td><a href="http://code.google.com/p/disorder/issues/detail?id=20">#20</a></td>
719 <td>Broken aliasing rules</td>
728 <h2>Changes up to version 3.0.2</h2>
732 <p>Builds <tt>--without-server</tt> should work again.</p>
734 <p>The web interface is a bit more liberal in the cookie value
735 syntax it will accept.</p>
737 <p>Clients fail more gracefully if no password is available.</p>
741 <h2>Changes up to version 3.0.1</h2>
745 <p>Debian upgrades from 2.0.x should now work better.</p>
749 <h2>Changes up to version 3.0</h2>
753 <p><b>Important</b>! See <a
754 href="README.upgrades.html">README.upgrades</a> when upgrading.</p>
756 <h3>Platforms And Installation</h3>
760 <p>Mac OS X and FreeBSD are somewhat supported. There is now a bash
761 script in <tt>scripts/setup</tt> which will automate the setup after
762 <tt>make install</tt>.</p>
770 <p>Users are now stored in the database rather than a configuration
773 <p>The server now has a built-in list of stopwords and players, so
774 only additions to these need be mentioned in the configuration file.</p>
776 <p>The default inter-track gap is now 0s.</p>
778 <p>How sound is played is now controlled via the new <tt>api</tt>
779 configuration command. This also controls how the volume is set,
780 which now works with ALSA as well as OSS.</p>
782 <p>A bug in the MP3 decoder was fixed (also in 2.0.4).</p>
786 <h3>Web Interface</h3>
790 <p>The web interface now uses cookies to remember user identity, and
791 allows online registration of new users. Also it is no longer
792 necessary to manually specify the URL of the web interface (but you
793 can override it if you don't like the value it figures out).</p>
795 <p>It is possible to allow users to register via the web interface.</p>
797 <p>The web interface's browser support has been improved. It has
798 been tested with Firefox 2, Safari 3, Konqueror 3, Internet Explorer
803 <h3>Disobedience</h3>
807 <p>A bug which would cause a crash if you attempt to rearrange the
808 queue while no track was playing has been fixed. There is a new
809 'deselect all tracks' option, mirroring 'select all tracks.</p>