mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
98_Text2Speech.pm: fixing warnings in logfile during each call
Reference: https://forum.fhem.de/index.php/topic,55860.0.html git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12241 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
e81f2126f6
commit
74b62b5cd8
@ -802,6 +802,8 @@ sub Text2Speech_DoIt($) {
|
||||
}
|
||||
if(-e $Mp3WrapFile) {
|
||||
$cmd = Text2Speech_BuildMplayerCmdString($hash, $Mp3WrapFile);
|
||||
$cmd .= " >/dev/null" if($verbose < 5);
|
||||
|
||||
Log3 $hash->{NAME}, 4, "Text2Speech:" .$cmd;
|
||||
system($cmd);
|
||||
#Text2Speech_WriteStats($hash, 1, $Mp3WrapFile, join(" ", @Mp3WrapText));
|
||||
@ -841,6 +843,8 @@ sub Text2Speech_DoIt($) {
|
||||
|
||||
if(-e $file) { # Datei existiert jetzt
|
||||
$cmd = Text2Speech_BuildMplayerCmdString($hash, $file);
|
||||
$cmd .= " >/dev/null" if($verbose < 5);
|
||||
|
||||
Log3 $hash->{NAME}, 4, "Text2Speech:" .$cmd;
|
||||
system($cmd);
|
||||
}
|
||||
@ -931,6 +935,8 @@ sub Text2Speech_WriteStats($$$$){
|
||||
|
||||
=pod
|
||||
=item helper
|
||||
=item summary speaks given text via loudspeaker
|
||||
=item summary_DE wandelt uebergebenen Text um fuer Ausgabe auf Lautsprecher
|
||||
=begin html
|
||||
|
||||
<a name="Text2Speech"></a>
|
||||
|
Loading…
x
Reference in New Issue
Block a user