diff --git a/resources/language/resource.language.en_gb/strings.po b/resources/language/resource.language.en_gb/strings.po index 634f74d5..df58709d 100644 --- a/resources/language/resource.language.en_gb/strings.po +++ b/resources/language/resource.language.en_gb/strings.po @@ -921,3 +921,15 @@ msgstr "" msgctxt "#33188" msgid "Would you like to sync Rotten Tomatoes ratings?" msgstr "" + +msgctxt "#33191" +msgid "Restart Emby for Kodi to apply this change?" +msgstr "" + +msgctxt "#33192" +msgid "Restart Emby for Kodi" +msgstr "" + +msgctxt "#33193" +msgid "Restarting..." +msgstr "" diff --git a/resources/lib/entrypoint/default.py b/resources/lib/entrypoint/default.py index b0b5c356..6915a22b 100644 --- a/resources/lib/entrypoint/default.py +++ b/resources/lib/entrypoint/default.py @@ -194,6 +194,7 @@ def listing(): directory(_(33184), "plugin://plugin.video.emby/?mode=removelibs", False) directory(_(33060), "plugin://plugin.video.emby/?mode=thememedia", False) directory(_(33058), "plugin://plugin.video.emby/?mode=reset", False) + directory(_(33192), "plugin://plugin.video.emby/?mode=restartservice", False) if settings('backupPath'): directory(_(33092), "plugin://plugin.video.emby/?mode=backup", False) diff --git a/resources/lib/entrypoint/service.py b/resources/lib/entrypoint/service.py index 3ee145d6..48ad372a 100644 --- a/resources/lib/entrypoint/service.py +++ b/resources/lib/entrypoint/service.py @@ -119,7 +119,9 @@ class Service(xbmc.Monitor): self.settings['last_progress_report'] = datetime.today() if window('emby.restart.bool'): + window('emby.restart', clear=True) + dialog("notification", heading="{emby}", message=_(33193), icon="{emby}", time=1000, sound=False) raise Exception('RestartService')