diff --git a/resources/language/English/strings.xml b/resources/language/English/strings.xml index 2445a32b..76bd7279 100644 --- a/resources/language/English/strings.xml +++ b/resources/language/English/strings.xml @@ -363,7 +363,7 @@ Boost audio when transcoding Burnt-in subtitle size Limit download sync threads (rec. for rpi: 1) - Enable Plex Companion + Enable Plex Companion (restart Kodi!) Plex Companion Port (change only if needed) Activate Plex Companion debug log Activate Plex Companion GDM debug log @@ -438,6 +438,7 @@ Always use default Plex subtitle if possible 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) Log-out Plex Home User diff --git a/resources/language/German/strings.xml b/resources/language/German/strings.xml index 81bc6fea..e19b29dc 100644 --- a/resources/language/German/strings.xml +++ b/resources/language/German/strings.xml @@ -312,7 +312,7 @@ Audio Verstärkung (audio boost) wenn transkodiert wird Grösse des Untertitels, falls burnt-in Download Sync Threads beschränken (Empfehlung RPI: 1) - Plex Companion aktivieren + Plex Companion aktivieren (Kodi neu starten!) Plex Companion Port (nur bei Bedarf ändern) Plex Companion debug log aktivieren Plex Companion GDM debug log aktivieren @@ -387,6 +387,7 @@ Falls möglich, Plex Standard-Untertitel anzeigen 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 Home Benutzer abmelden: diff --git a/resources/lib/plexbmchelper/plexgdm.py b/resources/lib/plexbmchelper/plexgdm.py index 99636a9f..7750566c 100644 --- a/resources/lib/plexbmchelper/plexgdm.py +++ b/resources/lib/plexbmchelper/plexgdm.py @@ -49,7 +49,7 @@ class plexgdm: self._multicast_address = '239.0.0.250' self.discover_group = (self._multicast_address, 32414) self.client_register_group = (self._multicast_address, 32413) - self.client_update_port = 32412 + self.client_update_port = int(settings('companionUpdatePort')) self.server_list = [] self.discovery_interval = 120 @@ -104,8 +104,9 @@ class plexgdm: try: update_sock.bind(('0.0.0.0', self.client_update_port)) except: - log.error("Unable to bind to port [%s] - client will not be " - "registered" % self.client_update_port) + log.error("Unable to bind to port [%s] - Plex Companion will not " + "be registered. Change the Plex Companion update port!" + % self.client_update_port) return update_sock.setsockopt(socket.IPPROTO_IP, diff --git a/resources/settings.xml b/resources/settings.xml index fd16f3fa..7b4ea57f 100644 --- a/resources/settings.xml +++ b/resources/settings.xml @@ -39,6 +39,7 @@ +