mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Content server: Fix regression that caused the port being advertised via BonJour to be incorrect if the user changed the port for the server. Fixes #1037912 (custom Content Server port not reflected in Bonjour)
This commit is contained in:
parent
83c0da4c0f
commit
5dbbf145af
@ -78,7 +78,10 @@ class BonJour(SimplePlugin): # {{{
|
||||
SimplePlugin.__init__(self, engine)
|
||||
self.port = port
|
||||
self.prefix = prefix
|
||||
self.mdns_services = [
|
||||
|
||||
@property
|
||||
def mdns_services(self):
|
||||
return [
|
||||
('Books in calibre', '_stanza._tcp', self.port,
|
||||
{'path':self.prefix+'/stanza'}),
|
||||
('Books in calibre', '_calibre._tcp', self.port,
|
||||
|
Loading…
x
Reference in New Issue
Block a user