There is already infrastructure to detect devices on each computer. I am leveraging that.
It would be this:
1. mdns device loads.
2. mdns device scans, finds an apple via mdns...
3. mdns device sends a device detected on this computer of say, CAT:zeroconf_apple_device
4. plug and play plugin catches, matches to Airplay player template.
5. Airplay player installs. since there is a sister router plugin device in the related plugin section, the plugin is installed if needed.
This would take care of devices as media directors are installed, and would not need to have logic to crawl the database looking for new media directors, and keeping track of which ones have been installed, which ones haven't.