2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-25 03:44:52 +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:
Beta-User 2024-04-24 09:31:59 +00:00
parent 4277722381
commit c3c1f32ee9

View File

@ -1282,7 +1282,7 @@ sub MPD_IdleStart($)
$output .= "|".$_;
$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";
$step=1;
readingsSingleUpdate($hash,'last_error',$_,1);