diff --git a/fhem/CHANGED b/fhem/CHANGED index 4d0a5b594..6f7bec9e5 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -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 diff --git a/fhem/FHEM/49_SSCam.pm b/fhem/FHEM/49_SSCam.pm index f452b3c7f..53790b2d9 100644 --- a/fhem/FHEM/49_SSCam.pm +++ b/fhem/FHEM/49_SSCam.pm @@ -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") {