Hi claudio,
On 10/30/06, claudio b. <[EMAIL PROTECTED]> wrote:
Hi, I've downloaded the new SVN version but with that, I have problems
to compile.
In particular, the problem is in the ./CONFIGURE step.
I get this kind of error:
./configure: line 2675: syntax error near unexpected token `succeeded=no'
./configure: line 2675: ` succeeded=no'
I'm far from being a shell/autotools wizard. I don't see any line like
that in ocaml-(alsa|mad)/configure(.ac). Could you double check that
you're up-to-date and send us a more detail bugreport with your
versions of autotools and the generated configure scripts generated ?
1) I've tried to use liquidsoap to send a stream to an ICECAST SERVER
different from localhost. Situation as follows: I have two machines;
one runs ICECAST on port 8000; on the other I run liquidsoap with this
LIQ file:
#!/usr/bin/liquidsoap -v
set log.dir = "/tmp"
out =
output.icecast(host="othermachine.csic.es",port=8000,password="thepassword")
out(mount="stream.ogg",
add([
out(start=false,mount="diab11.ogg",
fallback([playlist("dance.m3u"),
single("diab11.ogg") ]))
],
weights=[1]))
First, a side-note on your script. You might be aware of that, but
it's not minimal at all. Basically you have:
source=...
out(mount="stream.ogg",add([out(mount="diab11.ogg",source)],weights=[1]))
The external output is started from the beginning. The inner one
isn't. As long as it isn't started, it's just as if you have:
out(mount="stream.ogg",add([source],weights=[1]))
Which is exactly:
out(mount="stream.ogg",source)
And when you start the inner output, it will just play the same thing
as the outer one.
Ideally, this would send the music from liquidsoap to icecast... but
it's not like that. If I look inside ICECAST Log File I see nothing,
as if my attempt to "connect" to it from a remote machine running
liquidsoap doesn't work at all. What have I done wrong?
Your script is overkill, but isn't wrong. The problem should be
somewhere else. You should take a look at the log files. Do you see
lines like:
..time.. [stream.ogg:3] Connecting mount stream.ogg for [EMAIL PROTECTED]
Does it succedd of fails ? It probably fails, in which case you might
want to check if there's a firewall on your way to othermachine...
Hope this helps.
I've been trying to use liquidsoap and icecast on the same machine,
and then via liquidsoap to stream a REMOTE file/playlist, that is
something that is on another machine and that I access via HTTP. It
didn't work.
Your script is fine. So if the playlist/files are really accessible
from your machine, the only thing I see is that liquidsoap may not
have any support for HTTP. At configure-time, wget or ufetch must be
found in the path in order to enable HTTP support. To check that:
[EMAIL PROTECTED]:~$ liquidsoap --list-plugins | grep -A1 HTTP
+ HTTP
Fetch files using /usr/bin/wget.
+ HTTP
Fetch files using /usr/local/bin/ufetch.
+ HTTPS
Fetch files using /usr/bin/wget.
If you don't have the necessary support, you should re-configure and
re-build liquidsoap.
May the force be with you ;)
--
David