From 632692913a8f27f346f9e29a0707bb7a7019219c Mon Sep 17 00:00:00 2001 From: vbs2 Date: Sat, 31 Jan 2015 21:54:48 +0000 Subject: [PATCH] 70_XBMC: fixed a playStatus update git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@7808 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/70_XBMC.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/FHEM/70_XBMC.pm b/fhem/FHEM/70_XBMC.pm index 367c9561f..09314cbb4 100644 --- a/fhem/FHEM/70_XBMC.pm +++ b/fhem/FHEM/70_XBMC.pm @@ -504,7 +504,7 @@ sub XBMC_ProcessNotification($$) if (lc($1) eq "system") { if ((lc($2) eq "quit") or (lc($2) eq "restart") or (lc($2) eq "sleep")) { - readingsBulkUpdate($hash, "playStatus", "stopped" ); + readingsSingleUpdate($hash, "playStatus", "stopped", 1); } if (lc($2) eq "sleep") {