Skip to content
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

Logged in connection to Spotify disconnects after some inactive time #11

Open
chaseadam opened this issue Sep 15, 2022 · 2 comments
Open

Comments

@chaseadam
Copy link

Using a username/password to login to Spotify specified in /etc/vollibrespot.conf.

After some inactive time the device disappears from Spotify clienst and the following error is in the logs:

Sep 13 09:37:24 hifiberry vollibrespot[771]: [Vollibrespot] : Connection to server closed.
Sep 13 09:37:24 hifiberry vollibrespot[771]: [Vollibrespot] : Spirc shut down unexpectedly
Sep 13 09:37:24 hifiberry vollibrespot[771]: [Vollibrespot] : EventSender disconnected

Restarting the service which runs volibrespot re-connects, but will disconnect again after some time.

This behavior does not exist in upstream librespot. I made a small attempt to rebase to latest upstream librespot, but it looks like they did some internals rework which does not make it straight forward.

@ashthespy
Copy link
Owner

I haven't been doing much with this off-late - and yes, this is currently based of my (old) custom fork of librespot
But it would seem Volumio's fork (https://github.com/volumio/Vollibrespot/tree/0.4.2) is tracking upstream?

Either way, this player/daemon is very bare bones, and your probably better off using something like spotifyd until I/someone makes the time to rework it :-)

@austin99
Copy link

I'm having a similar-ish issue, however in my case I'm using a VPN and upon bringing the VPN connection up, I get the following messages exactly 60 seconds later.

[Vollibrespot] : Connection to server closed.
[Vollibrespot] librespot_core::session: Invalidating session[0]
[Vollibrespot] librespot_core::channel: new ChannelManager
[Vollibrespot] librespot_core::session: drop Dispatch
[Vollibrespot] : Spirc shut down unexpectedly
[Vollibrespot] librespot_connect::spirc: drop Spirc[0]
[Vollibrespot] librespot_playback::player: Shutting down player thread ...
[Vollibrespot] librespot_playback::player: drop PlayerInternal[0]
[Vollibrespot] librespot_playback::player: PlayerInternal thread finished.
[Vollibrespot] : EventSender disconnected
[Vollibrespot] vollibrespot::meta_pipe: drop MetaPipeThread[0]

I don't have any issues when the VPN remains disconnected.

@ashthespy would you be able to point me in the right direction as to how I might further diagnose? Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants