diff --git a/resources/language/English/strings.xml b/resources/language/English/strings.xml index 76bd7279..539241ab 100644 --- a/resources/language/English/strings.xml +++ b/resources/language/English/strings.xml @@ -12,6 +12,8 @@ Transcode: Enable Performance Profiling Local caching system + OK + Never show Connection Network @@ -439,6 +441,7 @@ If you use several Plex libraries of one kind, e.g. "Kids Movies" and "Parents Movies", be sure to check the Wiki: https://goo.gl/JFtQV9 Number of PMS items to show in widgets (e.g. "On Deck") Plex Companion Update Port (change only if needed) + Plex Companion could not open the GDM port. Please change it in the PKC settings. Log-out Plex Home User diff --git a/resources/language/German/strings.xml b/resources/language/German/strings.xml index e19b29dc..89b82879 100644 --- a/resources/language/German/strings.xml +++ b/resources/language/German/strings.xml @@ -12,6 +12,9 @@ Transkodieren: Performancemessung aktivieren Caching-Mechanismus + OK + Nie anzeigen + Host SSL Zertifikat überprüfen (sicherer) Synchronisations-Fortschritt anzeigen Zwischenspeichern von PMS Bildern erzwingen @@ -388,6 +391,7 @@ Falls du mehrere Plex Bibliotheken einer Art nutzt, z.B. "Filme Kinder" und "Filme Eltern", lies unbedingt das Wiki unter https://goo.gl/JFtQV9 Anzahl anzuzeigender PMS Einträge in Widgets (z.B. "Aktuell") Plex Companion Update Port (nur bei Bedarf ändern) + Plex Companion konnte den GDM Port nicht öffnen. Bitte den Port in den PKC Einstellungen ändern. Plex Home Benutzer abmelden: diff --git a/resources/lib/plexbmchelper/plexgdm.py b/resources/lib/plexbmchelper/plexgdm.py index 7750566c..94fc492e 100644 --- a/resources/lib/plexbmchelper/plexgdm.py +++ b/resources/lib/plexbmchelper/plexgdm.py @@ -29,7 +29,7 @@ import time from xbmc import sleep import downloadutils -from utils import window, settings +from utils import window, settings, dialog, language ############################################################################### @@ -107,6 +107,17 @@ class plexgdm: log.error("Unable to bind to port [%s] - Plex Companion will not " "be registered. Change the Plex Companion update port!" % self.client_update_port) + if settings('companion_show_gdm_port_warning') == 'true': + if dialog('yesno', + language(29999), + 'Port %s' % self.client_update_port, + language(39079), + yeslabel=language(30013), # Never show again + nolabel=language(30012)): # OK + settings('companion_show_gdm_port_warning', value='false') + from xbmc import executebuiltin + executebuiltin( + 'Addon.OpenSettings(plugin.video.plexkodiconnect)') return update_sock.setsockopt(socket.IPPROTO_IP, diff --git a/resources/settings.xml b/resources/settings.xml index 7b4ea57f..524e6a00 100644 --- a/resources/settings.xml +++ b/resources/settings.xml @@ -43,6 +43,7 @@ +