Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- RADIO=ices2
- PORT=8000
- SPASS="" # set to match icecast server configs
- PUBLISH=0 # should the stream appear in public directories?
- MOUNT= # should end in .ogg, but most players will be able to read it anyway
- RADIO_NAME=""
- DESC=""
- BITRATE=64000
- HOST="" # only used for informing users
- xmms2 <<encom
- server config playlist.repeat_all 1
- server config playlist.repeat_one 0
- server config ices.host localhost
- server config ices.mount $MOUNT
- server config ices.password "$SPASS"
- server config ices.port $PORT
- server config ices.public $PUBLISH
- server config ices.streamdescription "$DESC"
- server config ices.streamgenre
- server config ices.streamname "$RADIO_NAME"
- server config ices.streamurl $HOST:$PORT/$MOUNT
- server config ices.user source
- playlist switch Radio
- server config output.plugin ices
- exit
- encom
- xmms2 play
Add Comment
Please, Sign In to add comment