Commit 91080d14 authored by D1plo1d's avatar D1plo1d

Removing the static name from pronserve's dns-sd records that was causing...

Removing the static name from pronserve's dns-sd records that was causing naming conflicts on multi-printer networks.
parent 056bffcf
...@@ -256,7 +256,6 @@ class Prontserve(pronsole.pronsole, EventEmitter): ...@@ -256,7 +256,6 @@ class Prontserve(pronsole.pronsole, EventEmitter):
pronsole.pronsole.__init__(self) pronsole.pronsole.__init__(self)
EventEmitter.__init__(self) EventEmitter.__init__(self)
self.settings.sensor_names = {'T': 'extruder', 'B': 'bed'} self.settings.sensor_names = {'T': 'extruder', 'B': 'bed'}
self.settings.name = 'Prontserve Printer'
self.settings.pause_between_prints = True self.settings.pause_between_prints = True
self.dry_run = kwargs['dry_run'] == True self.dry_run = kwargs['dry_run'] == True
self.stdout = sys.stdout self.stdout = sys.stdout
...@@ -275,7 +274,7 @@ class Prontserve(pronsole.pronsole, EventEmitter): ...@@ -275,7 +274,7 @@ class Prontserve(pronsole.pronsole, EventEmitter):
self.jobs.listeners.add(self) self.jobs.listeners.add(self)
def init_mdns(self): def init_mdns(self):
sdRef = pybonjour.DNSServiceRegister(name = self.settings.name, sdRef = pybonjour.DNSServiceRegister(name = None,
regtype = '_construct._tcp', regtype = '_construct._tcp',
port = 8888, port = 8888,
domain = "local.") domain = "local.")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment