2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-01 01:09:47 +00:00

98_Text2Speech.pm: mp3,ogg,wav are now recognize

git-svn-id: https://svn.fhem.de/fhem/trunk@8898 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
tobiasfaust 2015-07-05 17:35:01 +00:00
parent b3e2c0ea47
commit c024383546

View File

@ -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|ogg|wav]):/g);
@FileTplPc = ($text[$i] =~ /:(\w+.+[mp3|ogg|wav]):/g);
for(my $j=0; $j<(@FileTplPc); $j++) {
my $time = time();
$time =~ s/\.//g;