From 1433732c082a23026d5412d0a1b6f24913abaa91 Mon Sep 17 00:00:00 2001 From: tobiasfaust <> Date: Sat, 4 Jul 2015 11:56:30 +0000 Subject: [PATCH] 98_Text2Speech.pm: ogg/wav as direkt mp3files are now possible git-svn-id: https://svn.fhem.de/fhem/trunk@8886 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/CHANGED | 1 + fhem/FHEM/98_Text2Speech.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/fhem/CHANGED b/fhem/CHANGED index f35aa8dc9..0d3222e70 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: Text2Speech: ogg/wav as direkt mp3files are now possible - bugfix: SOMFY: Added attr "additionalPosReading" to store current position Bugfixing, made position calculation more stable - bugfix: 10_IT: Fix readings State for IT V3 switch (Forum #38406) diff --git a/fhem/FHEM/98_Text2Speech.pm b/fhem/FHEM/98_Text2Speech.pm index df34b1e8c..b68fa7cd4 100644 --- a/fhem/FHEM/98_Text2Speech.pm +++ b/fhem/FHEM/98_Text2Speech.pm @@ -403,7 +403,7 @@ sub Text2Speech_PrepareSpeech($$) { # bei Angabe direkter MP3-Files wird hier ein temporäres Template vergeben for(my $i=0; $i<(@text); $i++) { - @FileTplPc = ($text[$i] =~ /:(\w+.mp3):/g); + @FileTplPc = ($text[$i] =~ /:(\w+.[mp3|ogg|wav]):/g); for(my $j=0; $j<(@FileTplPc); $j++) { my $time = time(); $time =~ s/\.//g;