From f89ab08b061e097aae3a2443b2856e8ffcdbb04e Mon Sep 17 00:00:00 2001 From: vbs <> Date: Fri, 8 Mar 2019 15:42:26 +0000 Subject: [PATCH] 70_KODI: fixed crash on boolean responses git-svn-id: https://svn.fhem.de/fhem/trunk@18827 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/70_KODI.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/FHEM/70_KODI.pm b/fhem/FHEM/70_KODI.pm index dbe534630..6f85eba7d 100644 --- a/fhem/FHEM/70_KODI.pm +++ b/fhem/FHEM/70_KODI.pm @@ -775,7 +775,7 @@ sub KODI_ProcessResponse($$) } else { my $result = $obj->{result}; - if($result && $result ne 'OK') { + if($result && $result ne 'OK' && $result ne JSON::true) { readingsBeginUpdate($hash); foreach my $key (keys %$result) { if ($key eq 'item') {