Max2Play Home › Forums › Max2Play Development (Ideas, Wishes) › [NEW UPDATE] Spotify Connect Server – beta available! › Reply To: [NEW UPDATE] Spotify Connect Server – beta available!
Small update:
5. Paste the following into the empty file:
[Unit]
Description=Librespot
Requires=network-online.target
After=network-online.target
[Service]
User=root
Restart=always
RestartSec=10
ExecStart=/root/librespot –name SpotiPi –username <username> –password <password> –cache /tmp –bitrate 320 –device plughw:CARD=Pro > /dev/null 2>&1
[Install]
WantedBy=multi-user.target
Removed –disable-discovery as it’s easier to find device on Android device.
Also output as plughw – in this case it’s doing output to USB DAC Matrix Mini-i Pro – to find yours just use aplay -L.
In my case I’m using USB for MPD and coaxial through I2S Hifiberry Digi Pro for squeezelite and spotify.