Merge pull request #366 from ouoertheo/ouoertheo/empty-tts-bugfix

Ouoertheo/empty tts bugfix
This commit is contained in:
Cohee
2023-05-22 16:21:59 +03:00
committed by GitHub

View File

@@ -174,6 +174,7 @@ function debugTtsPlayback() {
"audioQueueProcessorReady": audioQueueProcessorReady,
"ttsJobQueue": ttsJobQueue,
"currentTtsJob": currentTtsJob,
"ttsConfig": extension_settings.tts
}
))
}
@@ -372,6 +373,7 @@ async function processTtsQueue() {
try {
if (!text) {
console.warn('Got empty text in TTS queue job.');
completeTtsJob()
return;
}