|
|
@ -125,10 +125,9 @@ class AudioPlayService : BaseService(), |
|
|
|
AudioPlay.status = Status.STOP |
|
|
|
AudioPlay.status = Status.STOP |
|
|
|
postEvent(EventBus.AUDIO_STATE, Status.STOP) |
|
|
|
postEvent(EventBus.AUDIO_STATE, Status.STOP) |
|
|
|
upPlayProgressJob?.cancel() |
|
|
|
upPlayProgressJob?.cancel() |
|
|
|
val analyzeUrl = |
|
|
|
val analyzeUrl = AnalyzeUrl( |
|
|
|
AnalyzeUrl( |
|
|
|
|
|
|
|
url, |
|
|
|
url, |
|
|
|
headerMapF = AudioPlay.headers(), |
|
|
|
headerMapF = AudioPlay.headers(true), |
|
|
|
source = AudioPlay.bookSource |
|
|
|
source = AudioPlay.bookSource |
|
|
|
) |
|
|
|
) |
|
|
|
val uri = Uri.parse(analyzeUrl.getDirectUrl()) |
|
|
|
val uri = Uri.parse(analyzeUrl.getDirectUrl()) |
|
|
|