mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-01 15:44:52 +00:00
70_XBMC: fixed a playStatus update
git-svn-id: https://svn.fhem.de/fhem/trunk@7808 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
7d69b70b52
commit
931cac6987
@ -504,7 +504,7 @@ sub XBMC_ProcessNotification($$)
|
|||||||
|
|
||||||
if (lc($1) eq "system") {
|
if (lc($1) eq "system") {
|
||||||
if ((lc($2) eq "quit") or (lc($2) eq "restart") or (lc($2) eq "sleep")) {
|
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") {
|
if (lc($2) eq "sleep") {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user