From d1f1a5da2b5cbb6b90a04044eb9fc0b59f5441bf Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 9 Feb 2012 10:36:37 +0530 Subject: [PATCH] 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) --- src/calibre/library/server/base.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/calibre/library/server/base.py b/src/calibre/library/server/base.py index 096326917c..46db62a299 100644 --- a/src/calibre/library/server/base.py +++ b/src/calibre/library/server/base.py @@ -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:')