49_SSCAM: "link_open" doesn't work after last update

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@11129 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1
2016-03-27 09:12:08 +00:00
parent fc78fa1d9b
commit 16dede1bde
2 changed files with 7 additions and 7 deletions

View File

@@ -1,5 +1,6 @@
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
# Do not insert empty lines here, update check depends on it.
- bugfix: 49_SSCAM: "link_open" doesn't work after last update
- added: 70_BRAVIA: new module for Sony Televisions
- feature: 98_statistics: attr specialDeltaPeriod (new) enhanced for more
than one value and different periods

View File

@@ -27,6 +27,7 @@
##########################################################################################################
# Versions History:
#
# 1.22 27.03.2016 bugfix "link_open" doesn't work after last update
# 1.21 23.03.2016 added "lastrec","lastrec_open" to playback last recording
# 1.20.3 19.03.2016 change: delay of InternalTimer(s) changed
# "ptzlistpresets" - "id" changed to "position" according to Synology-ticket
@@ -414,20 +415,18 @@ sub SSCam_Set {
$prop = "link";
if ($prop1) {$hash->{HELPER}{VIEWOPENROOM} = $prop1;} else {delete $hash->{HELPER}{VIEWOPENROOM};}
$hash->{HELPER}{OPENWINDOW} = 1;
} else {
$hash->{HELPER}{OPENWINDOW} = 0;
}
if ($prop eq "lastrec_open") {
$hash->{HELPER}{WLTYPE} = $prop;
} elsif ($prop eq "lastrec_open") {
$prop = "lastrec";
if ($prop1) {$hash->{HELPER}{VIEWOPENROOM} = $prop1;} else {delete $hash->{HELPER}{VIEWOPENROOM};}
$hash->{HELPER}{OPENWINDOW} = 1;
$hash->{HELPER}{WLTYPE} = $prop;
} else {
$hash->{HELPER}{OPENWINDOW} = 0;
$hash->{HELPER}{WLTYPE} = $prop;
}
runliveview($hash);
$hash->{HELPER}{WLTYPE} = $prop;
runliveview($hash);
}
elsif ($opt eq "extevent")
{