KODI IMDb Rating

HI everyone,

yesterday I just started with the KODI-Binding … Until now everything works instead of the IMDb-Rating.

In the log-file I see that it instantly switches from the correct state to 0.0 … and I don’t know what causes this …

Anyone else having the same problem?

item

  Number KODI_imdb_rating		"Wertung [%.1f]"	<imdb> {channel="kodi:kodi:kodi_wohnzimmer:rating"}`

sitemap

Text item=KODI_imdb_rating

log

2019-12-16 13:27:55.999 [vent.ItemStateChangedEvent] - KODI_imdb_rating changed from 0.0 to 7.300000190734863
2019-12-16 13:27:56.000 [vent.ItemStateChangedEvent] - KODI_imdb_rating changed from 7.300000190734863 to 0.0

Thanks in advance

No one?! :frowning:

what is the correct value ?

you mean the KODI_imd_rating is flipping out ?

Yes,

when I start a movie it instantly switches to the correct value and then again instantly from the correct value to 0.0 as you can see in the log file … and I don’t know why …

Hi all,

It looks like there is a small bug in the binding. The rating channel will be overridden by the value of the userrating. I will provide a fix for it.

Thanks for reporting :+1:.

1 Like

Thank you very much! :slight_smile:

@cweitkamp

When do you think the fix will be implemented?

Cause I’ve just seen that it messes up my event.log

2020-01-06 21:10:26.618 [vent.ItemStateChangedEvent] - KODI_imdb_rating changed from 0.0 to 7.300000190734863
2020-01-06 21:10:26.619 [vent.ItemStateChangedEvent] - KODI_imdb_rating changed from 7.300000190734863 to 0.0
2020-01-06 21:10:36.747 [vent.ItemStateChangedEvent] - KODI_imdb_rating changed from 0.0 to 7.300000190734863
2020-01-06 21:10:36.748 [vent.ItemStateChangedEvent] - KODI_imdb_rating changed from 7.300000190734863 to 0.0
2020-01-06 21:10:46.853 [vent.ItemStateChangedEvent] - KODI_imdb_rating changed from 0.0 to 7.300000190734863
2020-01-06 21:10:46.853 [vent.ItemStateChangedEvent] - KODI_imdb_rating changed from 7.300000190734863 to 0.0
2020-01-06 21:10:56.964 [vent.ItemStateChangedEvent] - KODI_imdb_rating changed from 0.0 to 7.300000190734863
2020-01-06 21:10:56.965 [vent.ItemStateChangedEvent] - KODI_imdb_rating changed from 7.300000190734863 to 0.0
2020-01-06 21:11:07.085 [vent.ItemStateChangedEvent] - KODI_imdb_rating changed from 0.0 to 7.300000190734863
2020-01-06 21:11:07.086 [vent.ItemStateChangedEvent] - KODI_imdb_rating changed from 7.300000190734863 to 0.0
2020-01-06 21:11:17.205 [vent.ItemStateChangedEvent] - KODI_imdb_rating changed from 0.0 to 7.300000190734863
2020-01-06 21:11:17.205 [vent.ItemStateChangedEvent] - KODI_imdb_rating changed from 7.300000190734863 to 0.0
2020-01-06 21:11:27.299 [vent.ItemStateChangedEvent] - KODI_imdb_rating changed from 0.0 to 7.300000190734863
2020-01-06 21:11:27.299 [vent.ItemStateChangedEvent] - KODI_imdb_rating changed from 7.300000190734863 to 0.0
2020-01-06 21:11:37.401 [vent.ItemStateChangedEvent] - KODI_imdb_rating changed from 0.0 to 7.300000190734863
2020-01-06 21:11:37.401 [vent.ItemStateChangedEvent] - KODI_imdb_rating changed from 7.300000190734863 to 0.0
2020-01-06 21:11:47.508 [vent.ItemStateChangedEvent] - KODI_imdb_rating changed from 0.0 to 7.300000190734863
2020-01-06 21:11:47.509 [vent.ItemStateChangedEvent] - KODI_imdb_rating changed from 7.300000190734863 to 0.0
2020-01-06 21:11:57.626 [vent.ItemStateChangedEvent] - KODI_imdb_rating changed from 0.0 to 7.300000190734863
2020-01-06 21:11:57.627 [vent.ItemStateChangedEvent] - KODI_imdb_rating changed from 7.300000190734863 to 0.0

The fix has been merged few days ago:

IIRC there will be a patch release this weekend (OH 2.5.1).