Added function for performing general actions for each audio player