2015-12-09, 10:43
Hi
i try to write an Plugin for the Logitech harmony. Found some usefull Python Code . It uses Sleekxmpp
The Code is working in the Command Line it isnt. working in Kodi.
For the fIrst error i found an workaround
Changing cert.py from Sleekxmpp
datetime.strptime('1970-01-01 12:00:00', "%Y-%m-%d %H:%M:%S")
To
try:
datetime.strptime('1970-01-01 12:00:00', "%Y-%m-%d %H:%M:%S")
except TypeError:
datetime(*(time.strptime('1970-01-01 12:00:00', "%Y-%m-%d %H:%M:%S")[0:6]))
Now i have a problem with
process(block=True)
Which seems to hang .
I thought mayby someone has an idea for an workaround. I Asked also in the SleekXMPP but the ML seems not to be very active.
i try to write an Plugin for the Logitech harmony. Found some usefull Python Code . It uses Sleekxmpp
The Code is working in the Command Line it isnt. working in Kodi.
For the fIrst error i found an workaround
Changing cert.py from Sleekxmpp
datetime.strptime('1970-01-01 12:00:00', "%Y-%m-%d %H:%M:%S")
To
try:
datetime.strptime('1970-01-01 12:00:00', "%Y-%m-%d %H:%M:%S")
except TypeError:
datetime(*(time.strptime('1970-01-01 12:00:00', "%Y-%m-%d %H:%M:%S")[0:6]))
Now i have a problem with
process(block=True)
Which seems to hang .
I thought mayby someone has an idea for an workaround. I Asked also in the SleekXMPP but the ML seems not to be very active.