mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Content server: Export a second record via mDNS that points to the full OPDS feed in addition to the one pointing to the Stanza feed. The new record is of type _calibre._tcp. Fixes #929304 ([Enhancement] Better integration with FBReader)
This commit is contained in:
parent
27f0e59f7d
commit
d1f1a5da2b
@ -79,6 +79,8 @@ class BonJour(SimplePlugin): # {{{
|
||||
try:
|
||||
publish_zeroconf('Books in calibre', '_stanza._tcp',
|
||||
self.port, {'path':self.prefix+'/stanza'})
|
||||
publish_zeroconf('Books in calibre', '_calibre._tcp',
|
||||
self.port, {'path':self.prefix+'/opds'})
|
||||
except:
|
||||
import traceback
|
||||
cherrypy.log.error('Failed to start BonJour:')
|
||||
|
Loading…
x
Reference in New Issue
Block a user