Apple TV 4 not working with Homesharing
27" iMac, late 2013. iTunes is up to date and so is the iMac.
Apple TV 4 with software up to date.
Homesharing is working with other devices but not on the ATV. I have restarted both the iMac and the ATV, I have also reset the ATV. I have also made sure that both the ATV and the iMac are on the same network. I have also reset my modem. I have a wireless connection for all my devices. I have tested my internet speed on several sites with results showing between 100 and 125 Mbps download speed.
Every time I turn on homesharing on the ATV and enter my password it tells me to turn on homesharing. Homesharing is already on, it shows so in iTunes. It also shows there are no devices connected. I have made sure that my iMac is awake and still nothing. iTunes is also on during all of this.
Any help would be greatly appreciated. Thanks
Apple TV (4th generation), iOS 9.1