Mixy
Joined: 01 Jun 2014 Posts: 1
|
Posted: Sun Jun 01, 2014 9:51 pm Post subject: Icecast + Ezstream |
|
|
I have tried a few variations that I found online but I am always getting the same result. Icecast is running fine but the playlist and live DJ mounts seem to act in reverse.
When listening to /stream, the playlist on /autodj comes through. If I stop the playlist from running, /stream then starts to broadcast what is going through /live. Whilst there is still a /live connection, turning on the playlist again will override /live once again. It's the exact reverse of the behaviour that I am after but cannot seem to work out how to switch around the priority.
I have tried changing the order of the mounts and the fallback-overrides and get the same thing.
Do any of you mind helping me debug this?
Here's what I have on there at the moment:
icecast.xml
Code: |
<icecast>
<limits>
<sources>2</sources>
<clients>100</clients>
<threadpool>5</threadpool>
<queue-size>512000</queue-size>
<source-timeout>10</source-timeout>
<burst-on-connect>1</burst-on-connect>
<burst-size>64000</burst-size>
</limits>
<authentication>
<source-password>####</source-password>
<relay-password>####</relay-password>
<admin-user>####</admin-user>
<admin-password>####</admin-password>
</authentication>
<hostname>####</hostname>
<listen-socket>
<port>8000</port>
</listen-socket>
<fileserve>1</fileserve>
<mount cc="main">
<mount-name>/stream</mount-name>
<intro></intro>
<fallback-mount>/live</fallback-mount>
<fallback-override>1</fallback-override>
<fallback-when-full>0</fallback-when-full>
<no-yp>1</no-yp>
</mount>
<mount cc="live">
<mount-name>/live</mount-name>
<intro></intro>
<fallback-mount>/autodj</fallback-mount>
<fallback-override>1</fallback-override>
<fallback-when-full>0</fallback-when-full>
<no-yp>1</no-yp>
</mount>
<mount cc="autodj">
<mount-name>/autodj</mount-name>
<bitrate>128</bitrate>
<intro></intro>
<fallback-mount>/fallback128Stereo_test_noise.mp3</fallback-mount>
<fallback-override>1</fallback-override>
<fallback-when-full>0</fallback-when-full>
<no-yp>1</no-yp>
<charset>UTF-8</charset>
</mount>
<paths>
<basedir>/usr/share/icecast</basedir>
<logdir>/var/log/icecast</logdir>
<webroot>/usr/share/icecast/web</webroot>
<adminroot>/usr/share/icecast/admin</adminroot>
<pidfile>/var/run/icecast/icecast.pid</pidfile>
<alias source="/" dest="/status.xsl"/>
</paths>
<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<loglevel>3</loglevel>
</logging>
</icecast> |
ezstream_mp3.xml
Code: |
<ezstream>
<url>####</url>
<sourcepassword>####</sourcepassword>
<format>MP3</format>
<filename>####/playlist.txt</filename>
<stream_once>0</stream_once>
<svrinfoname>Server Name</svrinfoname>
<svrinfourl>http://www.yoururl.com</svrinfourl>
<svrinfogenre>JACKNFALL</svrinfogenre>
<svrinfodescription>As you wish</svrinfodescription>
<svrinfobitrate>128</svrinfobitrate>
<svrinfochannels>5</svrinfochannels>
<svrinfosamplerate>44100</svrinfosamplerate>
<svrinfopublic>0</svrinfopublic>
</ezstream> |
Thanks! |
|