mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-01 07:19:24 +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:
parent
b3e2c0ea47
commit
c024383546
@ -403,7 +403,7 @@ sub Text2Speech_PrepareSpeech($$) {
|
|||||||
|
|
||||||
# bei Angabe direkter MP3-Files wird hier ein temporäres Template vergeben
|
# bei Angabe direkter MP3-Files wird hier ein temporäres Template vergeben
|
||||||
for(my $i=0; $i<(@text); $i++) {
|
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++) {
|
for(my $j=0; $j<(@FileTplPc); $j++) {
|
||||||
my $time = time();
|
my $time = time();
|
||||||
$time =~ s/\.//g;
|
$time =~ s/\.//g;
|
||||||
|
Loading…
Reference in New Issue
Block a user