mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-29 05:24:10 +00:00
73_MPD: fix OK msg handling
git-svn-id: https://svn.fhem.de/fhem/trunk@28820 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
251cbe36fa
commit
0ef1b16d06
@ -1282,7 +1282,7 @@ sub MPD_IdleStart($)
|
|||||||
$output .= "|".$_;
|
$output .= "|".$_;
|
||||||
$step=1;
|
$step=1;
|
||||||
}
|
}
|
||||||
elsif ($_ !~ m{\Aplayer|playlist|mixer|options|update\z}x){
|
elsif ($_ !~ m{\Aplayer|playlist|mixer|options|update|OK\z}x){
|
||||||
print $sock "idle\n";
|
print $sock "idle\n";
|
||||||
$step=1;
|
$step=1;
|
||||||
readingsSingleUpdate($hash,'last_error',$_,1);
|
readingsSingleUpdate($hash,'last_error',$_,1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user