iMac prompting for airplay code
My issue is that the only thing I've discovered that won't airplay to my apple tv is my iMac. It's a late 2013 model. iPhone 5s works fine and iPad mini. It keeps prompting me for the airplay code for "apple tv" or "apple tv(2)" or even "apple tv(3)". I have it set to no security on the apple tv. And I once actually set a password for it and I think it worked the one time. But never again. I know it's the correct password as well. It started out of nowhere and why it has three variations of apple tv in there, I don't know. But even when I do enter it, and I press ok, it just grays out the "ok" button. Any help would be much appreciated!
iMac, OS X Yosemite (10.10)