mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-19 06:36:12 +00:00
Add check update option
To manually look for an update regarding objects (pulled from plugin.video.emby branch)
This commit is contained in:
parent
71eea37448
commit
e6556b28d1
3 changed files with 8 additions and 1 deletions
|
@ -171,7 +171,7 @@ class Service(xbmc.Monitor):
|
|||
'LibraryChanged', 'ServerOnline', 'SyncLibrary', 'RepairLibrary', 'RemoveLibrary',
|
||||
'EmbyConnect', 'SyncLibrarySelection', 'RepairLibrarySelection', 'AddServer',
|
||||
'Unauthorized', 'UpdateServer', 'UserConfigurationUpdated', 'ServerRestarting',
|
||||
'RemoveServer', 'AddLibrarySelection'):
|
||||
'RemoveServer', 'AddLibrarySelection', 'CheckUpdate'):
|
||||
return
|
||||
|
||||
data = json.loads(data)[0]
|
||||
|
@ -326,6 +326,10 @@ class Service(xbmc.Monitor):
|
|||
if data.get('ServerId') is None:
|
||||
Views().get_views()
|
||||
|
||||
elif method == 'CheckUpdate':
|
||||
if not self.check_update():
|
||||
dialog("notification", heading="{emby}", message=_(21341), icon="{emby}", sound=False)
|
||||
|
||||
def onSettingsChanged(self):
|
||||
|
||||
''' React to setting changes that impact window values.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue