From 847b127edd259f23faafc0e21cfca9f799072842 Mon Sep 17 00:00:00 2001 From: nasseeder1 Date: Mon, 22 Feb 2021 20:28:19 +0000 Subject: [PATCH] 49_SSCam.pm: contrib 9.8.5 git-svn-id: https://svn.fhem.de/fhem/trunk@23802 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/DS_Starter/49_SSCam.pm | 38 ++++++++++++++--------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/fhem/contrib/DS_Starter/49_SSCam.pm b/fhem/contrib/DS_Starter/49_SSCam.pm index a4737ab01..183d6423e 100644 --- a/fhem/contrib/DS_Starter/49_SSCam.pm +++ b/fhem/contrib/DS_Starter/49_SSCam.pm @@ -184,7 +184,7 @@ BEGIN { # Versions History intern my %vNotesIntern = ( - "9.8.5" => "22.02.2021 remove sscam_tooltip.js ", + "9.8.5" => "22.02.2021 remove sscam_tooltip.js, substitute /fhem by \$FW_ME ", "9.8.4" => "20.02.2021 sub Define minor fix ", "9.8.3" => "29.11.2020 fix cannot send snaps/recs if snapTelegramTxt + snapChatTxt and no cacheType (cacheType=internal) is set ", "9.8.2" => "04.10.2020 use showStoredCredentials from SMUtils ", @@ -413,16 +413,16 @@ my %vNotesExtern = ( # Tooltipps Textbausteine (http://www.walterzorn.de/tooltip/tooltip.htm#download), §NAME§ wird durch Kameranamen ersetzt my %ttips_en = ( ttrefresh => "The playback of streaming content of camera of "§NAME§" will be restartet.", - ttrecstart => "Start an endless recording of camera "§NAME§".
You have to stop the recording manually.", + ttrecstart => "Start an endless recording of camera "§NAME§".\nYou have to stop the recording manually.", ttrecstop => "Stopp the recording of camera "§NAME§".", ttsnap => "Take a snapshot of camera "§NAME§".", ttcmdstop => "Stopp playback of camera "§NAME§"", - tthlsreact => "Reactivate HTTP Livestreaming Interface of camera "§NAME§".
The camera is enforced to restart HLS transmission.", + tthlsreact => "Reactivate HTTP Livestreaming Interface of camera "§NAME§".\nThe camera is enforced to restart HLS transmission.", ttmjpegrun => "Playback the MJPEG Livestream of camera "§NAME§".", tthlsrun => "Playback the native HTTP Livestream of camera "§NAME§". The browser must have native support for HLS streaming.", - ttlrrun => "Playback of last recording of camera "§NAME§" in an iFrame.
Both MJPEG and H.264 recordings are rendered.", - tth264run => "Playback of last H.264 recording of camera "§NAME§".
It only starts if the recording is type H.264", - ttlmjpegrun => "Playback of last MJPEG recording of camera "§NAME§".
It only starts if the recording is type MJPEG", + ttlrrun => "Playback of last recording of camera "§NAME§" in an iFrame.\nBoth MJPEG and H.264 recordings are rendered.", + tth264run => "Playback of last H.264 recording of camera "§NAME§".\nIt only starts if the recording is type H.264", + ttlmjpegrun => "Playback of last MJPEG recording of camera "§NAME§".\nIt only starts if the recording is type MJPEG", ttlsnaprun => "Playback of last snapshot of camera "§NAME§".", confcam => "The configuration menu of camera "§NAME§" will be opened in a new Browser page", confsvs => "The configuration page of Synology Surveillance Station will be opened in a new Browser page", @@ -431,16 +431,16 @@ my %ttips_en = ( my %ttips_de = ( ttrefresh => "Die Wiedergabe des Streams von Kamera "§NAME§" wird neu gestartet.", - ttrecstart => "Startet eine Endlosaufnahme von Kamera "§NAME§".
Die Aufnahme muß manuell gestoppt werden.", + ttrecstart => "Startet eine Endlosaufnahme von Kamera "§NAME§".\nDie Aufnahme muß manuell gestoppt werden.", ttrecstop => "Stoppt die laufende Aufnahme von Kamera "§NAME§".", ttsnap => "Ein Schnappschuß von Kamera "§NAME§" wird aufgenommen.", ttcmdstop => "Stopp Wiedergabe von Kamera "§NAME§"", - tthlsreact => "Reaktiviert das HTTP Livestreaming Interface von Kamera "§NAME§".
Die Kamera wird aufgefordert die HLS Übertragung zu restarten.", + tthlsreact => "Reaktiviert das HTTP Livestreaming Interface von Kamera "§NAME§".\nDie Kamera wird aufgefordert die HLS Übertragung zu restarten.", ttmjpegrun => "Wiedergabe des MJPEG Livestreams von Kamera "§NAME§"", - tthlsrun => "Wiedergabe des HTTP Livestreams von Kamera "§NAME§".
Es wird die HLS Funktion der Synology Surveillance Station verwendet. (der Browser muss HLS nativ unterstützen)", - ttlrrun => "Wiedergabe der letzten Aufnahme von Kamera "§NAME§" in einem iFrame.
Es werden sowohl MJPEG als auch H.264 Aufnahmen wiedergegeben.", - tth264run => "Wiedergabe der letzten H.264 Aufnahme von Kamera "§NAME§".
Die Wiedergabe startet nur wenn die Aufnahme vom Typ H.264 ist.", - ttlmjpegrun => "Wiedergabe der letzten MJPEG Aufnahme von Kamera "§NAME§".
Die Wiedergabe startet nur wenn die Aufnahme vom Typ MJPEG ist.", + tthlsrun => "Wiedergabe des HTTP Livestreams von Kamera "§NAME§".\nEs wird die HLS Funktion der Synology Surveillance Station verwendet. (der Browser muss HLS nativ unterstützen)", + ttlrrun => "Wiedergabe der letzten Aufnahme von Kamera "§NAME§" in einem iFrame.\nEs werden sowohl MJPEG als auch H.264 Aufnahmen wiedergegeben.", + tth264run => "Wiedergabe der letzten H.264 Aufnahme von Kamera "§NAME§".\nDie Wiedergabe startet nur wenn die Aufnahme vom Typ H.264 ist.", + ttlmjpegrun => "Wiedergabe der letzten MJPEG Aufnahme von Kamera "§NAME§".\nDie Wiedergabe startet nur wenn die Aufnahme vom Typ MJPEG ist.", ttlsnaprun => "Wiedergabe des letzten Schnappschusses von Kamera "§NAME§".", confcam => "Das Konfigurationsmenü von Kamera "§NAME§" wird in einer neuen Browserseite geöffnet", confsvs => "Die Konfigurationsseite der Synology Surveillance Station wird in einer neuen Browserseite geöffnet", @@ -7983,7 +7983,7 @@ sub _streamDevGENERIC { ## no critic 'not } if(!$htag) { - $ret .= "
Set attribute \"genericStrmHtmlTag\" in device $camname or in device $strmdev

