-
Notifications
You must be signed in to change notification settings - Fork 129
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 daemon stops playing after a while #589
Comments
Same for me with Spotify Connect as source, so using vollibrespot. Could be the same problem as stated in #576 . I did remove the Spotify IP from the /etc/hosts file but this only gets the connection working, not ensuring that it stays stable. So there is a good chance that the error is on Spotifys side. Quick update: Update 2 : For now this seems to work for me. Had disconnects every ~10 minutes. Been playing without disconnecting for 20ish minutes. |
Hi @josefmuhr did disabling bluetooth fixed the issue permanent? And how did you disbaled the bluetooth, via the web UI or via SSH? Thanks in advancd |
I have not had a single disconnect since disabling. |
Hi @josefmuhr, Maybe the time before the spotify daemon intterups playing has increased, but it still stops after a while. |
@dennisfrijlink it does work for me. |
Hi @josefmuhr, Still having issues with Spotify stops playing music after a while (e.g. 20 minutes). Here the spotifyd config (see below). Maybe someone is stuck in there. I'm using the Hfibiberry Amp4 Pro, but I don't think he's the cause of the issue. Thanks in advance
|
I've had the issue as well with latest beta of HBOS. For me, it helped to stop the spotify app on my android phone. Thus, I suspect the app to be the source of this. |
@baldrianbandit I also use an Android Phone. But that means with the current release of HBOS the user cannot (easily) use spotify connect to play music? |
Well, in my case the issue started at some point and stopped... recently. My HBOS device wasn't altered nor restarted for two months, though. Spotifyd would sometimes even stop after each track. Now it's running fine all day long. I have the feeling this has to do with a regression bug in the spotify app that maybe got fixed by now. Currently I use build 8.9.96.476. |
Hello, I have the same problem of spotify disconnecting. I suspect it might be related to issue #1340 of librespot, which has been fixed in a recent release. So I would ask for releasing a version of HBOS with the latest librespot version. Thanks |
@Eirikr70 As wer'e not using librespot directly, we can only use what's implemented by the developers of a project - volllibrespot in this case. |
Hi @hifiberry , this answer seems hardly acceptable to me. I have bought a product from hifiberry and it depends on your OS to work. Vollibrespot has been discontinued two years ago. You cannot hide behind the default of a third party to avoid fulfilling your obligations. You need to find a workaround for Vollibrespot's lack of maintenance. EDIT : apologies, I didn't know of the 64bit alternative. |
@Eirikr70 It seems, there are some misunderstandings. None of our products depends on HiFiBerryOS, HiFiBerryOS is a software we give away for free. Nobody ever "bought" it. We also never claimed that any of the products we sell would support Spotify. If you don't want to use HiFiBerryOS, you don't have to. Just install Raspberry Pi OS, configure the drivers and install whatever you like. |
@hifiberry It seems that both vollibrespot and spotifyd are kind of outdated (esp. regarding the librespot-dependency).
edit taking https://github.com/hifiberry/extension_spotifyd (master / Debian image) as a starting point, I got spotify-player to build quite easily. I think I'll give it a try (if I am correct, the extension system only relies on such a repo/container? I'm a bit confused as there are several spotifyd-artefacts in the hifiberry-os repo) |
So, I did some digging into spotify-player. It does not expose the zeroconf-option, which means you have to provide credentials to get it running. At least for me, it is now out-of-scope. On the other hand, spotifyd is still pretty active, though there have been no releases over a longer time. I guess it's best to wait for an update there (librespot-update is "in the works") |
Describe the bug
The spotify deamon setup works fine but for somehow after a while it just stops playing and not just pause, the song is also not selected anymore.
HiFiBerryOS version
20240523
HiFiBerry sound card
DAC+ Pro
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Just keep playing.
Additional context
Beside that when I check the logs of the spotify deamon it returns nothing
And when checking the running services nothing spotify related is showing:
The text was updated successfully, but these errors were encountered: