private void monitorQueueNoImmediateMessages()
{
initialiseBackgroundPlayer();
while (monitorRunning)
{
Thread.Sleep(queueMonitorInterval);
try
{
playQueueContents(queuedClips, false);
allowPearlsOnNextPlay = true;
}
catch (Exception e)
{
Console.WriteLine("Exception processing queued clips: " + e.Message);
}
if (!holdChannelOpen && channelOpen)
{
closeRadioInternalChannel();
}
}
writeMessagePlayedStats();
playedMessagesCount.Clear();
stopBackgroundPlayer();
}