Repository: openhab/openhab-addons

Issue #1667: [Kodi] Search finds 4 Kodi instances with the same name
Created: 2017-01-07T18:52:11Z
Tested with openHAB Build 699.
When I execute a search for Kodi instances I get as a result 4 instances:

After I added 1 as thing the other 3 disappear.

Duplicate issue #1659: [Kodi] Thing is going OFFLINE / ONLINE all the time although the machine is running
Created: 2017-01-05T17:29:15Z
I am seeing that the Thing is going OFFLINE although my Kodi is running and then going ONLINE about 10 seconds later.
Is this fixable?

Closing comment (2017-01-07T19:03:24Z): In my environment on Windows 10 I have seen this effect only after a new start of openHAB. But this maybe is related to #1667 .
events.log shows the following messages:
2017-01-07 19:59:06.527 [ItemStateChangedEvent     ] - kodi_kodi_35c092e5_b61a_f18a_4876_55b901ae85c1_mediatype changed from  to song
2017-01-07 19:59:06.834 [hingStatusInfoChangedEvent] - 'kodi:kodi:35c092e5-b61a-f18a-4876-55b901ae85c1' changed from ONLINE to OFFLINE
2017-01-07 19:59:06.835 [ThingUpdatedEvent         ] - Thing 'kodi:kodi:35c092e5-b61a-f18a-4876-55b901ae85c1' has been updated.
2017-01-07 19:59:06.837 [hingStatusInfoChangedEvent] - 'kodi:kodi:35c092e5-b61a-f18a-4876-55b901ae85c1' changed from OFFLINE to ONLINE
2017-01-07 19:59:07.005 [hingStatusInfoChangedEvent] - 'kodi:kodi:35c092e5-b61a-f18a-4876-55b901ae85c1' changed from ONLINE to OFFLINE
2017-01-07 19:59:07.006 [ThingUpdatedEvent         ] - Thing 'kodi:kodi:35c092e5-b61a-f18a-4876-55b901ae85c1' has been updated.
2017-01-07 19:59:07.011 [hingStatusInfoChangedEvent] - 'kodi:kodi:35c092e5-b61a-f18a-4876-55b901ae85c1' changed from OFFLINE to ONLINE
2017-01-07 19:59:07.325 [hingStatusInfoChangedEvent] - 'kodi:kodi:35c092e5-b61a-f18a-4876-55b901ae85c1' changed from ONLINE to OFFLINE
2017-01-07 19:59:07.327 [ThingUpdatedEvent         ] - Thing 'kodi:kodi:35c092e5-b61a-f18a-4876-55b901ae85c1' has been updated.
2017-01-07 19:59:07.329 [hingStatusInfoChangedEvent] - 'kodi:kodi:35c092e5-b61a-f18a-4876-55b901ae85c1' changed from OFFLINE to ONLINE
2017-01-07 19:59:07.490 [hingStatusInfoChangedEvent] - 'kodi:kodi:35c092e5-b61a-f18a-4876-55b901ae85c1' changed from ONLINE to OFFLINE
2017-01-07 19:59:07.491 [ThingUpdatedEvent         ] - Thing 'kodi:kodi:35c092e5-b61a-f18a-4876-55b901ae85c1' has been updated.
2017-01-07 19:59:07.494 [hingStatusInfoChangedEvent] - 'kodi:kodi:35c092e5-b61a-f18a-4876-55b901ae85c1' changed from OFFLINE to ONLINE
2017-01-07 19:59:07.822 [hingStatusInfoChangedEvent] - 'kodi:kodi:35c092e5-b61a-f18a-4876-55b901ae85c1' changed from ONLINE to OFFLINE
2017-01-07 19:59:07.823 [ThingUpdatedEvent         ] - Thing 'kodi:kodi:35c092e5-b61a-f18a-4876-55b901ae85c1' has been updated.
2017-01-07 19:59:07.827 [hingStatusInfoChangedEvent] - 'kodi:kodi:35c092e5-b61a-f18a-4876-55b901ae85c1' changed from OFFLINE to ONLINE
2017-01-07 19:59:07.837 [hingStatusInfoChangedEvent] - 'kodi:kodi:35c092e5-b61a-f18a-4876-55b901ae85c1' changed from ONLINE to OFFLINE
2017-01-07 19:59:07.838 [ThingUpdatedEvent         ] - Thing 'kodi:kodi:35c092e5-b61a-f18a-4876-55b901ae85c1' has been updated.
2017-01-07 19:59:07.841 [hingStatusInfoChangedEvent] - 'kodi:kodi:35c092e5-b61a-f18a-4876-55b901ae85c1' changed from OFFLINE to ONLINE
2017-01-07 19:59:07.996 [hingStatusInfoChangedEvent] - 'kodi:kodi:35c092e5-b61a-f18a-4876-55b901ae85c1' changed from ONLINE to OFFLINE
2017-01-07 19:59:07.997 [ThingUpdatedEvent         ] - Thing 'kodi:kodi:35c092e5-b61a-f18a-4876-55b901ae85c1' has been updated.
2017-01-07 19:59:08.001 [hingStatusInfoChangedEvent] - 'kodi:kodi:35c092e5-b61a-f18a-4876-55b901ae85c1' changed from OFFLINE to ONLINE
2017-01-07 19:59:08.020 [hingStatusInfoChangedEvent] - 'kodi:kodi:35c092e5-b61a-f18a-4876-55b901ae85c1' changed from ONLINE to OFFLINE
2017-01-07 19:59:08.021 [ThingUpdatedEvent         ] - Thing 'kodi:kodi:35c092e5-b61a-f18a-4876-55b901ae85c1' has been updated.
2017-01-07 19:59:08.025 [hingStatusInfoChangedEvent] - 'kodi:kodi:35c092e5-b61a-f18a-4876-55b901ae85c1' changed from OFFLINE to ONLINE
2017-01-07 19:59:08.308 [hingStatusInfoChangedEvent] - 'kodi:kodi:35c092e5-b61a-f18a-4876-55b901ae85c1' changed from ONLINE to OFFLINE
2017-01-07 19:59:08.309 [ThingUpdatedEvent         ] - Thing 'kodi:kodi:35c092e5-b61a-f18a-4876-55b901ae85c1' has been updated.
2017-01-07 19:59:08.312 [hingStatusInfoChangedEvent] - 'kodi:kodi:35c092e5-b61a-f18a-4876-55b901ae85c1' changed from OFFLINE to ONLINE
2017-01-07 19:59:09.828 [hingStatusInfoChangedEvent] - 'kodi:kodi:35c092e5-b61a-f18a-4876-55b901ae85c1' changed from ONLINE to OFFLINE
2017-01-07 19:59:09.829 [ThingUpdatedEvent         ] - Thing 'kodi:kodi:35c092e5-b61a-f18a-4876-55b901ae85c1' has been updated.
2017-01-07 19:59:09.832 [hingStatusInfoChangedEvent] - 'kodi:kodi:35c092e5-b61a-f18a-4876-55b901ae85c1' changed from OFFLINE to ONLINE