Spotify error - error: Unrecognized option: 'linear-volume'

Hi, My spotify service appears to be failing due to a “linear-volume” setting. It looks to me like the spotify service has changed its requirements to “mixer-linear-volume”, and this may be why it’s failing?
My pi skills are virtually non-existent so I would really appreciate it if someone could help me resolve this issue.
Here is the log:
31.12.20 15:02:24 (+0000) spotify Starting Spotify plugin…
31.12.20 15:02:24 (+0000) spotify Device name: RaspberryRipple
31.12.20 15:02:24 (+0000) spotify Volume normalization enabled.
31.12.20 15:02:24 (+0000) spotify error: Unrecognized option: 'linear-volume’
31.12.20 15:02:24 (+0000) spotify Usage: /usr/bin/librespot [options]
31.12.20 15:02:24 (+0000) spotify
31.12.20 15:02:24 (+0000) spotify Options:
31.12.20 15:02:24 (+0000) spotify -c, --cache CACHE Path to a directory where files will be cached.
31.12.20 15:02:24 (+0000) spotify --disable-audio-cache
31.12.20 15:02:24 (+0000) spotify Disable caching of the audio data.
31.12.20 15:02:24 (+0000) spotify -n, --name NAME Device name
31.12.20 15:02:24 (+0000) spotify --device-type DEVICE_TYPE
31.12.20 15:02:24 (+0000) spotify Displayed device type
31.12.20 15:02:24 (+0000) spotify -b, --bitrate BITRATE
31.12.20 15:02:24 (+0000) spotify Bitrate (96, 160 or 320). Defaults to 160
31.12.20 15:02:24 (+0000) spotify --onevent PROGRAM
31.12.20 15:02:24 (+0000) spotify Run PROGRAM when playback is about to begin.
31.12.20 15:02:24 (+0000) spotify --emit-sink-events
31.12.20 15:02:24 (+0000) spotify Run program set by --onevent before sink is opened and
31.12.20 15:02:24 (+0000) spotify after it is closed.
31.12.20 15:02:24 (+0000) spotify -v, --verbose Enable verbose output
31.12.20 15:02:24 (+0000) spotify -u, --username USERNAME
31.12.20 15:02:24 (+0000) spotify Username to sign in with
31.12.20 15:02:24 (+0000) spotify -p, --password PASSWORD
31.12.20 15:02:24 (+0000) spotify Password
31.12.20 15:02:24 (+0000) spotify --proxy PROXY HTTP proxy to use when connecting
31.12.20 15:02:24 (+0000) spotify --ap-port AP_PORT
31.12.20 15:02:24 (+0000) spotify Connect to AP with specified port. If no AP with that
31.12.20 15:02:24 (+0000) spotify port are present fallback AP will be used. Available
31.12.20 15:02:24 (+0000) spotify ports are usually 80, 443 and 4070
31.12.20 15:02:24 (+0000) spotify --disable-discovery
31.12.20 15:02:24 (+0000) spotify Disable discovery mode
31.12.20 15:02:24 (+0000) spotify --backend BACKEND
31.12.20 15:02:24 (+0000) spotify Audio backend to use. Use ‘?’ to list options
31.12.20 15:02:24 (+0000) spotify --device DEVICE Audio device to use. Use ‘?’ to list options if using
31.12.20 15:02:24 (+0000) spotify portaudio or alsa
31.12.20 15:02:24 (+0000) spotify --mixer MIXER Mixer to use (alsa or softvol)
31.12.20 15:02:24 (+0000) spotify -m, --mixer-name MIXER_NAME
31.12.20 15:02:24 (+0000) spotify Alsa mixer name, e.g “PCM” or “Master”. Defaults to
31.12.20 15:02:24 (+0000) spotify ‘PCM’
31.12.20 15:02:24 (+0000) spotify --mixer-card MIXER_CARD
31.12.20 15:02:24 (+0000) spotify Alsa mixer card, e.g “hw:0” or similar from aplay 31.12.20 15:02:24 (+0000) spotify -l. Defaults to ‘default’
31.12.20 15:02:24 (+0000) spotify --mixer-index MIXER_INDEX
31.12.20 15:02:24 (+0000) spotify Alsa mixer index, Index of the cards mixer. Defaults
31.12.20 15:02:24 (+0000) spotify to 0
31.12.20 15:02:24 (+0000) spotify –mixer-linear-volume
31.12.20 15:02:24 (+0000) spotify Disable alsa’s mapped volume scale (cubic). Default
31.12.20 15:02:24 (+0000) spotify false
31.12.20 15:02:24 (+0000) spotify --initial-volume VOLUME
31.12.20 15:02:24 (+0000) spotify Initial volume in %, once connected (must be from 0 to
31.12.20 15:02:24 (+0000) spotify 100)
31.12.20 15:02:24 (+0000) spotify --zeroconf-port ZEROCONF_PORT
31.12.20 15:02:24 (+0000) spotify The port the internal server advertised over zeroconf
31.12.20 15:02:24 (+0000) spotify uses.
31.12.20 15:02:24 (+0000) spotify --enable-volume-normalisation
31.12.20 15:02:24 (+0000) spotify Play all tracks at the same volume
31.12.20 15:02:24 (+0000) spotify --normalisation-pregain PREGAIN
31.12.20 15:02:24 (+0000) spotify Pregain (dB) applied by volume normalisation
31.12.20 15:02:24 (+0000) spotify --volume-ctrl VOLUME_CTRL
31.12.20 15:02:24 (+0000) spotify Volume control type - [linear, log, fixed]. Default is
31.12.20 15:02:24 (+0000) spotify logarithmic
31.12.20 15:02:24 (+0000) spotify --autoplay autoplay similar songs when your music ends.
31.12.20 15:02:24 (+0000) spotify --disable-gapless
31.12.20 15:02:24 (+0000) spotify disable gapless playback.
31.12.20 15:02:24 (+0000) spotify
31.12.20 15:02:25 (+0000) Service exited ‘spotify sha256:af77189c01e2bdd04470631728a32bcc02de0ae35efd5debfbd5f939e9bdea9a’

Version number is balenaOS 2.65.0+rev1

Hey @gingersteve I think you’re running into this issue: https://github.com/balenalabs/balena-sound/issues/386

This has been closed literally in the last few minutes by my colleague @shawaj so what you’ll need to do is deploy the latest version. If you used the ‘Deploy with balena’ button you just need to click it again and deploy to the same application to update your device(s). If you downloaded the code and used the CLI you’ll need to download the latest version and push again. Thanks for reporting the issue! :slight_smile:

2 Likes