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:
Kovid Goyal 2012-02-09 10:36:37 +05:30
parent 27f0e59f7d
commit d1f1a5da2b

View File

@ -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:')