librespot icon indicating copy to clipboard operation
librespot copied to clipboard

Opening other spotify clients sometimes ask Continue Playing

Open rlopzc opened this issue 5 years ago • 3 comments

Hello, when trying to control librespot from other clients, it sometimes ask "Continue Playing" and the current session (song) continues. It automatically connects when this "Continue Playing" pops in the client.

The problem is when it doesn't, and I try to select manually the session stops

This is the debug trace when this manual selection and session stops:

[2020-09-11T02:14:31Z DEBUG librespot_connect::discovery] Post "/" {}
[2020-09-11T02:14:31Z DEBUG librespot_connect::spirc] drop Spirc[1]
[2020-09-11T02:14:31Z DEBUG librespot_playback::player] Shutting down player thread ...
[2020-09-11T02:14:31Z DEBUG librespot_playback::player] drop PlayerInternal[1]
[2020-09-11T02:14:31Z DEBUG librespot_playback::player] PlayerInternal thread finished.
[2020-09-11T02:14:31Z DEBUG librespot_core::session] drop Session[1]
[2020-09-11T02:14:31Z DEBUG librespot_core::audio_key] drop AudioKeyManager
[2020-09-11T02:14:31Z DEBUG librespot_core::channel] drop ChannelManager
[2020-09-11T02:14:31Z DEBUG librespot_core::mercury] drop MercuryManager
[2020-09-11T02:14:31Z DEBUG librespot_core::session] drop Dispatch
[2020-09-11T02:14:31Z INFO  librespot_core::session] Connecting to AP "guc3-accesspoint-b-npd0.ap.spotify.com:4070"
[2020-09-11T02:14:32Z INFO  librespot_core::session] Authenticated as "XXXXXXXX" !
[2020-09-11T02:14:32Z DEBUG librespot_core::session] new Session[2]
[2020-09-11T02:14:32Z DEBUG librespot_connect::spirc] new Spirc[2]
[2020-09-11T02:14:32Z DEBUG librespot_connect::spirc] canonical_username: XXXXXXXX
[2020-09-11T02:14:32Z DEBUG librespot_core::mercury] new MercuryManager
[2020-09-11T02:14:32Z DEBUG librespot_connect::spirc] input volume:65535 to mixer: 65535
[2020-09-11T02:14:32Z DEBUG librespot_core::session] Session[2] strong=3 weak=2
[2020-09-11T02:14:32Z INFO  librespot_core::session] Country: "XX"
[2020-09-11T02:14:32Z DEBUG librespot_playback::player] new Player[2]
[2020-09-11T02:14:32Z INFO  librespot_playback::audio_backend::alsa] Using alsa sink
[2020-09-11T02:14:32Z DEBUG librespot_playback::player] command=AddEventSender
[2020-09-11T02:14:32Z DEBUG librespot_playback::player] command=VolumeSet(65535)
[2020-09-11T02:14:32Z DEBUG librespot_core::mercury] unknown subscription uri=hm://remote/user/XXXXXXXX/
[2020-09-11T02:14:32Z DEBUG librespot_core::mercury] subscribed uri=hm://remote/user/XXXXXXXX/ count=0

Any idea what could it be?

rlopzc avatar Sep 11 '20 02:09 rlopzc

Do you have a way of reproducing this reliably?

roderickvd avatar Aug 07 '21 20:08 roderickvd

I just want to note that this happens to me too. I don't know how to reproduce it, however. The one thing I noticed is that exiting the other client and starting it up again, it detects librespot and offers to continue playing.

ghost avatar Dec 07 '21 18:12 ghost

I really need a reproducible scenario to start doing something about this.

roderickvd avatar Dec 07 '21 22:12 roderickvd