So, don't use liquidsoap to relay to a shoutcast server and just use
icecast to do that part of it? I can relay icecast to icecast just fine
in a liquidsoap script, but not an icecast http stream to a shoutcast
server?
On 7/31/2016 6:12 PM, Robert McAuley wrote:
I don't think LiquidSoap is the correct tool for this job.
Reconfigure your Icecast server and originating source if necessary to
provide ICY headers, and look at the Icecast docs on how to setup a
stream alias for "/" so that you can support Shoutcast. Then use the
Shoutcast server's built-in relaying to forward along.
If you absolutely cannot do this:
* At the very least, mksafe is not wise with input.http in
LiquidSoap. Provide a fallback! It's entirely possible Liq thinks it
has a large buffer to work with because of mksafe!
* You have a problem with buffers. Read the docs and increase your
buffer size:
http://savonet.sourceforge.net/doc-svn/reference.html#input_http
- Rob
On Mon, Aug 1, 2016 at 1:12 AM, Jonathan <[email protected]
<mailto:[email protected]>> wrote:
Hello all. So, I'm trying to relay a stream from an icecast
server, to a
shoutcast server, the problem that I'm having is that my script is
giving me error, blushing buffers when connecting to shoutcast. I'm
using liquidsoap 1.1.1 and the input.http operator. I'm outputting it
through output.shoutcast and have (%mp3) I will give the script below
and then, the log.
Script:
#!/etc/liquidsoap
set("log.file.path","/tmp/syndication.log")
s = mksafe(input.http("http://kjscradio.com:8000/stream.mp3"))
output.dummy (fallible=true, s)
output.shoutcast(%mp3,fallible=true,
host="listen2.ultrastreams.us
<http://listen2.ultrastreams.us>",port=9098,password="hackme",
s)
output.shoutcast(%mp3, fallible=true,
host="50.22.218.73",port=25646,password="hackme",
s)
log:
2016/07/31 09:09:32 [output(dot)shoutcast:2] Connection failed:
bad answer
If someone can help, that would be great. thanks.
------------------------------------------------------------------------------
_______________________________________________
Savonet-users mailing list
[email protected]
<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/savonet-users
------------------------------------------------------------------------------
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users
------------------------------------------------------------------------------
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users