Avahi lookup

For a plex client for the Rapberry Pi that I’m writing in python I need a way to get at least one PMS in the network. I did this by writing an AvahiLookup class. It works great when dealing with Linux and osx but fails to find any windows MPS. I’ve tried a lot but i’ve found zero solutions. But I know it has to be able to work, cause other PMS’s in my network discover the windows PMS as soon as it gets online so what am I missing here?

The code for the Avahi lookup can be found here: https://github.com/megawubs/pyplex/blob/master/service/zeroconf.py



I hope someone can help me out here.

Not sure if I am right here.  My understanding is that Bonjour (avahi) support must be enabled in PMS for it to publish via Bonjour.  Windows does not support Bonjour, unless you install a service that provides Bonjour for windows, and this you can get for free at apple.com

If your windows PC already has Bonjour installed, and it is enabled in PMS, then I'm not how much I could help.  Bonjour uses the multicast protocol, so you can run a network monitor to determine if the PMS is publishing the bonjour packets for PMS.

I don't think PMS servers rely on bonjour for auto-detection though.  From what I have learned, PMS uses more of a scanning technique. 

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.