From 8ca9613d62b7e3348fb05519bdbcf8f76abc205c Mon Sep 17 00:00:00 2001 From: croneter Date: Sat, 19 Dec 2020 21:16:34 +0100 Subject: [PATCH] Fix Plex GDM discovery in local LAN --- resources/lib/plex_functions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/lib/plex_functions.py b/resources/lib/plex_functions.py index a7391b5c..97c3d409 100644 --- a/resources/lib/plex_functions.py +++ b/resources/lib/plex_functions.py @@ -15,9 +15,9 @@ LOG = getLogger('PLEX.plex_functions') CONTAINERSIZE = int(utils.settings('limitindex')) # For discovery of PMS in the local LAN -PLEX_GDM_IP = '239.0.0.250' # multicast to PMS +PLEX_GDM_IP = b'239.0.0.250' # multicast to PMS PLEX_GDM_PORT = 32414 -PLEX_GDM_MSG = 'M-SEARCH * HTTP/1.0' +PLEX_GDM_MSG = b'M-SEARCH * HTTP/1.0' ###############################################################################