I have my system setup to use on_disconnect and auth functions for the 
input.harbor when DJs connectd/disconnect to performing all the needed 
functions.  



However, yesterday, a DJ that was playing kept on disconecting and immediately 
reconnecting (the radio was constantly going back and forth between live show 
and its fallback - imagine in a sine-wave pattern!).  I think this user had a 
problem with his internet being slow or something because in the logs 
liquidsoap kept saying no data activity for X number of seconds or something 
like that.  (this is a problem on his side right?). 



Anyways, the point is I disable him in the system so he wouldn't be able to 
connect anymore when the auth function runs.  However, this never stopped him!  
He kept connecting/disconnecting over and over even though he was no longer in 
the system and the auth script should have returned false.  After checking my 
logs, it seems that the "on_disconnect" never ran during this time.  When there 
is no data activity, it seems liquidsoap fell back to my normal playlist but 
didn't seem to run on_disconnect.  Is this correct?



Also, in this case, would on_connect have been called when his stream came 
back? If not, what is the real difference between on_connect?  Is it exactly 
the same as auth, just minus the auth info being passed?



And since it seemed on_disconnect and auth functions never ran while this guy's 
internet connection was freaking out, what was really happening?  Was 
liquidsoap just falling back to the playlist while it waited for his stream to 
come back?  When (if ever) would it have actually severed the input, ran 
on_disconnect, and returned to the playlist properly?



Haha, sorry for the 2-questions-turned-into-15-questions! :-)
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to