I have 2 Av Players in My application, One is an AVQueuePlayer used to play sound effect and an other one AVPlayer used to play more heavy stuff that also runs in the background.
for some reason, the sound effect player will trigger the listener of the other player wich will make it trigger the usingBlock, I guess this happens becasue I am using NSNotificationCenter.defaultCenter (I don't have a listener nor need it in the soundEffect Player)
if I try to use this instead
private val notificationCenter = NSNotificationCenter()