MCPcopy
hub / github.com/iBaa/PlexConnect / getPMSProperty

Function getPMSProperty

PlexAPI.py:95–102  ·  view source on GitHub ↗
(ATV_udid, uuid, tag)

Source from the content-addressed store, hash-verified

93 g_PMS[ATV_udid][uuid][tag] = value
94
95def getPMSProperty(ATV_udid, uuid, tag):
96 # get name of PMS by UUID
97 if not ATV_udid in g_PMS:
98 return '' # no server known for this aTV
99 if not uuid in g_PMS[ATV_udid]:
100 return '' # requested PMS not available
101
102 return g_PMS[ATV_udid][uuid].get(tag, '')
103
104def getPMSFromAddress(ATV_udid, address):
105 # find PMS by IP, return UUID

Callers 2

discoverPMSFunction · 0.85
getXMLFromMultiplePMSFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected