mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
49_SSCam.pm: Version 9.10.4
git-svn-id: https://svn.fhem.de/fhem/trunk@26113 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
b4686f4913
commit
795cead27c
@ -3,7 +3,7 @@
|
||||
#########################################################################################################################
|
||||
# 49_SSCam.pm
|
||||
#
|
||||
# (c) 2015-2021 by Heiko Maaz
|
||||
# (c) 2015-2022 by Heiko Maaz
|
||||
# e-mail: Heiko dot Maaz at t-online dot de
|
||||
#
|
||||
# This Module can be used to operate Cameras defined in Synology Surveillance Station 7.0 or higher.
|
||||
@ -185,6 +185,7 @@ BEGIN {
|
||||
|
||||
# Versions History intern
|
||||
my %vNotesIntern = (
|
||||
"9.10.4" => "03.06.2022 avoid warning 'No data for Cache with key: {LASTSNAP}' if no snap exists ",
|
||||
"9.10.3" => "23.11.2022 made SYNO.SurveillanceStation.AudioStream, SYNO.SurveillanceStation.VideoStream optional for SVS compatibility to 9.0.0 ",
|
||||
"9.10.2" => "03.11.2021 set SVS compatibility to 8.2.10 ",
|
||||
"9.10.1" => "18.07.2021 set SVS compatibility to 8.2.9 ",
|
||||
@ -7190,6 +7191,8 @@ sub __saveLastSnapToCache {
|
||||
my $name = $paref->{name};
|
||||
my $data = $paref->{data}; # decodierte JSON Daten
|
||||
|
||||
return if (!exists $data->{data}{data}[0]{imageData}); # kein Snap vorhanden
|
||||
|
||||
my $cache = cache($name, "c_init"); # Cache initialisieren
|
||||
|
||||
Log3($name, 1, "$name - Fall back to internal Cache due to preceding failure.") if(!$cache);
|
||||
|
Loading…
x
Reference in New Issue
Block a user