2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-15 22:26:04 +00:00

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
This commit is contained in:
tobiasfaust 2015-07-04 11:56:30 +00:00
parent ad87cf9b5f
commit 1433732c08
2 changed files with 2 additions and 1 deletions

View File

@ -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)

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