"; + $ret .= "
Set attribute \"genericStrmHtmlTag\" in device $camname or in device $strmdev

"; return $ret; } @@ -8079,7 +8079,7 @@ sub _streamDevHLS { ## no critic 'not $d =~ s/\./_/x; # Namensableitung zur javascript Codeanpassung if(!$m3u8) { - $cause = "You have to specify attribute \"hlsStrmObject\" in Camera $cam !"; + $cause = qq{You have to specify attribute "hlsStrmObject" in Camera $cam !}; $ret .= "
$cause

"; return $ret; } @@ -8703,8 +8703,8 @@ sub bindhlsjs { Log3($strmdev, 4, "$strmdev - HLS Streaming use net library \"$lib\" "); } else { - $ret .= ""; - Log3($strmdev, 4, "$strmdev - HLS Streaming use local file \"/fhem/pgm2/$hlsjs\" "); + $ret .= ""; + Log3($strmdev, 4, "$strmdev - HLS Streaming use local file \"$FW_ME/pgm2/$hlsjs\" "); } my $back = << "END_HLSJS"; @@ -8770,7 +8770,7 @@ sub composeGallery { $dlink = $alias; # keine Links im Stream-Dev generieren } else { - $dlink = "$alias"; + $dlink = "$alias"; } } @@ -8799,8 +8799,8 @@ sub composeGallery { # wenn SSCamSTRM-device genutzt wird und attr "snapGalleryBoost" nicht gesetzt ist -> Warnung in Gallerie ausgeben my $sgbnote = " "; if($strmdev && !AttrVal($name,"snapGalleryBoost",0)) { - $sgbnote = "CAUTION - The gallery is not updated automatically. Please set the attribute \"snapGalleryBoost=1\" in device $name"; - $sgbnote = "ACHTUNG - Die Galerie wird nicht automatisch aktualisiert. Dazu bitte das Attribut \"snapGalleryBoost=1\" im Device $name setzen." if ($lang eq "DE"); + $sgbnote = "CAUTION - The gallery is not updated automatically. Please set the attribute \"snapGalleryBoost=1\" in device $name"; + $sgbnote = "ACHTUNG - Die Galerie wird nicht automatisch aktualisiert. Dazu bitte das Attribut \"snapGalleryBoost=1\" im Device $name setzen." if ($lang eq "DE"); } my $ttsnap = $ttips_en{"ttsnap"}; $ttsnap =~ s/§NAME§/$camname/xg;