This commit is contained in:
SillyLossy
2023-05-22 17:01:21 +03:00

View File

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