(ATV_udid, uuid, tag)
| 93 | g_PMS[ATV_udid][uuid][tag] = value |
| 94 | |
| 95 | def 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 | |
| 104 | def getPMSFromAddress(ATV_udid, address): |
| 105 | # find PMS by IP, return UUID |
no outgoing calls
no test coverage detected