-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spotify streaming errors #2863
Comments
Based on the log excerpt this appears to be a duplicate of #2860 |
The description of the problem over there is not very detailed, so I could not say, if we talk about the same issue. Nevertheless this one points out that also AirPlay and Google Cast is affected. |
Yes but only because that is what you have tried. I expect that if you try Snapcast you will get the same thing because if you look in the log it is full of Spotify errors. To confirm you can try a radio station and see what happens |
please test if this is fixed in 2.3.0b18 |
Unfortunately not fixed at all (2.3.0.b19). |
Please check if this is fixed in beta 21 |
Thanks! |
Have recent beta 23 running. I might add that I have not yet installed 2024.9.0 that just came out. And I further want to add that I have put the playlist to randomly repeat. |
Ok this will continue to get investigated. The log is helpful. |
Bit more logging as well for me, I also tried turning off shuffle and just letting the playlist go. For a while it worked but eventually ran into this: I am noticing that this seems to happen pretty consistently in my logs when the music just stops playing. Maybe related to the token expiring and not renewing before the next track is requested? |
Thanks. We can see what the problem is. No need for any more followup. When there is news of a fix you will hear it here first. |
Beta 24 came out. This time I first ran into a problem with Apple HomePod Mini: At exactly time 07:51:39 no sound output, while the music appears to be playing within MA (both Chromecast and Airplay started playing at time 06:36). |
I have the same issue as identified here I've updated to 2.3.0b26. Not sure if that was suppossed to fix the issue, but I still get dropped playback of queued tracks.
|
Also beta 26 here. To bring the sound output back, I just have to click on the forward button in the frontend and the playlist continues with the next song. edit: at time 13:23 also Google Home Mini stopped sound output - Google Cast entity status changed to buffering; MA entity still status playing; |
Tried beta 26 as well. The same issue happens where it just stops playing after a few tracks, though i notice noting in the log now. Am I see are the sync task and metadata scan task, nothing else of note. |
Just another update I noticed, seems inconsistent for me. Today for instance I've got through 22 tracks so far without a problem. Yesterday it got through something like 16 track before stopping without any error. EDIT: So far today I am not sure I have even seen it randomly stop. Guess I am getting super lucky! |
I'm assuming MA uses librespot behind the scenes? Might be related to this PR, which was recently merged into dev. This fixed Spotify issues for several 3rd party applications using librespot under the hood. |
What version of Music Assistant has the issue?
2.3.0b16
What version of the Home Assistant Integration have you got installed?
2024.8.1
Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?
The problem
Unfortunately Issue #2765 was marked as closed very fast. Because the problem persists in my setup I open this new entry. The problem still comes back after a non predictable amount of time - on Chromecast/Google Cast as well as on AirPlay. Arbitrarily (but usually only between songs) the sound-output stops and does not come back although music still appears to be playing within MA. I have both players also added via Apple-TV/Google Cast integration - these entities immediately go to idle when the sound-output stops. Music provider in use is Spotify only.
How to reproduce
Happens arbitrarily during playback (Spotify playlist). Usually between two songs (after one song ends).
Music Providers
Spotify only
Player Providers
Happens on HomePod Mini, Google Home Mini
Full log output
Log-entries from yesterday and today:
log.docx
Additional information
As a workaround I have set up an automation that gets triggered when the entity from Apple-TV/Google Cast integration goes to Idle for 4 seconds - the automation then stops the MA-entity and restarts the playlist. But this however is of course far from what the system should be.
Router in use: Synology MR2200ac
Did a lot of experimenting with router settings but nothing makes the situation better. I have not noticed any other issues within my network.
What version of Home Assistant Core are your running
2024.8.3
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Raspberry Pi
The text was updated successfully, but these errors were encountered: