def update_mm(self, status):
address = ("http://" + self.mm_host + ":" + self.mm_port + "/alexapi?action=AVSSTATUS&status=" + status)
logger.debug("Calling URL: %s", address)
try:
response = urlopen(address).read()
except URLError as err:
logger.error("URLError: %s", err.reason)
return
logger.debug("Response: %s", response)
评论列表
文章目录