mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Merge branch 'master' of https://github.com/cbhaley/calibre
This commit is contained in:
commit
b04d356e44
@ -223,6 +223,8 @@ class SMART_DEVICE_APP(DeviceConfig, DevicePlugin):
|
||||
|
||||
PURGE_CACHE_ENTRIES_DAYS = 30
|
||||
|
||||
CURRENT_CC_VERSION = 64
|
||||
|
||||
ZEROCONF_CLIENT_STRING = b'calibre wireless device client'
|
||||
|
||||
# A few "random" port numbers to use for detecting clients using broadcast
|
||||
@ -1035,11 +1037,11 @@ class SMART_DEVICE_APP(DeviceConfig, DevicePlugin):
|
||||
|
||||
try:
|
||||
if (self.client_app_name == 'CalibreCompanion' and
|
||||
self.app_version_number < 62):
|
||||
self.app_version_number < self.CURRENT_CC_VERSION):
|
||||
self._debug('Telling client to update')
|
||||
self._call_client("DISPLAY_MESSAGE",
|
||||
{'messageKind': self.MESSAGE_UPDATE_NEEDED,
|
||||
'lastestKnownAppVersion': 62})
|
||||
'lastestKnownAppVersion': self.CURRENT_CC_VERSION})
|
||||
except:
|
||||
pass
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user