<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Icecast2 server set up to deliver a stream to a web based player.<br>
First mount is for home based DJ contributors to programme.<br>
Fall Back is an automated playlist.<br>
We want to send metadata by tweet from the web based player mount
which serves either source depending whether there is a live show or
not.<br>
<br>
It had to be a relay to relay the data.<br>
Then to get the tweets to work we had to enable shoutcast meta data.<br>
<br>
<!-- Define automation.aac mount --><br>
<mount><br>
<mount-name>/automation.aac</mount-name><br>
<hidden>0</hidden><br>
</mount><br>
<!-- Defines live.aac mount which falls back to
automation.aac if there is no service mounted as live.aac --><br>
<mount><br>
<mount-name>/live.aac</mount-name><br>
<fallback-mount>/automation.aac</fallback-mount><br>
<fallback-override>1</fallback-override><br>
<hidden>0</hidden><br>
</mount><br>
<style type="text/css">pre.cjk { font-family: "Courier New",monospace; }p { margin-bottom: 0.25cm; line-height: 120%; }</style>
<!-- Defines a local relay called listen which is used by the web
player which serves whatever is on live.aac --><br>
<br>
<relay><br>
<server>139.162.236.22</server><br>
<port>8000</port><br>
<mount>/live.aac</mount><br>
<local-mount>/listen</local-mount><br>
<!-- this has to be set to 1 so the metadata goes out on
twitter --><br>
<style type="text/css">pre.cjk { font-family: "Courier New",monospace; }p { margin-bottom: 0.25cm; line-height: 120%; }</style>
<relay-shoutcast-metadata>1</relay-shoutcast-metadata> <br>
</relay><br>
<br>
Tweets worked from the live and automatiion mounts but would not
work from the listen mount UNLESS the shoutcast flag was set to 1.<br>
<br>
This may be useful to someone.<br>
<br>
<br>
regards<br>
Robert Jeffares<br>
</body>
</html>