Hi, I've installed latest librespot (2023-05-14) kodi plugin, version 11.80.1.1 by awiouy (Anton Voyl) on latest kodi nightly on RPI4.
The plugin works with default options, in my case backend alsa and device hw:2,0
#librespot -d ? gives my device:
iec958:CARD=sndrpihifiberry,DEV=0
Description:
snd_rpi_hifiberry_digi, HiFiBerry Digi+ Pro HiFi wm8804-spdif-0
IEC958 (S/PDIF) Digital Audio Output
Supported Format(s):
S16 S24
I have found you can enter certain unconfigured options, since some are preconfigured by the python scripts that load the daemon (there is no systemctl service any longer to manage as audiobobo pointed out). The python acripts that load the daemon are here:
/storage/.kodi/addons/service.librespot
By default, cache is disabled and bitrate is set at 320 by, as default soundcard selected by kodi config.
You can enter extra options in the librespot kodi addon config interface, I entered -f S24 and it seems to work.
Note: apart from this client addon, I have found another Kodi .zip wrapper manual plugin for Spotify. (https://github.com/jhjdekker98/plugin.audio.spotifyd-client), and it has a link for a armhf binary on https://github.com/Spotifyd/spotifyd/releases, but I haven't tried installing it since it requires Spotify Developer account settings and copying binaries to a specific path: /resources/lib/spotifyd/spotifyd. It is an alternative to the 'official' librespot kodi plugin, and it lets you customize all options to your liking.