[Savonet-users] Input harbor buffer

2009-08-12 Thread Jean-Francois Mauguit
Hello,

Here is my problem.

I would like to allow our user to use input.harbor on their webradio  
to allow them doing live radio. But I also have to insert some ads and  
I would like to announce to the radio editor when the ad will be  
inserted in his stream (using a countdown). But due to the buffer  
between this editor and the liquidsoap, I never know when to warn him.  
How could I know the duration of the buffer ? Is it an easy way doing  
that ?

TIA,

Jef



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users


Re: [Savonet-users] Input harbor buffer

2009-08-12 Thread Romain Beauxis
Le mercredi 12 août 2009 07:31:39, Jean-Francois Mauguit a écrit :
 Hello,

Hi Jef !

 Here is my problem.

 I would like to allow our user to use input.harbor on their webradio  
 to allow them doing live radio. But I also have to insert some ads and  
 I would like to announce to the radio editor when the ad will be  
 inserted in his stream (using a countdown). But due to the buffer  
 between this editor and the liquidsoap, I never know when to warn him.  
 How could I know the duration of the buffer ? Is it an easy way doing  
 that ?

Hmmm, good call. Recently we have added something initially meant for 
debugging. This is an option that, when turned on, outputs the size of the 
buffer to a file. See: 

* logfile :: string (default )
Log buffer status to file, for debugging purpose. Disabled if empty.

Perhaps you can use this to know the length of the buffer..


Romain

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users


Re: [Savonet-users] Input harbor buffer

2009-08-12 Thread Jean-Francois Mauguit
Hello,

Thanks for the reply. My concern is that I have 2000 liquidsoap  
instances to check :-) So is it possible that when input.harbor is  
receiving data it call a bash script (or something else) giving its  
buffer length on a regular basis (let's say each 5 minutes).

Thanks in advance,

Jef

On 12 Aug 2009, at 17:16, Romain Beauxis wrote:

 Hmmm, good call. Recently we have added something initially meant for
 debugging. This is an option that, when turned on, outputs the size  
 of the
 buffer to a file. See:

 * logfile :: string (default )
Log buffer status to file, for debugging purpose. Disabled if  
 empty.

 Perhaps you can use this to know the length of the buffer..



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users