Reply To: Spotify Connect plugin does not autostart on boot

Max2Play Home Forums Max2Play on Raspberry PI Spotify Connect plugin does not autostart on boot Reply To: Spotify Connect plugin does not autostart on boot

13. Januar 2021 at 9:00 #50601

Hi Mario,

Thanks for the suggestion.

The files that were set on the Spotify Connect Plugin were: Username, Password, Output Device and Spotify/Squeezelite automatic Audio-Switch.

I cleared the above fields with the exception of Spotify/Squeezelite automatic Audio-Switch, which I could not clear.

I clicked the reinstall Spotify Connect Service, and rebooted .

The Spotify Connect Service is unfortunately, still not running.

At some point I will need to repopulate the Spotify/Squeezelite automatic Audio-Switch parameter.

Here’s the debug information:

#### Librespot Output ####
[2021-01-13T06:48:35Z INFO librespot] librespot 4e3576b (2019-06-01). Built on 2019-07-17. Build ID: PCNDMk8x
thread ‚main‘ panicked at ‚called Result::unwrap() on an Err value: Os { code: 19, kind: Other, message: „No such device“ }‘, src/libcore/
stack backtrace:
0: 0x9e77fc – backtrace::backtrace::libunwind::trace::hb6a132d591ca7611
at /cargo/registry/src/
1: 0x9e77fc – backtrace::backtrace::trace_unsynchronized::h57632732de182e95
at /cargo/registry/src/
2: 0x9e77fc – std::sys_common::backtrace::_print::h6cb4809c66c99661
at src/libstd/sys_common/
3: 0x9e77fc – std::sys_common::backtrace::print::h6669d3820c576c3e
at src/libstd/sys_common/
4: 0x9e77fc – std::panicking::default_hook::{{closure}}::h0ade7ad8763731e3
at src/libstd/
5: 0x9e73e0 – std::panicking::default_hook::hd3ea7a3eadd333fe
at src/libstd/
6: 0x9e7fc0 – std::panicking::rust_panic_with_hook::hce5e0d6d2351d34c
at src/libstd/
7: 0x9e7b84 – std::panicking::continue_panic_fmt::h442f516a43aa110c
at src/libstd/
8: 0x9e7a70 – rust_begin_unwind
at src/libstd/
9: 0xa015dc – core::panicking::panic_fmt::hffa19936292f87b2
at src/libcore/
10: 0x50b4d4 – core::result::unwrap_failed::hac78c8f2ff037971
11: 0x4e86b4 – librespot::main::h71ab04162931f1e7
12: 0x4ef800 – std::rt::lang_start::{{closure}}::h2c5bdf993942fb67
13: 0x9e79e8 – std::rt::lang_start_internal::{{closure}}::hcdb405dd64721e03
at src/libstd/
14: 0x9e79e8 – std::panicking::try::do_call::hfebf9402a8333320
at src/libstd/
15: 0x9eef38 – __rust_maybe_catch_panic
at src/libpanic_unwind/
16: 0x9e843c – std::panicking::try::h4211c5f7da29f2ec
at src/libstd/
17: 0x9e843c – std::panic::catch_unwind::h59ca36657f00e168
at src/libstd/
18: 0x9e843c – std::rt::lang_start_internal::ha24163ef22e56cef
at src/libstd/
19: 0x4e8dc4 – main
20: 0xb6e5f718 – __libc_start_main

#### Librespot Command Line Options ####
error: Required option ’name‘ missing
Usage: /opt/spotifyconnect/librespot [options]

-c, –cache CACHE Path to a directory where files will be cached.
Disable caching of the audio data.
-n, –name NAME Device name
–device-type DEVICE_TYPE
Displayed device type
-b, –bitrate BITRATE
Bitrate (96, 160 or 320). Defaults to 160
–onevent PROGRAM
Run PROGRAM when playback is about to begin.
-v, –verbose Enable verbose output
-u, –username USERNAME
Username to sign in with
-p, –password PASSWORD
–proxy PROXY HTTP proxy to use when connecting
–ap-port AP_PORT
Connect to AP with specified port. If no AP with that
port are present fallback AP will be used. Available
ports are usually 80, 443 and 4070
Disable discovery mode
–backend BACKEND
Audio backend to use. Use ‚?‘ to list options
–device DEVICE Audio device to use. Use ‚?‘ to list options if using
portaudio or alsa
–mixer MIXER Mixer to use (alsa or softmixer)
-m, –mixer-name MIXER_NAME
Alsa mixer name, e.g „PCM“ or „Master“. Defaults to
–mixer-card MIXER_CARD
Alsa mixer card, e.g „hw:0“ or similar from `aplay
-l`. Defaults to ‚default‘
–mixer-index MIXER_INDEX
Alsa mixer index, Index of the cards mixer. Defaults
to 0
–initial-volume VOLUME
Initial volume in %, once connected (must be from 0 to
–zeroconf-port ZEROCONF_PORT
The port the internal server advertised over zeroconf
Play all tracks at the same volume
–normalisation-pregain PREGAIN
Pregain (dB) applied by volume normalisation
increase volume linear instead of logarithmic.