diff --git a/app/src/main/java/io/legado/app/service/AudioPlayService.kt b/app/src/main/java/io/legado/app/service/AudioPlayService.kt index 01a795d24..332a5b1e2 100644 --- a/app/src/main/java/io/legado/app/service/AudioPlayService.kt +++ b/app/src/main/java/io/legado/app/service/AudioPlayService.kt @@ -131,7 +131,7 @@ class AudioPlayService : BaseService(), headerMapF = AudioPlay.headers(), source = AudioPlay.bookSource ) - val uri = Uri.parse(analyzeUrl.url) + val uri = Uri.parse(analyzeUrl.getDirectUrl()) val mediaSource = ExoPlayerHelper .createMediaSource(uri, analyzeUrl.headerMap) exoPlayer.setMediaSource(mediaSource)