|
|
|
@ -66,11 +66,8 @@ class HttpReadAloudService : BaseReadAloudService(), |
|
|
|
|
super.play() |
|
|
|
|
kotlin.runCatching { |
|
|
|
|
val tts = ReadAloud.httpTTS ?: throw NoStackTraceException("httpTts is null") |
|
|
|
|
val fileName = |
|
|
|
|
md5SpeakFileName( |
|
|
|
|
tts.url, |
|
|
|
|
AppConfig.ttsSpeechRate.toString(), |
|
|
|
|
contentList[nowSpeak] |
|
|
|
|
val fileName = md5SpeakFileName( |
|
|
|
|
tts.url, AppConfig.ttsSpeechRate.toString(), contentList[nowSpeak] |
|
|
|
|
) |
|
|
|
|
if (nowSpeak == 0 && downloadTask?.isActive != true) { |
|
|
|
|
downloadAudio() |
|
|
|
|