diff --git a/fhem/FHEM/49_IPCAM.pm b/fhem/FHEM/49_IPCAM.pm index 168918ac0..a52eee988 100644 --- a/fhem/FHEM/49_IPCAM.pm +++ b/fhem/FHEM/49_IPCAM.pm @@ -214,6 +214,7 @@ IPCAM_getSnapshot($) { readingsBeginUpdate($hash); if($seq < $seqImages) { $seq++; + $imageFormat = "JPG" if($imageFormat eq "JPEG"); $lastSnapshot = $name."_snapshot.".lc($imageFormat); $imageFile = $name."_snapshot".$seq.".".lc($imageFormat); if(!open(FH, ">$storage/$lastSnapshot")) {