Forum Replies Created
-
Posted in: Allo USB Bundle
-
5. Mai 2017 at 16:02 #28725
Now it works!!!!
I have to edit advanced options under squeezelite : add -C 10 and set the right audio card !!!
thank you very much manuelk!
5. Mai 2017 at 15:31 #28724ok,
but no sound yetThis is aplay -L
root@max2play:~# aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
equal
plugequal
Equalizer for plughw:0,0
default:CARD=sndrpihifiberry
snd_rpi_hifiberry_digi,
Default Audio Device
sysdefault:CARD=sndrpihifiberry
snd_rpi_hifiberry_digi,
Default Audio Device
dmix:CARD=sndrpihifiberry,DEV=0
snd_rpi_hifiberry_digi,
Direct sample mixing device
dsnoop:CARD=sndrpihifiberry,DEV=0
snd_rpi_hifiberry_digi,
Direct sample snooping device
hw:CARD=sndrpihifiberry,DEV=0
snd_rpi_hifiberry_digi,
Direct hardware device without any conversions
plughw:CARD=sndrpihifiberry,DEV=0
snd_rpi_hifiberry_digi,
Hardware device with all software conversionsNew edit spotify-connect.service:
[Unit]
Description=Librespot
Requires=network-online.target
After=network-online.target[Service]
User=root
Restart=always
RestartSec=10
ExecStart=/root/librespot –name SpotiPi –username ****** –password ******* –disable-discovery –cache /tmp –bitrate 320 –device plughw:CARD=sndrpihifiberry > /dev/null 2>&1[Install]
WantedBy=multi-user.targetand new start service
● spotify-connect.service – Librespot
Loaded: loaded (/etc/systemd/system/spotify-connect.service; enabled)
Active: active (running) since Fri 2017-05-05 15:17:36 CEST; 12s ago
Main PID: 4023 (librespot)
CGroup: /system.slice/spotify-connect.service
└─4023 /root/librespot –name SpotiPi –username ***** –password ****** –disable-discovery –cache /tmp –bitrate 320 –device plughw:CARD=sndrpih…May 05 15:17:36 max2play systemd[1]: Started Librespot.
May 05 15:17:36 max2play librespot[4023]: INFO:librespot: librespot 871e9e8 (2017-03-26). Built on 2017-04-13.
May 05 15:17:36 max2play librespot[4023]: INFO:librespot::session: Connecting to AP „gew1-accesspoint-a-xs57.ap.spotify.com:4070“
May 05 15:17:37 max2play librespot[4023]: INFO:librespot::session: Authenticated as „******“ !
May 05 15:17:37 max2play librespot[4023]: INFO:librespot::audio_backend::alsa: Using alsa sink
May 05 15:17:37 max2play systemd[1]: Started Librespot.Thank you
5. Mai 2017 at 14:17 #28719Thank you!!
yes , now my android device find rasperry but no sound..(my external Dac recognize digi+ pro Toslink output)
5. Mai 2017 at 13:51 #28715Hi !
It doesn’t work for me.
I’m not Linux expert.Help me please!!I check status with systemctl status Spotify-connect.service:
● spotify-connect.service – Librespot
Loaded: loaded (/etc/systemd/system/spotify-connect.service; enabled)
Active: activating (auto-restart) (Result: exit-code) since Fri 2017-05-05 12:34:32 CEST; 2s ago
Process: 3885 ExecStart=/root/librespot –name SpotiPi –username ******** –password ******** –disable-dis covery –cache /tmp –bitrate 320 –device hw:0 > /dev/null 2>&1 (code=exited, status=203/EXEC)
Main PID: 3885 (code=exited, status=203/EXEC)May 05 12:34:32 max2play systemd[1]: spotify-connect.service: main process exited, code=exited, status=203/EXEC
May 05 12:34:32 max2play systemd[1]: Unit spotify-connect.service entered failed state.I have a hifiberry digi+ pro
This is device:
pi@max2play:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_digi], device 0: HiFiBerry Digi+ Pro HiFi wm8804-spdif-0 []
Subdevices: 0/1
Subdevice #0: subdevice #0This is the server definition:
[Unit]
Description=Librespot
Requires=network-online.target
After=network-online.target[Service]
User=root
Restart=always
RestartSec=10
ExecStart=/root/librespot –name SpotiPi –username ******** –password ******** –disable-discovery –cache /tmp –bitrate 320 –device hw:0 > /dev/null 2>&1[Install]
WantedBy=multi-user.targetThank you!!
-