Thanks for your answer,
Le 13 Jul 2010 à 21:04, Romain Beauxis a écrit :
Le mardi 13 juillet 2010 13:44:15, Simon Renquin a écrit :
Hi,
Hi !
I have currently updated my liquidsoap script to use several external
player whose sound are redirected to liquidsoap via jack and metadata
via a socket.
This new script handle automated transition between the 2 inputs (via
metadata command) and it also have a backup playlist in case of blank
stream.
Finally, the result is sendt to jack and the metadata updates are
sendt via a shell command.
Wooa, it looks like a great script ! May I ask where it is used ? If
you
agree, we could include it in the user's script on the website..
Yeah, sure. It's used at hitradio namur, a commercial pro radio in
Belgium (Namur region). (www.hit-radio.be) (By the way, we are
running a full open-source system which will soon be referenced)
We the way, I see you use a lot of these ugly string.ref.. If you
dare to try
the svn version, we have a proper support for references, and not only
strings. For instance:
# Define a reference
var = ref 0
# Set a new value for var
var := 1
# Get the value in var
x = !var
Well, since it's a commercial radio, we can't handle any bug or blank
so, I'm not really in using "quite non stable" thing and prefer to
used the stable packaged version. (This is why the liquidsoap script
is temporary disabled on the broadcast line...)
The problem is that after about 6 hours, I have no sound anymore
going
out of the jack port. The backup playlist does not start which may
mean that the problem is due to the jack.output buit liquidsoap does
not log anything (I have set the log level to 5) nor does it print
anything to the console.
If you have any idea on how to find the problem, I'm open to any
suggestions (even if going to at end of week...).
Yeah, this is a known bug of ocaml-jack which, despite numerous
tries and time
spent, we were never able to fix.
This bug is the main reason why ocaml-bjack was introduced and ocaml-
jack
deprecated.
Apparently, you use output.jack in your script, i.e. the ocaml-jack
output.
Have you tried with output.bjack from ocaml-bjack ?
Ok, since there is no reference for output.bjack in the 0.9.2
reference, I believed it was the right one. I tried it with the
install version (coming from the ubuntu packages) and it says "unbound
symbol". I then tried from a compiled from the sources version (0.9.2
full package) while selecting "ocaml-bjack" and commenting "ocaml-
jack" in the PACKAGE file. The result is the same so, it seems I'm
effectively running the ocaml-bjack output with output.jack. Am I
correct? The question is then, was-it the wrong jack output or is it
a effective bug? Should I try the svn version?
Thanks a lot for your advices,
Simon
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users