-
Notifications
You must be signed in to change notification settings - Fork 452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install on Raspberry Pi Zero W2 #1051
Comments
Hi and welcome! As the error message indicates, The copied file is not valid in its documented form as you need to change some values:
The following file should get past the errors (make sure that you replace [global]
username = "USER"
password = "PASS"
backend = "alsa"
mixer = "PCM"
volume-controller = "alsa" # or alsa_linear, or softvol
device_name = "my_spotifyd"
bitrate = 320
volume-normalisation = true
normalisation-pregain = -10 Maybe this helps to get your installation working! If you have any further questions, feel free to ask! 😃 Edit: see also this issue |
Thanx a lot, yes i found there some mistakes But my spotifyd crashed after i connected to device and press play button (on PC for example). ALSA lib pcm_hw.c:1829:(_snd_pcm_hw_open) Invalid value for card
Alsa error PCM open ALSA function 'snd_pcm_open' failed with error 'ENODEV: No such device'
Could not start audio: Alsa error: PCM open failed
ALSA lib pcm_hw.c:1829:(_snd_pcm_hw_open) Invalid value for card
Alsa error PCM open ALSA function 'snd_pcm_open' failed with error 'ENODEV: No such device'
Could not start audio: Alsa error: PCM open failed
Caught panic with message: called `Option::unwrap()` on a `None` value For audio output im using i2s with DAC, (not connected now, waiting for delivery), **** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_dac], device 0: HifiBerry DAC HiFi pcm5102a-hifi-0 [HifiBerry DAC HiFi pcm5102a-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
pi@raspberrypi:~ $ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
lavrate
Rate Converter Plugin Using Libav/FFmpeg Library
samplerate
Rate Converter Plugin Using Samplerate Library
speexrate
Rate Converter Plugin Using Speex Resampler
jack
JACK Audio Connection Kit
oss
Open Sound System
pulse
PulseAudio Sound Server
upmix
Plugin for channel upmix (4,6,8)
vdownmix
Plugin for channel downmix (stereo) with a simple spacialization
speakerbonnet
dmixer
softvol
default
plugequal
equal
hw:CARD=sndrpihifiberry,DEV=0
snd_rpi_hifiberry_dac, HifiBerry DAC HiFi pcm5102a-hifi-0
Direct hardware device without any conversions
plughw:CARD=sndrpihifiberry,DEV=0
snd_rpi_hifiberry_dac, HifiBerry DAC HiFi pcm5102a-hifi-0
Hardware device with all software conversions
sysdefault:CARD=sndrpihifiberry
snd_rpi_hifiberry_dac, HifiBerry DAC HiFi pcm5102a-hifi-0
Default Audio Device
dmix:CARD=sndrpihifiberry,DEV=0
snd_rpi_hifiberry_dac, HifiBerry DAC HiFi pcm5102a-hifi-0
Direct sample mixing device
usbstream:CARD=sndrpihifiberry
snd_rpi_hifiberry_dac
USB Stream Output so i dont know if i must wait for my dac and configure spotifyd after wires are already connected or, if is possible configure this without DAC. Thanks a lot for your advices! And have a nice day :). |
Great to hear that. I don't know how useful this will be without speakers, but you should be able to try any of those names that If that doesn't work, could you paste your |
Hello, Here i'm using this following configuration, in summary, may it serves for you:
If you need to compile, may check: #1053 (comment) |
I'm going to close this for now. If you've got any further questions, you can either join the matrix channel or comment here again and I'll reopen. :) |
My first bug report, be patient w me pls
I was following this instruction on: https://spotifyd.github.io/spotifyd/installation/Raspberry-Pi.html
And after> wget https://github.com/Spotifyd/spotifyd/releases/download/v0.3.3/spotifyd-linux-armv6-slim.tar.gz
untar it with> tar -xvzf spotifyd-linux-armv6-slim.tar.gz
and run with> ./spotifyd --no-daemon
terminal Write me this error:
/------------------------------------------------------------------------------/
pi@raspberrypi:~ $ ./spotifyd --no-daemon
Loading config from "/home/pi/.config/spotifyd/spotifyd.conf"
Error:
0: could not load the config file
1: invalid TOML value, did you mean to use a quoted string? at line 5 column 10
Location:
src/config.rs:478
note:
the config format should be valid TOML
we recently changed the config format, see #765
Backtrace omitted.
Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
pi@raspberrypi:~ $
I will ask for advice with this problem, as soon as possible. Thnx a lot.
Versions
The text was updated successfully, but these errors were encountered: