mirror of
https://github.com/fHDHR/fHDHR_NextPVR.git
synced 2025-12-06 10:26:57 -05:00
Merge pull request #75 from deathbybandaid/dev
Adjust SSDP Cluster Info Grabbing
This commit is contained in:
commit
5aa38ebd17
@ -135,6 +135,10 @@ class SSDPServer():
|
|||||||
if headers["server"].startswith("fHDHR"):
|
if headers["server"].startswith("fHDHR"):
|
||||||
if headers["location"] != self.location:
|
if headers["location"] != self.location:
|
||||||
savelocation = headers["location"].split("/device.xml")[0]
|
savelocation = headers["location"].split("/device.xml")[0]
|
||||||
|
if savelocation.endswith("/hdhr"):
|
||||||
|
savelocation = savelocation.replace("/hdhr", '')
|
||||||
|
elif savelocation.endswith("/rmg"):
|
||||||
|
savelocation = savelocation.replace("/rmg", '')
|
||||||
self.detect_method.set(savelocation)
|
self.detect_method.set(savelocation)
|
||||||
except KeyError:
|
except KeyError:
|
||||||
return
|
return
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user