Here is the port to Linux of Brennan's streamin bot to a shoutcast server.
If you don't know what this is useful for, don't read further.
I just don't remember how I managed to get it to compile fine, but it works.
Just go to ninjam/ninjamcast and type make to compile it.
You'll need libvorbis, libmp3lame to have it compile correctly.
Ignore the warnings.
Have fun!
Here is some other interresting stuff, icecast 2.3.2 config for the bot, with multiple mountpoints, for multiple shoutcast sources at the same time (multiple ninjamcast bots for example
) )
Here are the noticeable config parameters to add in the icecast.xml :
<!-- Note that 2nd port for listen socket is higher due to Port Number +1 used by Shoutcast sources -->
<listen-socket>
<port>15000</port>
<shoutcast-mount>/mountpoint1</shoutcast-mount>
</listen-socket>
<listen-socket>
<port>15010</port>
<shoutcast-mount>/mountpoint2</shoutcast-mount>
</listen-socket>
<!-- Note the definition of differents mountpoints for differents shoutcast sources (multiple jambot here in the example) (of course the ninjamcast.cfg should reflect the parameters here) -->
<mount>
<mount-name>/mountpoint1</mount-name>
<user>someuser1</user>
<password>somepass1</password>
</mount>
<mount>
<mount-name>/mountpoint2</mount-name>
<user>someuser2</user>
<password>somepass2</password>
</mount>
<!-- Note redefinition of differents shoutcast mountpoints not sure if not redudant-->
<shoutcast-mount>/mountpoint1</shoutcast-mount>
<shoutcast-mount>/mountpoint2</shoutcast-mount>