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 16:13 #50605

Hi Mario,

In Spotify Connect
1.My sound card is selected as follows. Output Device: hw:sndrpihifiberry – sndrpihifiberry, hw:sndrpihifiberry (written here as listed)

2. Spotify/Squeezelite automatic Audio-Switch is set to the IP of the Squeezebox-Server

3. All other settings are blank.

All is working well, apart from the fact that on reboot, Spotify Connect does not start automatically.

#### Librespot Output ####

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

Options:
-c, –cache CACHE Path to a directory where files will be cached.
–disable-audio-cache
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
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
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
‚PCM‘
–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
100)
–zeroconf-port ZEROCONF_PORT
The port the internal server advertised over zeroconf
uses.
–enable-volume-normalisation
Play all tracks at the same volume
–normalisation-pregain PREGAIN
Pregain (dB) applied by volume normalisation
–linear-volume
increase volume linear instead of logarithmic.

Regards,
Maurice.