player.setChannel not working (Embed Twitch)

Hello, the code that I uploaded last week now is working. But if it is possible, I would like the player not to be updated when the channel that is being displayed is the same, and then, updated when a new channel is placed in the “live” array above it. Thank you