Elmedia Player on Mac makes me enter the passcode twice when I connect to AirPlay. How to fix it?

To solve the issue please follow the steps below:

1. Click TV Apple Settings > AirPlay > Security.
2. Change “Passcode” to “Password”.

You will need to enter the passcode only once. After that you won’t have to type it twice everytime.