Network Radio With Icecast - Channeling the Energy (
Page 7 of 8 )
Now, how about adding a few more channels to the station?
You'll remember that, at the beginning of this tutorial, I told you that the icecast server could stream content from multiple source clients simultaneously, simply by placing each one at a different mountpoint. Well, that's how you create "channels" -- simply create a playlist file for each "channel" and have iceS stream it to the server on a different mountpoint.
The following example illustrates, by creating three channels, one for 80s music, one for dance tracks and one for 60 rock'n'roll:
$ /usr/local/icecast/bin/ices -h olympus.local.net -p 8000 -P abcdef -F
/tmp/80s.txt -m 80s -g "80s Stuff" -d "Music from the 80s" -v -t http &
$ /usr/local/icecast/bin/ices -h olympus.local.net -p 8000 -P abcdef -F
/tmp/dance.txt -m dance -g "Dance!" -d "Get up and get movin'!" -v -t http &
$ /usr/local/icecast/bin/ices -h olympus.local.net -p 8000 -P abcdef -F
/tmp/60s.txt -m 60srock -g "60s Stuff" -d "Rock from the 60s" -v -t http &
You can now tune into the 80s music channel by pointing your audio player to
http://olympus.local.net:8000/80s
the dance channel by opening up
http://olympus.local.net:8000/dance
and the 60s rock channel at
http://olympus.local.net:8000/60srock
Go on - try it out for yourself and see!