Hi,

On Thu, Apr 17, 2008 at 10:23 AM, Info Radioclave <[EMAIL PROTECTED]> wrote:
> Does this look correct to you?
> [...]
> output.file.mp3( id = "live_id", append = true, reopen_when = is_live,
> "/..../live/live_%Y%m%d_%H%M%S.mp3", live )

If the script is accepted by liquidsoap but does not work as expected,
please detail the difference. If it is not accepted, please state the
error.

Here, for the beginning of the script I don't see any problem. But on
that last line you refer to is_live which does not exist. So I guess
liquidsoap complains about that.

What you want is to reopen the file when a new live starts. Executing
start/stop commands is better than using a "reopen_when" function,
because it would be polled all the time.

You probably added the reopen_when thing because start/stop did not work.

This is probably caused by another problem I see in your script: you
are using the same ID for the two outputs. And the start/stop commands
should go to the output.file, not to the input.harbor.

> So increasing buffer to 10s means liquidsoap waits 10s before retransmitting
> (including blank) or gathers data worth of 10s?

It means wait 10s.

Have fun!
-- 
David

Reply via email to