|
|
@ -109,7 +109,7 @@ class HttpReadAloudService : BaseReadAloudService(), |
|
|
|
val file = getSpeakFileAsMd5(fileName) |
|
|
|
val file = getSpeakFileAsMd5(fileName) |
|
|
|
//val file = getSpeakFile(index) |
|
|
|
//val file = getSpeakFile(index) |
|
|
|
file.writeBytes(bytes) |
|
|
|
file.writeBytes(bytes) |
|
|
|
|
|
|
|
removeSpeakCacheFile(fileName) |
|
|
|
if (index == nowSpeak) { |
|
|
|
if (index == nowSpeak) { |
|
|
|
@Suppress("BlockingMethodInNonBlockingContext") |
|
|
|
@Suppress("BlockingMethodInNonBlockingContext") |
|
|
|
val fis = FileInputStream(file) |
|
|
|
val fis = FileInputStream(file) |
|
|
|