| View previous topic :: View next topic |
| Author |
Message |
voxframe
Joined: 25 Mar 2012 Posts: 2
|
Posted: Mon Mar 26, 2012 6:38 pm Post subject: Emulating Shoutcast servers as much as possible |
|
|
Hello.
I am currently running Icecast in a multiple-server setup (Multiple instances on a single machine).
My goal is to emulate the functionality of Shoutcast as much as possible.
I realize this isn't perfectly possible, and I have it functioning very closely to what I need. But the main problem I am having trouble with is song metadata. People are not able to pull statistics or song data from the streams as they normally would with a shoutcast based stream. (I have found many stat readers that function only in shoutcast mode).
Is it possible to set up icecast to pass the data as a shoutcast server normally would?
I will include my current code, if you see any errors please let me know as well.
| Code: |
<icecast>
<authentication>
<source-password>XXXXXXX</source-password>
<admin-password>XXXXXXX</admin-password>
<admin-user>admin</admin-user>
</authentication>
<listen-socket>
<port>7000</port>
<shoutcast-mount>/stream</shoutcast-mount>
</listen-socket>
<limits>
<sources>1</sources>
<clients>25</clients>
<client-timeout>60</client-timeout>
<source-timeout>60</source-timeout>
<burst-on-connect>1</burst-on-connect>
<burst-size>65536</burst-size>
</limits>
<hostname>XXXXXXXXX</hostname>
<fileserve>1</fileserve>
<paths>
<logdir>/icecast/logging</logdir>
<webroot>/icecast/web</webroot>
<adminroot>/icecast/admin</adminroot>
<alias source="/" dest="/stream"/>
<alias source="/mount" dest="/stream"/>
</paths>
<security>
<chroot>0</chroot>
</security>
</icecast>
|
Currently this code emulates the functionality of shoutcast almost perfectly. (Except for directory listings, but that I do not want anyway)
Thank you for any help! |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Mon Mar 26, 2012 6:58 pm Post subject: |
|
|
I suspect you are referring to that 7.html file. I did have a look at that some time ago but lost interest, it involved using a 7.xsl file in webroot and it just required an alias of /7.html to /7.xsl. It wasn't complete but it may help go some way towards it.
karl. |
|
| Back to top |
|
 |
voxframe
Joined: 25 Mar 2012 Posts: 2
|
Posted: Mon Mar 26, 2012 7:51 pm Post subject: |
|
|
Actually I didn't know about that!
Any idea where I can find this 7.xsl file? I looked around and can't find anything solid. |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Mon Mar 26, 2012 8:12 pm Post subject: |
|
|
It should be in my latest tarballs/github builds.
karl. |
|
| Back to top |
|
 |
|