460b9539 |
1 | DisOrder and Internet Streams |
2 | ============================= |
3 | |
4 | DisOrder doesn't have any built-in support for playing streams but you can make |
5 | it 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 | |
10 | After setting this up you'll need to re-read the config file and provoke a |
11 | rescan: |
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 | |
20 | You'll probably want to prevent random play of streams: |
21 | |
22 | disorder set /export/radio/CUR1350.oggradio pick_at_random 0 |
23 | |
24 | You can then queue a stream like any other track. It won't automatically |
25 | interrupt the playing track, you have to scratch it manually. Go back to |
26 | normal play by scratching the stream. |
27 | |
28 | Local Variables: |
29 | mode:text |
30 | fill-column:79 |
31 | End: |