mirror of
https://github.com/fHDHR/fHDHR_NextPVR.git
synced 2025-12-06 06:46:58 -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["location"] != self.location:
|
||||
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)
|
||||
except KeyError:
|
||||
return
|
||||
|
||||
Loading…
Reference in New Issue
Block a user