Commit 889df3f5 authored by Oliver Wagner's avatar Oliver Wagner
Browse files

updated PAHO library to v1.0.2 to fix startup issues caused by

"localhost" not resolving, which apparently seems to happen on some
OpenELEC installations. Fixes #6 (thanks fab33)
parent 5f025447
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="service.mqtt" name="MQTT Adapter" version="0.7" provider-name="owagner">
<addon id="service.mqtt" name="MQTT Adapter" version="0.8" provider-name="owagner">
<requires>
<import addon="xbmc.python" version="2.19.0"/>
</requires>
......
v0.8 - 2015-09-15 - owagner
- updated PAHO library to v1.0.2 to fix startup issues caused by
"localhost" not resolving, which apparently seems to happen on some
OpenELEC installations. Fixes #6 (thanks fab33)
v0.7 - 2015-08-01 - existsec
- include "thumbnail" and "fanart" in title message
......
......@@ -264,7 +264,7 @@ def _socketpair_compat():
sock1 = socket.socket(socket.AF_INET, socket.SOCK_STREAM, socket.IPPROTO_IP)
sock1.setblocking(0)
try:
sock1.connect(("localhost", port))
sock1.connect(("127.0.0.1", port))
except socket.error as err:
if err.errno != errno.EINPROGRESS and err.errno != errno.EWOULDBLOCK and err.errno != EAGAIN:
raise
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment