pull/1395/head
gedoor 3 years ago
parent c284ebc63a
commit 3ad8aba2d5
  1. 2
      app/src/main/java/io/legado/app/service/HttpReadAloudService.kt

@ -139,6 +139,8 @@ class HttpReadAloudService : BaseReadAloudService(),
playAudio(fis.fd)
}
}
} catch (e: CancellationException) {
//停止朗读,不处理
} catch (e: SocketTimeoutException) {
removeSpeakCacheFile(fileName)
toastOnUi("tts接口超时,尝试重新获取")

Loading…
Cancel
Save