mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -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:
|
try:
|
||||||
publish_zeroconf('Books in calibre', '_stanza._tcp',
|
publish_zeroconf('Books in calibre', '_stanza._tcp',
|
||||||
self.port, {'path':self.prefix+'/stanza'})
|
self.port, {'path':self.prefix+'/stanza'})
|
||||||
|
publish_zeroconf('Books in calibre', '_calibre._tcp',
|
||||||
|
self.port, {'path':self.prefix+'/opds'})
|
||||||
except:
|
except:
|
||||||
import traceback
|
import traceback
|
||||||
cherrypy.log.error('Failed to start BonJour:')
|
cherrypy.log.error('Failed to start BonJour:')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user