Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Emulating Shoutcast servers as much as possible

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
voxframe



Joined: 25 Mar 2012
Posts: 2

PostPosted: Mon Mar 26, 2012 6:38 pm    Post subject: Emulating Shoutcast servers as much as possible Reply with quote

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
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Mon Mar 26, 2012 6:58 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
voxframe



Joined: 25 Mar 2012
Posts: 2

PostPosted: Mon Mar 26, 2012 7:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Mon Mar 26, 2012 8:12 pm    Post subject: Reply with quote

It should be in my latest tarballs/github builds.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber