From: Leonard de Ruijter <leesvoer@ld...> - 2013-10-21 14:13:21
In the radio automation script i'm building with liquidsoap, i'm now
including a part for reencoding files wit usage of cue_cut, which works
fine. I have for example a file with a duration of 90 minutes in the
in_cut source, a part of that file is selected using cue_cut information
sent using a post request to the harbor. in_cut is outputted to another
file, the output is called out_cut. I also attached a new clock to the
in_cut source which runs in CPU-burning mode, not synchronised.
The thing is that liquidsoap is supposed to keep running after the
reencoding has taken place to accept more files to reencode. So,
whenever reencoding is finished, i want to clean up and shut down in_cut
What is the easiest way to accomplish this behavior? Do i need reference
functions for this, or is there an easier way to shutdown in_cut and
out_cut using the on_stop method of out_cut? Will the clock attached to
in_cut automatically be killed when it has no attached sources left?