(self,param)
| 343 | return [200, "application/octet-stream", action, content] |
| 344 | |
| 345 | def localProxy(self,param): |
| 346 | if not self.login(): |
| 347 | return {} |
| 348 | typ = param['type'] |
| 349 | if typ == "m3u8": |
| 350 | return self.proxyM3U8(param) |
| 351 | if typ == "media": |
| 352 | return self.proxyMedia(param) |
| 353 | return None |
| 354 | |
| 355 | def getToken(self,shareId,sharePwd): |
| 356 | self.localTime = int(time.time()) |
nothing calls this directly
no test coverage detected