mirror of
https://github.com/gedoor/legado.git
synced 2024-09-01 09:34:25 +08:00
优化
This commit is contained in:
parent
c284ebc63a
commit
3ad8aba2d5
@ -139,6 +139,8 @@ class HttpReadAloudService : BaseReadAloudService(),
|
||||
playAudio(fis.fd)
|
||||
}
|
||||
}
|
||||
} catch (e: CancellationException) {
|
||||
//停止朗读,不处理
|
||||
} catch (e: SocketTimeoutException) {
|
||||
removeSpeakCacheFile(fileName)
|
||||
toastOnUi("tts接口超时,尝试重新获取")
|
||||
|
Loading…
Reference in New Issue
Block a user