diff --git a/resources/language/resource.language.en_gb/strings.po b/resources/language/resource.language.en_gb/strings.po index 6a02bccd..a0f99277 100644 --- a/resources/language/resource.language.en_gb/strings.po +++ b/resources/language/resource.language.en_gb/strings.po @@ -922,14 +922,6 @@ msgctxt "#33188" msgid "Would you like to sync Rotten Tomatoes ratings?" msgstr "" -msgctxt "#33189" -msgid "The database version detected is unsupported. Syncing may not work, proceed anyway?" -msgstr "" - -msgctxt "#33190" -msgid "Enable Kodi database discovery" -msgstr "" - msgctxt "#33191" msgid "Restart Emby for Kodi to apply this change?" msgstr "" @@ -945,3 +937,11 @@ msgstr "" msgctxt "#33194" msgid "Manage libraries" msgstr "" + +msgctxt "#33195" +msgid "Enable Emby for Kodi" +msgstr "" + +msgctxt "#33196" +msgid "Advanced options" +msgstr "" diff --git a/resources/settings.xml b/resources/settings.xml index 639f6269..27853e48 100644 --- a/resources/settings.xml +++ b/resources/settings.xml @@ -92,12 +92,13 @@ - - + + - + + diff --git a/service.py b/service.py index 8f6c7dd6..7075b105 100644 --- a/service.py +++ b/service.py @@ -78,6 +78,11 @@ if __name__ == "__main__": while True: + if not settings('enableAddon.bool'): + LOG.warn("Emby for Kodi is not enabled.") + + break + try: session = ServiceManager() session.start()