mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-29 14:14:27 +01:00
Don't change the API. Instead do the work in the wireless driver
This commit is contained in:
parent
90e6218e5a
commit
ae0f52d7c9
1 changed files with 6 additions and 1 deletions
|
|
@ -1566,10 +1566,15 @@ def set_plugboards(self, plugboards, pb_func):
|
|||
def set_library_info(self, library_name, library_uuid, field_metadata):
|
||||
self._debug(library_name, library_uuid)
|
||||
if self.can_accept_library_info:
|
||||
other_info = {}
|
||||
from calibre.ebooks.metadata.sources.prefs import msprefs
|
||||
other_info['id_link_rules'] = msprefs.get('id_link_rules', {})
|
||||
|
||||
self._call_client('SET_LIBRARY_INFO',
|
||||
{'libraryName' : library_name,
|
||||
'libraryUuid': library_uuid,
|
||||
'fieldMetadata': field_metadata.all_metadata()},
|
||||
'fieldMetadata': field_metadata.all_metadata(),
|
||||
'otherInfo': other_info},
|
||||
print_debug_info=True)
|
||||
|
||||
@synchronous('sync_lock')
|
||||
|
|
|
|||
Loading…
Reference in a new issue