Choose an antagonist or a protagonist

_choose_antagonist_protagonist chooses for a given point in time and channel a apt antagonist or a protagonist and returns an array of the antagonist/protagonist setting and a flag (a for antagonist, p for protagonist).

The algorithm switches the view if:



The logic differs for the slave channels. Whereas the main channel is calculated by the algorithm, the slave channels are derived from the main channel using the definition in the database (Channel Usage in the style definition).