Skip to content

[BUG] Downloaded music frequently getting stopped in the middle of playback #258

@prasannasirimane-1234

Description

@prasannasirimane-1234

🐛 Bug Description

I have created my playlist and added songs into it, then i have downloaded the songs, but during playback they frequently stop and show unknown error, even if i change song and come back to it the same error continues, but if i delete the download and re download it then the issue gets resolved but after some 10 15 minutes again same issue starts with a different song, even when i delete all the songs and re download everything the same issue happens

🔄 Steps to Reproduce

Steps to reproduce the behavior:

  1. Go to 'player ui'
  2. Click on 'play any downloaded song
  3. In the middle of playback randomly Unknown error screen appears and song stops

✅ Expected Behavior

A clear and concise description of what you expected to happen.

❌ Actual Behavior

A clear and concise description of what actually happened.

📱 Device Information

-available in the log below

📸 Screenshots

Image

📋 Additional Context

Add any other context about the problem here.

🔍 Logs

echo
Repository navigation
Code
Issues
51
(51)
Downloaded music frequently getting stopped in the middle of playback #2967
Closed
Closed
Downloaded music frequently getting stopped in the middle of playback
#2967
Description
@prasannasirimane-1234
prasannasirimane-1234
opened yesterday
I have created my playlist and added songs into it, then i have downloaded the songs, but during playback they frequently stop and show unknown error, even if i change song and come back to it the same error continues, but if i delete the download and re download it then the issue gets resolved but after some 10 15 minutes again same issue starts with a different song, even when i delete all the songs and re download everything

Image
the same issue happens

Echo Music Diagnostics Report
Generated: Sun May 03 09:57:25 GMT+05:30 2026
App: 4.2.2 (421) release
Architecture: universal
Device: motorola motorola edge 50 fusion
Android: 16 (SDK 36)
Package: iad1tya.echo.music

[Playback]
isPlaying=false
positionMs=177993
queueSize=161
currentSong=qPRNIHxLhmc

[Downloads]
activeDownloads=408

[Build]
brand=motorola
model=motorola edge 50 fusion
device=cuscoi

[Recent Logs]
09:53:30.225 D/ListenTogetherManager: Initializing ListenTogetherManager
09:53:30.433 D/Echo: SpatialAudioManager: Sensors stopped
09:53:30.651 D/ListenTogetherManager: setPlayerConnection: true, isInRoom: false
09:53:30.651 D/ListenTogetherManager: Host heartbeat stopped
09:53:30.877 E/Echo: io.ktor.client.plugins.ClientRequestException: Client request(POST https://music.youtube.com/youtubei/v1/get_transcript?key=AIzaSyC9XL3ZjWddXya6X74dJoCTL-WEYFDNX3) invalid: 400 . Text: "{
"error": {
"code": 400,
"message": "Precondition check failed.",
"errors": [
{
"message": "Precondition check failed.",
"domain": "global",
"reason": "failedPrecondition"
}
],
"status": "FAILED_PRECONDITION"
}
}
"
at q7.i.invokeSuspend(r8-map-id-42341d65c15685fa618ef3b64207afdcca6544a3f33a99b46d36df2843747ce2:213)
at i9.a.resumeWith(r8-map-id-42341d65c15685fa618ef3b64207afdcca6544a3f33a99b46d36df2843747ce2:9)
at da.m0.run(r8-map-id-42341d65c15685fa618ef3b64207afdcca6544a3f33a99b46d36df2843747ce2:115)
at la.a.run(r8-map-id-42341d65c15685fa618ef3b64207afdcca6544a3f33a99b46d36df2843747ce2:118)

io.ktor.client.plugins.ClientRequestException: Client request(POST https://music.youtube.com/youtubei/v1/get_transcript?key=AIzaSyC9XL3ZjWddXya6X74dJoCTL-WEYFDNX3) invalid: 400 . Text: "{
"error": {
"code": 400,
"message": "Precondition check failed.",
"errors": [
{
"message": "Precondition check failed.",
"domain": "global",
"reason": "failedPrecondition"
}
],
"status": "FAILED_PRECONDITION"
}
}
"
at q7.i.invokeSuspend(r8-map-id-42341d65c15685fa618ef3b64207afdcca6544a3f33a99b46d36df2843747ce2:213)
at i9.a.resumeWith(r8-map-id-42341d65c15685fa618ef3b64207afdcca6544a3f33a99b46d36df2843747ce2:9)
at da.m0.run(r8-map-id-42341d65c15685fa618ef3b64207afdcca6544a3f33a99b46d36df2843747ce2:115)
at la.a.run(r8-map-id-42341d65c15685fa618ef3b64207afdcca6544a3f33a99b46d36df2843747ce2:118)

09:53:32.553 E/Echo: java.lang.IllegalStateException: Lyrics unavailable
at iad1tya.echo.music.lyrics.YouTubeLyricsProvider.getLyrics-yxL6bBk(r8-map-id-42341d65c15685fa618ef3b64207afdcca6544a3f33a99b46d36df2843747ce2:218)
at iad1tya.echo.music.lyrics.YouTubeLyricsProvider$getLyrics$1.invokeSuspend(r8-map-id-42341d65c15685fa618ef3b64207afdcca6544a3f33a99b46d36df2843747ce2:17)
at i9.a.resumeWith(r8-map-id-42341d65c15685fa618ef3b64207afdcca6544a3f33a99b46d36df2843747ce2:9)
at da.m0.run(r8-map-id-42341d65c15685fa618ef3b64207afdcca6544a3f33a99b46d36df2843747ce2:115)
at la.a.run(r8-map-id-42341d65c15685fa618ef3b64207afdcca6544a3f33a99b46d36df2843747ce2:118)

java.lang.IllegalStateException: Lyrics unavailable
at iad1tya.echo.music.lyrics.YouTubeLyricsProvider.getLyrics-yxL6bBk(r8-map-id-42341d65c15685fa618ef3b64207afdcca6544a3f33a99b46d36df2843747ce2:218)
at iad1tya.echo.music.lyrics.YouTubeLyricsProvider$getLyrics$1.invokeSuspend(r8-map-id-42341d65c15685fa618ef3b64207afdcca6544a3f33a99b46d36df2843747ce2:17)
at i9.a.resumeWith(r8-map-id-42341d65c15685fa618ef3b64207afdcca6544a3f33a99b46d36df2843747ce2:9)
at da.m0.run(r8-map-id-42341d65c15685fa618ef3b64207afdcca6544a3f33a99b46d36df2843747ce2:115)
at la.a.run(r8-map-id-42341d65c15685fa618ef3b64207afdcca6544a3f33a99b46d36df2843747ce2:118)

09:56:30.258 E/Echo: androidx.media3.exoplayer.ExoPlaybackException: Source error
at androidx.media3.exoplayer.ExoPlayerImplInternal.handleIoException(r8-map-id-42341d65c15685fa618ef3b64207afdcca6544a3f33a99b46d36df2843747ce2:17)
at androidx.media3.exoplayer.ExoPlayerImplInternal.handleMessage(r8-map-id-42341d65c15685fa618ef3b64207afdcca6544a3f33a99b46d36df2843747ce2:46

Paste logs here

✅ Checklist

  • [ ✅] I have searched for existing issues
  • [ ✅] have provided all required information
  • [ ✅] I have tested on the latest version
  • [ ✅] have included device information

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions