3 This file describes DisOrder's relationship to several different things that
8 DisOrder is capable of transmitting RTP streams over a suitable network.
12 To enable this make sure that all players use the speaker process, i.e. execraw
13 rather than exec (or it won't work properly) and configure the network speaker
17 broadcast 172.17.207.255 9003
18 broadcast_from 172.17.207.2 9002
20 The destination address (broadcast) can be:
21 - a broadcast address for a local network
24 The source address (broadcast_from) is optional but may be convenient in some
27 If the destination is a multicast address then you should set the TTL, for
32 (The destination can also be a unicast address but that's not a tested
35 scripts/setup now knows how to do basic setup for network play.
39 To play, use the disorder-playrtp client. If the destination address was a
40 unicast or broadcast address then:
44 If the destination address was a multicast address then you must specify that,
47 disorder-playrtp 224.2.3.4 9003
49 If the client machine has a DisOrder configuration file allowing disorder(1) to
50 connect to the server then the parameters are unnecessary: disorder-playrtp
51 will figure out the details automatically.
55 Disobedience is capable of running disorder-playrtp in the background (provided
56 it is installed); look for the speaker icon. If it detects that the server is
57 using network play then its volume control will apply to the local volume, not
60 If you run into trouble look for *.log files in the ~/.disorder directory.
64 Currently only 16-bit 44100Hz stereo is supported, which requires about
65 1.4Mbit/s. At the time of writing I've found this to work fine on 100Mbit/s
66 ethernet and had reports of success with 10Mbit/s ethernet, but have not had
67 any success with wireless.
69 Possibly other lower-quality but lower-bandwidth encodings will be supported in
72 If you have a very recent version of sox you may need to set the sox_generation
73 option. See disorder_config(5).
78 This can be achieved using the speaker_command option and Icecast (see
79 http://www.icecast.org/). It will only work if you use the speaker process,
80 i.e. execraw for everything.
84 speaker_command "ices2 /etc/disorder/ices.xml"
90 <background>0</background>
91 <logpath>/var/log/ices</logpath>
92 <logfile>disorder.log</logfile>
93 <loglevel>4</loglevel>
94 <consolelog>0</consolelog>
98 <genre>Various</genre>
99 <description>lyonesse disorder output</description>
102 <module>stdinpcm</module>
103 <param name="rate">44100</param>
104 <param name="channels">2</param>
105 <param name="metadata">1</param>
106 <param name="metadatafilename">/var/disorder/icedata</param>
109 <hostname>lyonesse.anjou.terraraq.org.uk</hostname>
111 <password>SOURCE PASSWORD HERE</password>
112 <mount>/disorder.ogg</mount>
113 <reconnectdelay>2</reconnectdelay>
114 <reconnectattempts>5</reconnectattempts>
115 <maxqueuelength>80</maxqueuelength>
117 <nominal-bitrate>64000</nominal-bitrate>
118 <samplerate>44100</samplerate>
119 <channels>2</channels>
120 <flush-samples>8820</flush-samples>
126 This doesn't seem to get on very well with pausing but you're unlikely to want
127 to pause a stream in any case. I used IceCast 2.3.1 and Ices 2.0.1. You can
128 play the stream with XMMS or whatever. The total setup seems to play rather
129 behind the 'current' time, watch this space for a fix (or contribute one!)
131 If you have a too-recent version of sox you may need to set the sox_generation
134 Mark Wooding contributed the original support for this but it's been modified
135 enough that he probably shouldn't be blamed for any bugs in the current code.
138 * DisOrder and Republishing Internet Streams
140 DisOrder doesn't have any built-in support for playing streams but you can make
141 it do so. I use the following in my configuration file:
143 player /export/radio/*.oggradio shell 'xargs ogg123 -q < "$TRACK"'
144 collection fs iso-8859-1 /export/radio
146 After setting this up you'll need to re-read the config file and provoke a
149 disorder reconfigure rescan /export/radio
151 /export/radio contains a file for each stream, containing the URL to use:
153 lyonesse$ cat /export/radio/CUR1350.oggradio
154 http://cur.chu.cam.ac.uk:8000/cur.ogg
156 You'll probably want to prevent random play of streams:
158 disorder set /export/radio/CUR1350.oggradio pick_at_random 0
160 You can then queue a stream like any other track. It won't automatically
161 interrupt the playing track, you have to scratch it manually. Go back to
162 normal play by scratching the stream.