During our integration and possibly until 2.1 comes out, we're using Airtime to run scheduled shows and the rest is handled bu a DJBot on the core stream server.
When a scheduled event completes, Airtime (icecast or liquidsoap - which I haven't been able to confirm yet) seems to keep the stream open (stream title changes to "Airtime offline") for about 60 seconds or so. Is there a way to kill it quicker?
These are custom modifications right? I can't help much except to say that Liquidsoap is generating the Airtime-offline title, and so looks to be the culprit.
When SAM turns off it probably disconnects and so the DJBot can easily detect that and start playing it's own playlists.
On the other hand when Airtime stops playing audio, it still sends a very quiet random noise so that the mountpoint stays active.
If you want Airtime to disconnect automatically, you should probably disable this. You'd have to manually change the liquidsoap script so that the following lines