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.2</h2>
21 <h3>PulseAudio Support</h3>
25 <p>PulseAudio is now supported, if the support library is available at
26 build time. It is the default for client applications, reflecting its
27 widespread use in desktop environments.</p>
29 <p>Volume setting is not currently supported when PulseAudio is in
34 <h3>Changes To RTP Support</h3>
38 <p>Disobedience now has a menu to select the network playback API.</p>
40 <p><code>disorder-playrtp</code> now selects playback API using
41 a <code>--api</code> option. The old API-selection options remain
42 available but are deprecated and will be removed in the future.</p>
44 <p>RTP playback can now transmit to multiple unicast destinations, added
45 and removed on demand. This is controlled by the new <code>rtp_mode</code>
46 option. The motivating use case is a bridged network with high- and
47 low-capacity components. However it is may also be useful in a routed
48 network without multicast routing support.</p>
52 <h3>GStreamer support</h3>
56 <p>If it's detected at <tt>configure</tt> time, a new decoder
57 program <tt>disorder-gstdecode</tt> is built. It uses the GStreamer
58 library for audio decoding and sample-rate conversion, among other
61 <p>The decoder has a number of options for controlling the sample-rate and
62 audio format conversion, allowing various tradeoffs between quality and
63 processor time. (High-quality conversion can consume more processor time
64 than decoding, so this is potentially useful on very a small device such as
67 <p>The GStreamer decoder can also use ReplayGain information stored in
68 audio files' metadata to adjust playback volume, so that tracks with very
69 wide dynamic range don't sound really quiet in comparison. This
70 information can be added using tools such as <tt>mp3gain</tt>,
71 <tt>vorbisgain</tt>, or <tt>metaflac</tt>. This is turned on by default if
72 you use the decoder; you can choose between per-album or per-track
73 settings, or turn it off entirely, using command-line options.</p>
75 <p>The GStreamer decoder is not used by default, but it can be enabled
76 easily enough by dropping something like the following into the server
80 player *.flac execraw /usr/sbin/disorder-gstdecode -ralbum -f-8.0
81 player *.mp2 execraw /usr/sbin/disorder-gstdecode -ralbum -f-8.0
82 player *.mp3 execraw /usr/sbin/disorder-gstdecode -ralbum -f-8.0
83 player *.ogg execraw /usr/sbin/disorder-gstdecode -ralbum -f-8.0
84 player *.wav execraw /usr/sbin/disorder-gstdecode -ralbum -f-8.0
93 <li>The CGI program now checks user passwords even when it runs as the
94 main jukebox user(!).</li>
96 <li>DisObedience doesn't crash when search terms change under its
99 <li>The CGI program doesn't crash on some POST requests.
106 <h2>Changes up to version 5.1.1</h2>
115 <li><code>player</code> and <code>tracklength</code> can now be used
116 without arguments to clear the lists, as per the documentation.</li>
118 <li>Tracks without a player are forgotten upon rescan.</li>
120 <li>The speaker process avoids splitting frames.</li>
123 <p>Thanks to Mark Wooding and Joe Birr-Pixton.</p>
129 <h2>Changes up to version 5.1</h2>
133 <h3>Removable Device Support</h3>
137 <p>The server will now automatically initiate a rescan when a filesystem is
138 mounted or unmounted. (Use the <tt>mount_rescan</tt> option if you want to
139 suppress this behavior.)</p>
141 <p>The server takes care not to hold audio files open unnecessarily, so
142 that devices can be unmounted even if tracks from them are currently being
147 <h3>Disobedience</h3>
151 <p>You can now edit the <tt>required-tags</tt> and <tt>prohibited-tags</tt>
152 global preferences in Disobedience
153 (<a href="http://code.google.com/p/disorder/issues/detail?id=29">issue
156 <p>The “Manage users” option is now more reliably greyed out if
157 it will not work. This depends on a server change too, so it may still be
158 wrong if a new Disobedience is used against an old server.</p>
160 <p>A <tt>.desktop</tt> file is now shipped, making Disobedience visible as
161 an application in freedesktop.org-compliant systems.</p>
169 <p>The Debian package now includes a cronjob that backs up the database
170 daily. See <tt>/etc/cron.d/disorder</tt>. You can put settings
171 in <tt>/etc/default/disorder</tt> to turn this off or to control how long
172 the backups are kept for.</p>
174 <p>The <tt>disorder-dump -r</tt> option was broken.</p>
176 <p><tt>disorder-dump</tt> now gets permissions right automatically (<a
177 href="http://code.google.com/p/disorder/issues/detail?id=56">issue
186 <p>Unicode support has been upgraded to <a
187 href="http://www.unicode.org/versions/Unicode6.0.0/">Unicode
190 <p>Client programs no longer depend on libdb.</p>
192 <p>The following have been removed:</p>
196 <li>The <tt>allow</tt>, <tt>gap</tt>, <tt>lock</tt>, <tt>prefsync</tt>,
197 <tt>restrict</tt>, <tt>trust</tt> configuration commands. If they still
198 appear in your configuration file then the server will not start.</li>
200 <li>The <tt>columns</tt> web interface option. It will generate an
201 message in your error log but otherwise be ignored.</li>
203 <li>The <tt>--wait-for-device</tt> player option. If it still appears in
204 any player commands, they will not work.</li>
206 <li>Support for automatically importing pre-3.0 users.</li>
210 <p>Various minor bug fixes.</p>
216 <h2>Changes up to version 5.0.3</h2>
220 <p><b>Security</b>: Local connections can no longer create and delete users
221 unless they are properly authorized.</p>
225 <h2>Changes up to version 5.0.2</h2>
229 <p>The login form now indicates that a cookie will be set.</p>
233 <h2>Changes up to version 5.0.1</h2>
237 <h3>Disobedience</h3>
241 <p>The sense of the Control → Playing menu item was fixed.</p>
247 <h2>Changes up to version 5.0</h2>
255 <p>The <tt>device</tt> configuration option now works under OS X.
257 be specified either by UID or name. Fixes <a
258 href="http://code.google.com/p/disorder/issues/detail?id=27">Issue
261 <p>Gapless play should be more reliable, and playback latency over RTP
262 should be a bit lower. Note though that all the sound output code has
263 been reorganized and in some cases completely rewritten, so it's possible
264 that bugs may have been (re-)introduced. Decoding of scratches is also
265 initiated ahead of time, giving more reliable playback.</p>
267 <p>The <tt>command</tt> backend now (optionally) sends silence instead
268 of suspending writes when a pause occurs or no track is playing.</p>
270 <p>If <a href="http://www.mega-nerd.com/SRC/">libsamplerate</a> is
271 available at build time then that will be used instead of invoking
272 <a href="http://sox.sourceforge.net/">SoX</a>. SoX support will be
273 removed in a future version.</p>
275 <p>The libao plugin has been removed, because the plugin API is not
276 usable in libao 1.0.0.</p>
278 <p>Playlists are now supported. These allow a collection of tracks to be
279 prepared offline and played as a unit.</p>
283 <h3>Disobedience</h3>
287 <p>Multiple tracks can now be dragged in the queue in a single operation.
288 Furthermore, it is now possible to drag tracks from the
289 “Recent”, “Added” and “Choose” tabs
292 <p>Disobedience now supports playlist editing and has a compact mode,
293 available from the <b>Control</b> menu.</p>
295 <p>Disobedience has a <a href="disobedience/manual/index.html">new
300 <h3>Web Interface</h3>
304 <p>Confirmation URLs should be cleaner (and in particular not end
305 with punctuation). (Please see <a
306 href="README.upgrades.html">README.upgrades</a> for more about this.)</p>
314 <p>There is a new <tt>--command</tt> option which allows the RTP player
315 to send audio data to a user-chosen command instead of an audio API. See
316 the man page for details.</p>
318 <p>The <tt>--device</tt> option to <tt>disorder-playrtp</tt> now works
319 under OS X (as above).</p>
327 <p>IPv6 should now work. Network address specifications
328 (<tt>listen</tt>, <tt>connect</tt> etc) can now be prefixed with
329 <tt>-4</tt> or <tt>-6</tt> to force use
330 of IPv4 or IPv6, though normally this should not be needed.</p>
332 <p>Unicode support has been upgraded to <a
333 href="http://www.unicode.org/versions/Unicode5.1.0/">Unicode
336 <p>Various elements of the source code have been
352 <td><a href="http://code.google.com/p/disorder/issues/detail?id=22">#22</a></td>
353 <td>Background decoders interact badly with server reload</td>
357 <td><a href="http://code.google.com/p/disorder/issues/detail?id=27">#27</a></td>
358 <td>Mac DisOrder uses wrong sound device</td>
362 <td><a href="http://code.google.com/p/disorder/issues/detail?id=30">#30</a></td>
363 <td>mini disobedience interface</td>
367 <td><a href="http://code.google.com/p/disorder/issues/detail?id=32">#32</a></td>
368 <td>Excessively verbose log chatter on shutdown</td>
372 <td><a href="http://code.google.com/p/disorder/issues/detail?id=33">#33</a></td>
373 <td>(Some) plugins need -lm.</td>
377 <td><a href="http://code.google.com/p/disorder/issues/detail?id=39">#39</a></td>
378 <td>Double bind() non-multicast AF_INET</td>
382 <td><a href="http://code.google.com/p/disorder/issues/detail?id=40">#40</a></td>
383 <td>Missing stub function</td>
387 <td><a href="http://code.google.com/p/disorder/issues/detail?id=41">#41</a></td>
388 <td>Missing includes for timeval</td>
392 <td><a href="http://code.google.com/p/disorder/issues/detail?id=42">#42</a></td>
393 <td>syntax error in empeg_host section</td>
397 <td><a href="http://code.google.com/p/disorder/issues/detail?id=43">#43</a></td>
398 <td>decoder segfault with FLAC 1.2.1</td>
402 <td><a href="http://code.google.com/p/disorder/issues/detail?id=44">#44</a></td>
403 <td>gcc 4.3.2-1ubuntu12 SUYB patch</td>
407 <td><a href="http://code.google.com/p/disorder/issues/detail?id=45">#45</a></td>
408 <td>disobedience doesn't configure its back end</td>
412 <td><a href="http://code.google.com/p/disorder/issues/detail?id=46">#46</a></td>
413 <td>Sort search results in web interface</td>
417 <td><a href="http://code.google.com/p/disorder/issues/detail?id=48">#48</a></td>
418 <td>build-time dependency on <tt>oggdec</tt> removed</td>
422 <td><a href="http://code.google.com/p/disorder/issues/detail?id=49">#49</a></td>
423 <td>Disobedience's 'When' column gets out of date</td>
427 <td><a href="http://code.google.com/p/disorder/issues/detail?id=51">#51</a></td>
428 <td>Improved speaker process robustness</td>
433 <td>“found track in no collection” messages for scratches
434 are now suppressed</td>
439 <td>Disobedience would sometimes fail to notice when a track
440 started, leading to its display getting out of date.</td>
447 <h2>Changes up to version 4.3</h2>
451 <h3>Disobedience</h3>
455 <p>A bug was fixed in the calculation of how much of the track had
456 played. This would lead to the counter showing incorrect values in
457 various situations.</p>
459 <p>Disobedience's icons have been changed to larger, more colorful
460 ones. The SVG source is included if you want to fiddle with them.</p>
462 <p>“Select all” is now no longer available in the choose
463 tab. Instead there is a new “Select children” option which
464 selects the file children of a single subdirectory.</p>
472 <p>The selection bias for newly added tracks was reduced by half. You
473 can put it back to the old very neophilic value with
474 “<tt>new_bias 900000</tt>” in the config file.</p>
476 <p>It is now possible to ‘adopt’ randomly picked tracks.
477 Disobedience and the command-line client support this but the web
478 interface does not.</p>
480 <p>The default track name parsing was modified to handle filenames
481 generated by iTunes.</p>
485 <h3>Miscellaneous</h3>
489 <p><tt>disorderfm</tt> now preserves directory permissions.</p>
491 <p>DisOrder is now licensed under <a
492 href="http://www.gnu.org/licenses/gpl-3.0.html">GPL v3</a>. The main
493 goal is to prohibit <a
494 href="http://en.wikipedia.org/wiki/Tivoization">Tivoization</a>.</p>
496 <p>The build system will now automatically cope with Fink's broken GTK+
497 packages. There are a number of improvements to the Debian
500 <p>DisOrder now builds on 64-bit Linux systems.</p>
502 <p>There are various minor fixes.</p>
517 <td><a href="http://code.google.com/p/disorder/issues/detail?id=24">#24</a></td>
518 <td>Fails to build on ubuntu 8.10</td>
521 <td><a href="http://code.google.com/p/disorder/issues/detail?id=26">#26</a></td>
522 <td>Disobedience shows wrong track elapsed time after a pause</td>
529 <h2>Changes up to version 4.2</h2>
533 <h3>Disobedience</h3>
537 <p>The login window now has a 'remote' switch. If this is turned off
538 then Disobedience will connect to a local server. Formerly it would
539 always use TCP/IP.</p>
541 <p>The Delete and backspace keys will now remove tracks from the queue.
542 Escape will now dismiss the properties, users or login windows and return
543 now works in the login and properties windows.</p>
547 <h3>Documentation</h3>
551 <p>Track and global preferences are now described in a new
552 <b>disorder_preferences</b>(5) man page.</p>
567 <td><a href="http://code.google.com/p/disorder/issues/detail?id=21">#21</a></td>
568 <td>CGI should use PATH_INFO more sensibly</td>
576 <h2>Changes up to version 4.1.1</h2>
580 <p>Disobedience's “Login” window now works when you are logged
585 <h2>Changes up to version 4.1</h2>
589 <h3>Disobedience</h3>
593 <p>Disobedience has been largely rewritten:</p>
597 <li>All the tabs now use native GTK+ list/tree widgets, resulting in
598 greater speed in some cases and more consistency with other GTK+
601 <li>You can now use type-ahead find in the choose tab. The initiation
602 of a search is delayed slightly to avoid lots of updates when you're
603 half way through entering search terms.</li>
605 <li>The choose tab now shows track lengths.</li>
607 <li>Many buttons are now more reliably made insensitive when they can't
610 <li>You can now play tracks off the recent tab.</li>
614 <p>Disobedience attempts to cope with servers from older versions, up to
615 a point, but this is not well tested and it's best to keep the server
616 fully up to date.</p>
624 <p>When a track shares a directory with its alias, the real track name is
625 now returned instead of the alias (the opposite way round to the previous
631 <h2>Changes up to version 4.0.2</h2>
635 <p>Corrected web browser linked from Disobedience.</p>
639 <h2>Changes up to version 4.0.1</h2>
643 <p>Libtool and Automake now install the CGI correctly. As part of this,
644 <tt>cgidir</tt> has been renamed to <tt>cgiexecdir</tt>. The configure
645 script will report an error if you try to use the old name.</p>
649 <h2>Changes up to version 4.0</h2>
657 <p>The <tt>gap</tt> directive will no longer work. It could be
658 restored if there is real demand.</p>
660 <h4>Event Scheduling</h4>
664 <p>It is now possible to schedule events to occur in the future.
665 Currently the supported actions are playing a specific track, and
666 changing a global preference (thus allowing e.g. random play to be
667 turned on or off). See the <tt>schedule-*</tt>
668 commands described in disorder(1).</p>
672 <h4>Random Track Choice</h4>
676 <p>This has been completely rewritten to support new features:</p>
680 <li>tracks in the recently-played list or in the queue are no longer
681 eligible for random choice.</li>
683 <li>there is a new <tt>weight</tt> track preference allowing for
684 non-uniform track selection. See disorder(1) for details.</li>
686 <li>there is a new configuration item <tt>replay_min</tt> defining
687 the minimum time before a played track can be picked at random.
688 The default is 8 hours (which matches the earlier behaviour).</li>
690 <li>recently added tracks are biased up; see <tt>new_bias</tt> and
691 <tt>new_bias_age</tt> in disorder_config(5).</li>
697 <h4>Web Interface</h4>
701 <p>This has been largely rewritten. The most immediate benefits are:</p>
705 <li>the search page is integrated into the choose page, and
706 includes links to parent directories.</li>
708 <li>if you try to do something you have insufficient rights for,
709 instead of getting an error page or nothing happening, you are
710 redirected to the login page.</li>
714 <p>Customizers should find their lives easier: the syntax is less onerous, it
715 is possible to define macros to avoid repetition, and the documentation is
716 less monolithic (see disorder.cgi(8) as a starting point).</p>
718 <p>Mail is now sent via the system sendmail program, though it remains
719 possible to use TCP to connect to an SMTP server. See <tt>sendmail</tt> and
720 <tt>smtp_server</tt> in disorder_config(5).</p>
722 <p>The web interface is now installed automatically. If you don't want it,
723 use <tt>./configure --without-cgi</tt>. If you want it in a non-default
724 location, or no location for it is detected, set <tt>cgidir</tt>
725 and <tt>httpdir</tt> on the <tt>./configure</tt> command line.</p>
731 <h3>Disobedience</h3>
735 <p>There is now a new user management window. From here you can add and
736 remove users or modify their settings.</p>
738 <p>Relatedly, the server will only allow remote user management if you set
739 <tt>remote_userman</tt> to <tt>yes</tt>.</p>
743 <h3>Miscellaneous</h3>
747 <p><tt>scripts/setup</tt> now honors command line options, and can
748 set up network play as well as the local default sound device.</p>
763 <td><a href="http://code.google.com/p/disorder/issues/detail?id=2">#2</a></td>
764 <td>Search results should link to directories</td>
768 <td><a href="http://code.google.com/p/disorder/issues/detail?id=6">#6</a></td>
769 <td>Schedule tracks for a particular time</td>
773 <td><a href="http://code.google.com/p/disorder/issues/detail?id=10">#10</a></td>
774 <td>Non-uniform track selection</td>
778 <td><a href="http://code.google.com/p/disorder/issues/detail?id=11">#11</a></td>
779 <td>Bias random selection to newly added tracks</td>
783 <td><a href="http://code.google.com/p/disorder/issues/detail?id=13">#13</a></td>
784 <td>Default encoding for debian setup scripts</td>
788 <td><a href="http://code.google.com/p/disorder/issues/detail?id=16">#16</a></td>
789 <td>Cookie expiry causes user to be silently logged out and not
790 subsequently redirected to login page</td>
794 <td><a href="http://code.google.com/p/disorder/issues/detail?id=20">#20</a></td>
795 <td>Broken aliasing rules</td>
804 <h2>Changes up to version 3.0.2</h2>
808 <p>Builds <tt>--without-server</tt> should work again.</p>
810 <p>The web interface is a bit more liberal in the cookie value
811 syntax it will accept.</p>
813 <p>Clients fail more gracefully if no password is available.</p>
817 <h2>Changes up to version 3.0.1</h2>
821 <p>Debian upgrades from 2.0.x should now work better.</p>
825 <h2>Changes up to version 3.0</h2>
829 <p><b>Important</b>! See <a
830 href="README.upgrades.html">README.upgrades</a> when upgrading.</p>
832 <h3>Platforms And Installation</h3>
836 <p>Mac OS X and FreeBSD are somewhat supported. There is now a bash
837 script in <tt>scripts/setup</tt> which will automate the setup after
838 <tt>make install</tt>.</p>
846 <p>Users are now stored in the database rather than a configuration
849 <p>The server now has a built-in list of stopwords and players, so
850 only additions to these need be mentioned in the configuration file.</p>
852 <p>The default inter-track gap is now 0s.</p>
854 <p>How sound is played is now controlled via the new <tt>api</tt>
855 configuration command. This also controls how the volume is set,
856 which now works with ALSA as well as OSS.</p>
858 <p>A bug in the MP3 decoder was fixed (also in 2.0.4).</p>
862 <h3>Web Interface</h3>
866 <p>The web interface now uses cookies to remember user identity, and
867 allows online registration of new users. Also it is no longer
868 necessary to manually specify the URL of the web interface (but you
869 can override it if you don't like the value it figures out).</p>
871 <p>It is possible to allow users to register via the web interface.</p>
873 <p>The web interface's browser support has been improved. It has
874 been tested with Firefox 2, Safari 3, Konqueror 3, Internet Explorer
879 <h3>Disobedience</h3>
883 <p>A bug which would cause a crash if you attempt to rearrange the
884 queue while no track was playing has been fixed. There is a new
885 'deselect all tracks' option, mirroring 'select all tracks.</p>