Hello
My name is Nick and i am using a liquidsoap script for my icecast server.
It is working almost fine, but there is one thing i would like to ask
It has to do with "switch".
My script has a number of "input.harbor" so that an equal number of producers can connect to liquidsoap. Then my script decides whether the producer was connected on his dedicated period or not and lets him/her broadcast. If my script decides to let the producer broadcast, then the producer is able to broadcast for a couple of hours , according to the schedule made with "switch". The thing is that the his/hers time (according to switch) is over, liquidsoap does not disconnect him/her immediately but lets him/her play for a while before it understands that this should not happen.
Maybe an example would be easier to understand
Lets say we have two producers, A and B. According to the schedule that "switch" provides producer A is able to broadcast on Monday from 20:00 until 22:00 and producer B is able to broadcast right after producer A, which means on Monday from 22:00 until 00:00. Producer A connects to liquidsoap on Monday at 20:00, liquidsoap decides that it is correct for him/her to broadcast and lets him/her do the broadcasting. When time gets to 22:00 , producer A decides to go on with the broadcasting. According to "switch" he/she should be stoppped immediately. At the same time producer B tries to connect to icecast , he/she gets connected to it but is not able to go on air. What happens is that producer A keeps broadcasting for a while (about 20 or 30 minutes) until liquidsoap understands that this should not happen, and cut him/her off. Usually producer B is not able to go on with broadcasting since liquidsoap might need a restart. (even though i am not sure about this reaction - i was not able to reproduce it a couple of times_ Is there any way to make liquidsoap cut off a producer when it should , according to "switch"?

Thank you in advance

p.s. my script file is attached

Attachment: liquidsoap_script_NEW.sh
Description: Bourne shell script

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to