From 1fe9ef21bdf286f478d9ba13694e9ead933854de Mon Sep 17 00:00:00 2001 Message-Id: <1fe9ef21bdf286f478d9ba13694e9ead933854de.1714975605.git.mdw@distorted.org.uk> From: Mark Wooding Date: Wed, 11 Jul 2007 00:28:18 +0100 Subject: [PATCH] update README.streams to be bidirectional. (don't cross the streams\!) Organization: Straylight/Edgeware From: rjk@greenend.org.uk <> --- README.streams | 69 ++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 67 insertions(+), 2 deletions(-) diff --git a/README.streams b/README.streams index 8c61347..82226d6 100644 --- a/README.streams +++ b/README.streams @@ -1,5 +1,5 @@ -DisOrder and Internet Streams -============================= +DisOrder and Republishing Internet Streams +========================================== DisOrder doesn't have any built-in support for playing streams but you can make it do so. I use the following in my configuration file: @@ -25,6 +25,71 @@ You can then queue a stream like any other track. It won't automatically interrupt the playing track, you have to scratch it manually. Go back to normal play by scratching the stream. + +Creating A Stream Of DisOrder Output +==================================== + +This can be achieved using the speaker_command option and Icecast (see +http://www.icecast.org/). It will only work if you use the speaker process, +i.e. execraw for everything. + +I used: + + speaker_command "ices2 /etc/disorder/ices.xml" + +where ices.xml is: + + + + 0 + /var/log/ices + disorder.log + 4 + 0 + + + lyonesse + Various + lyonesse disorder output + + + stdinpcm + 44100 + 2 + 1 + /var/disorder/icedata + + + lyonesse.anjou.terraraq.org.uk + 8000 + SOURCE PASSWORD HERE + /disorder.ogg + 2 + 5 + 80 + + 64000 + 44100 + 2 + 8820 + + + + + + +This doesn't seem to get on very well with pausing but you're unlikely to want +to pause a stream in any case. I used IceCast 2.3.1 and Ices 2.0.1. You can +play the stream with XMMS or whatever. The total setup seems to play rather +behind the 'current' time, watch this space for a fix (or contribute one!) + +Other DisOrder options you can set are sox_generation which you should set to +if you have a sufficently recent version of sox, due to an incompatile change +in its command syntax; and sample_format which determines what format is +supplied to the speaker_command. See disorder_config(5) for further +information. + + Local Variables: mode:text fill-column:79 -- [mdw]