Add reset password dialog to addon menu

This commit is contained in:
Matt 2020-05-19 21:47:19 -04:00
commit 22b5d413fd
5 changed files with 16 additions and 2 deletions

View file

@ -112,6 +112,8 @@ class Events(object):
xbmc.executebuiltin('Addon.OpenSettings(plugin.video.jellyfin)')
elif mode == 'adduser':
add_user()
elif mode == 'updatepassword':
event('UpdatePassword')
elif mode == 'thememedia':
get_themes()
elif mode == 'managelibs':
@ -177,6 +179,7 @@ def listing():
directory(translate(33134), "plugin://plugin.video.jellyfin/?mode=addserver", False)
directory(translate(33054), "plugin://plugin.video.jellyfin/?mode=adduser", False)
directory(translate(5), "plugin://plugin.video.jellyfin/?mode=settings", False)
directory(translate(33161), "plugin://plugin.video.jellyfin/?mode=updatepassword", False)
directory(translate(33058), "plugin://plugin.video.jellyfin/?mode=reset", False)
directory(translate(33180), "plugin://plugin.video.jellyfin/?mode=restartservice", False)