Max2Play Home › Forums › Max2Play Add-ons › Spotify Connect service crashes if used when Squeezelite player not paused › Reply To: Spotify Connect service crashes if used when Squeezelite player not paused
I did try reinstalling but made no difference.
I think the actual sequence is:
Let’s say we’re active via Squeezelite player. Start playing via Spotify Connect. Squeezelite keeps playing, which is fine. Spotify appears to be playing in that the progress bar and timers are changing in Spotify Now Playing panel. Pause Squeezelite player via LMS web control. Spotify still playing, Spotify Connect service still running, but no sound being output from Pi box. Pause Spotify player and I think it is at that point that the Connect service crashes with the usual debug info. That’s what appears to happen, although there may be some timing synchronicity which makes it appear it’s hitting pause that kills it.
#### Librespot Output ####
INFO:librespot: librespot cc9dba8 (2017-03-26). Built on 2017-07-17. Build ID: 8zQE3Bpb
INFO:librespot::session: Connecting to AP „lon2-accesspoint-a12.ap.spotify.com:4070“
INFO:librespot::session: Authenticated as „theonlyfoz“ !
INFO:librespot::audio_backend::alsa: Using alsa sink
INFO:librespot::session: Country: „GB“
INFO:librespot::player: Loading track „Symphony No. 1 in C Minor, Op. 11: I. Allegro di molto“
INFO:librespot::player: Track „Symphony No. 1 in C Minor, Op. 11: I. Allegro di molto“ loaded
thread ‚<unnamed>‘ panicked at ‚called
Option::unwrap() on a
None value‘, /checkout/src/libcore/option.rs:329
note: Run with
RUST_BACKTRACE=1 for a backtrace.
thread ‚main‘ panicked at ‚called
Result::unwrap() on an
Err value: „SendError(..)“‚, /checkout/src/libcore/result.rs:859