change tts log handling to new format in batch mode 42/206342/4
authorRadoslaw Cybulski <r.cybulski@partner.samsung.com>
Thu, 16 May 2019 14:13:08 +0000 (16:13 +0200)
committerRadoslaw Cybulski <r.cybulski@partner.samsung.com>
Thu, 23 May 2019 09:57:21 +0000 (11:57 +0200)
Change-Id: Iab582f63525c9fe0b62ad1ef089eb5a6e6edc10f

src/batch/BatchRunner.cpp

index 4eb9e2ee51a5a797dc1ecef6125588770f309705..9706d15040d8a140528a81912f5b962cf402ef13 100644 (file)
@@ -1413,9 +1413,9 @@ static void threadFunc(StatPtr result, std::unique_ptr<BatchExecutor> exec, std:
                                if (!h->searchLine) {
                                        h->mode = BatchExecutor::TTSInfo::Mode::found;
                                } else {
-                                       if (txt.find("(send_chunk_to_tts)") != std::string::npos) {
-                                               static const auto prefix = std::string{ "Passing TEXT: " };
-                                               static const auto postfix = std::string{ " to TTS" };
+                                       if (txt.find("(tts_speak_customized)") != std::string::npos) {
+                                               static const auto prefix = std::string{ "TTS reading text '" };
+                                               static const auto postfix = std::string{ "'" };
 
                                                auto z = txt.find(prefix);
                                                if (z != std::string::npos) {