chiark / gitweb /
disobedience more robust against server restart
[disorder] / README.streams
CommitLineData
460b9539 1DisOrder and Internet Streams
2=============================
3
4DisOrder doesn't have any built-in support for playing streams but you can make
5it do so. I use the following in my configuration file:
6
7 player /export/radio/*.oggradio shell 'xargs ogg123 -q < "$TRACK"'
8 collection fs iso-8859-1 /export/radio
9
10After setting this up you'll need to re-read the config file and provoke a
11rescan:
12
13 disorder reconfigure rescan /export/radio
14
15/export/radio contains a file for each stream, containing the URL to use:
16
17 lyonesse$ cat /export/radio/CUR1350.oggradio
18 http://cur.chu.cam.ac.uk:8000/cur.ogg
19
20You'll probably want to prevent random play of streams:
21
22 disorder set /export/radio/CUR1350.oggradio pick_at_random 0
23
24You can then queue a stream like any other track. It won't automatically
25interrupt the playing track, you have to scratch it manually. Go back to
26normal play by scratching the stream.
27
28Local Variables:
29mode:text
30fill-column:79
31End: