2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-29 11:27:08 +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 251cbe36fa
commit 0ef1b16d06

View File

@ -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);