diff --git a/fhem/FHEM/73_DoorBird.pm b/fhem/FHEM/73_DoorBird.pm index 351cf3709..bb392f308 100644 --- a/fhem/FHEM/73_DoorBird.pm +++ b/fhem/FHEM/73_DoorBird.pm @@ -3035,7 +3035,7 @@ sub DoorBird_Transmit_Audio($$) { $GstCommand .= $CommandURL; ### Log Entry for debugging purposes - Log3 $name, 5, $name. " : DoorBird_Transmit_Audio - GstCommand : " . $GstCommand ; + Log3 $name, 5, $name. " : DoorBird_Transmit_Audio - GstCommand : " . $GstCommand; ### Create command for shell my $ShellCommand = "timeout " . ($AudioLength + 3) . " " . $GstCommand . " &"; @@ -3047,11 +3047,8 @@ sub DoorBird_Transmit_Audio($$) { eval { system($ShellCommand) or die "Could not execute" . $ShellCommand . " ". $@; }; - ### If error message appered - if ( $@ ) { - # $ErrorMessage = $@; - } + Log3 $name, 5, $name. " : DoorBird_Transmit_Audio - File streamed successf. : " . $AudioDataPathOrig; Log3 $name, 5, $name. " : DoorBird_Transmit_Audio - ---------------------------------------------------------------"; return "The audio file: " . $AudioDataPathOrig . " has been streamed to the DoorBird"; } @@ -4173,6 +4170,7 @@ sub DoorBird_findNewestFWVersion($$$)