From 7a8b48701730c4a89fe5878411b69f7665e70fd0 Mon Sep 17 00:00:00 2001 From: "Tobias.Faust" <> Date: Sun, 17 Mar 2019 09:09:41 +0000 Subject: [PATCH] 98_Text2Speech.pm: changed back to old mpv API due some problems git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@18937 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- CHANGED | 3 +-- FHEM/98_Text2Speech.pm | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/CHANGED b/CHANGED index 2f236c313..a370b2b07 100644 --- a/CHANGED +++ b/CHANGED @@ -2,8 +2,7 @@ # Do not insert empty lines here, update check depends on it. - changed: 74_Unifi: removed UCv3 support - feature: 59_Weather: and APIs fix utf8 encode bug, insert patch from lippie - - change: 98_Text2Speech.pm: changed to new mpv API and removed some bugs - thanks to RomanticBoy83 + - change: 98_Text2Speech.pm: removed some bugs, thanks to RomanticBoy83 - feature: 71_YAMAHA_MC: optional parameter TurnFavNetRadioChannelOn added - change: 49_SSCam: V8.11.4, make SSCam ready for SVS version 8.2.3-5829 - feature: mqtt2.template: add filters to limit shown templates diff --git a/FHEM/98_Text2Speech.pm b/FHEM/98_Text2Speech.pm index 208f47f38..81a3c7dac 100644 --- a/FHEM/98_Text2Speech.pm +++ b/FHEM/98_Text2Speech.pm @@ -41,9 +41,9 @@ my %sets = ( # path to mplayer my $mplayer = 'sudo /usr/bin/mplayer'; #my $mplayerOpts = '-nolirc -noconsolecontrols -http-header-fields "User-Agent:Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.172 Safari/537.22m"'; -my $mplayerOpts = ''; +my $mplayerOpts = '-nolirc -noconsolecontrols'; my $mplayerNoDebug = '-really-quiet'; -my $mplayerAudioOpts = '--audio-device='; +my $mplayerAudioOpts = '-ao alsa:device='; #my $ttsAddr = 'http://translate.google.com/translate_tts?tl=de&q='; my %ttsHost = ("Google" => "translate.google.com", "VoiceRSS" => "api.voicerss.org"