Server discovery

Logitech Media Server discovery


Unfortunately I don’t remember where I found this script so I can’t give the credit it deserves.

My updates were very very minor!

class LMSTools.discovery.LMSDiscovery

Class to discover Logitech Media Servers connected to your network.


Scan and return all found entries.

Return type:list
Returns:list of servers found. Each server is a dict.


>>>from LMSTools import LMSDiscovery
[{'data': 'EJSON9000',
  'from': ('', 3483),
  'host': '',
  'port': 9000}]

Scan the network for servers.

After running, any servers will be stored in entries.