diff --git a/resources/language/German/strings.xml b/resources/language/German/strings.xml index 89a4cb90..7da49118 100644 --- a/resources/language/German/strings.xml +++ b/resources/language/German/strings.xml @@ -251,7 +251,7 @@ Enable Netflix style next up notification - The number of seconds before the end to show the notification Zeige Emby-Infodialog bei Abspiel/Auswahl Aktion - Unterdrücke Server-Verbindungsmeldungen beim Starten + Server-Verbindungsmeldungen beim Starten anzeigen Benutze lokale Pfade anstelle von Addon-Umleitungen beim Abspielen Max. Anzahl gleichzeitig nachgefragter PMS Einträge (Neustart!) diff --git a/resources/lib/userclient.py b/resources/lib/userclient.py index 1f2579b6..d8ca1cfa 100644 --- a/resources/lib/userclient.py +++ b/resources/lib/userclient.py @@ -224,16 +224,17 @@ class UserClient(threading.Thread): settings('accessToken', value=usertoken) dialog = xbmcgui.Dialog() - if username: - dialog.notification( - heading=self.addonName, - message="Welcome " + username, - icon="special://home/addons/plugin.video.plexkodiconnect/icon.png") - else: - dialog.notification( - heading=self.addonName, - message="Welcome", - icon="special://home/addons/plugin.video.plexkodiconnect/icon.png") + if utils.settings('connectMsg') == "true": + if username: + dialog.notification( + heading=self.addonName, + message="Welcome " + username, + icon="special://home/addons/plugin.video.plexkodiconnect/icon.png") + else: + dialog.notification( + heading=self.addonName, + message="Welcome", + icon="special://home/addons/plugin.video.plexkodiconnect/icon.png") return True def authenticate(self): diff --git a/resources/settings.xml b/resources/settings.xml index 5c2ac6f8..502f1e72 100644 --- a/resources/settings.xml +++ b/resources/settings.xml @@ -90,7 +90,6 @@ - @@ -104,5 +103,6 @@ + diff --git a/service.py b/service.py index 80227ed2..325c61f9 100644 --- a/service.py +++ b/service.py @@ -168,7 +168,8 @@ class Service(): else: # Start up events self.warn_auth = True - if self.welcome_msg: + if (utils.settings('connectMsg') == "true" and + self.welcome_msg): # Reset authentication warnings self.welcome_msg = False xbmcgui.Dialog().notification(