Describe the bug
Trying to start librespot results in
could not initialize spirc: Client specified an invalid argument { Message `ClientResponsePlaintext` is missing required fields }
To reproduce
Steps to reproduce the behavior:
Launch librespot with librespot -u [username] -p [password]
See error
Log
[2023-01-21T16:36:17Z INFO librespot] librespot 0.5.0-dev 4a4596f (Built on 2023-01-21, Build ID: 1674318531, Profile: release)
[2023-01-21T16:36:17Z TRACE librespot] Command line argument(s):
[2023-01-21T16:36:17Z TRACE librespot] u "XXXXXXXX"
[2023-01-21T16:36:17Z TRACE librespot] p "XXXXXXXX"
[2023-01-21T16:36:17Z TRACE librespot] verbose
[2023-01-21T16:36:17Z DEBUG librespot_core::session] new Session
[2023-01-21T16:36:17Z DEBUG librespot_discovery::server] Zeroconf server listening on 0.0.0.0:36417
[2023-01-21T16:36:17Z INFO librespot_playback::mixer::softmixer] Mixing with softvol and volume control: Log(60.0)
[2023-01-21T16:36:17Z DEBUG librespot_connect::spirc] new Spirc[0]
[2023-01-21T16:36:17Z DEBUG librespot::component] new MercuryManager
[2023-01-21T16:36:17Z DEBUG librespot::component] new ApResolver
[2023-01-21T16:36:17Z DEBUG librespot_core::http_client] Requesting https://apresolve.spotify.com/?type=accesspoint&type=dealer&type=spclient
[2023-01-21T16:36:17Z DEBUG librespot_playback::player] new Player [0]
[2023-01-21T16:36:17Z INFO librespot_playback::convert] Converting with ditherer: tpdf
[2023-01-21T16:36:17Z INFO librespot_playback::audio_backend::rodio] Using Rodio sink with format S16 and cpal host: ALSA
[2023-01-21T16:36:17Z INFO librespot_playback::audio_backend::rodio] Using audio device: default
[2023-01-21T16:36:17Z DEBUG librespot_discovery::server] Shutting down discovery server
[2023-01-21T16:36:17Z DEBUG librespot_playback::audio_backend::rodio] Rodio sink was created
[2023-01-21T16:36:17Z INFO librespot_core::session] Connecting to AP "ap-gae2.spotify.com:4070"
[2023-01-21T16:36:17Z DEBUG librespot_playback::player] Shutting down player thread ...
[2023-01-21T16:36:17Z DEBUG librespot_playback::player] drop PlayerInternal[0]
[2023-01-21T16:36:17Z DEBUG librespot_playback::player] PlayerInternal thread finished.
[2023-01-21T16:36:17Z ERROR librespot] could not initialize spirc: Client specified an invalid argument { Message `ClientResponsePlaintext` is missing required fields }
Describe the bug Trying to start librespot results in
could not initialize spirc: Client specified an invalid argument { Message `ClientResponsePlaintext` is missing required fields }
To reproduce Steps to reproduce the behavior:
librespot
withlibrespot -u [username] -p [password]
Log
Host (what you are running
librespot
on):Additional context This is likely caused by Missing pow_response and crypto_response in this commit. It was probably removed by accident.