I’m having the same symptoms as this post: https://forum.bugsounet.fr/topic/956/problem-with-command-spotify-play, but I’ve double checked my config and it looks correct. Below are the error logs. Any advice?
/home/don/.pm2/logs/mm-error.log last 15 lines:
0|mm | MESA-LOADER: failed to retrieve device information
0|mm | MESA-LOADER: failed to retrieve device information
0|mm | MESA-LOADER: failed to retrieve device information
0|mm | MESA-LOADER: failed to open kms_swrast: /usr/lib/dri/kms_swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/aarch64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
0|mm | failed to load driver: kms_swrast
0|mm | MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/aarch64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
0|mm | failed to load swrast driver
0|mm | /home/don/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
0|mm | MESA-LOADER: failed to retrieve device information
0|mm | MESA-LOADER: failed to retrieve device information
0|mm | MESA-LOADER: failed to retrieve device information
0|mm | MESA-LOADER: failed to open kms_swrast: /usr/lib/dri/kms_swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/aarch64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
0|mm | failed to load driver: kms_swrast
0|mm | MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/aarch64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
0|mm | failed to load swrast driver
/home/don/.pm2/logs/librespot-error.log last 15 lines:
1|librespo | [2022-12-15T21:02:51Z ERROR librespot_playback::player] Audio Sink Error Connection Refused: <AlsaSink> Device default May be Invalid, Busy, or Already in Use, ALSA function 'snd_pcm_open' failed with error 'EBUSY: Device or resource busy'
1|librespo | [2022-12-15T21:02:51Z INFO librespot] librespot 0.4.2 22f8aed (Built on 2022-12-14, Build ID: 8QNgCI71, Profile: release)
1|librespo | [2022-12-15T21:02:51Z WARN librespot_core::apresolve] Ignoring blacklisted access point ap-gue1.spotify.com:4070
1|librespo | [2022-12-15T21:02:51Z WARN librespot_core::apresolve] Ignoring blacklisted access point ap-gue1.spotify.com:443
1|librespo | [2022-12-15T21:02:51Z WARN librespot_core::apresolve] Ignoring blacklisted access point ap-gue1.spotify.com:80
1|librespo | [2022-12-15T21:02:51Z WARN librespot_core::apresolve] Ignoring blacklisted access point ap-gew4.spotify.com:80
1|librespo | [2022-12-15T21:02:51Z INFO librespot_core::session] Connecting to AP "ap-gae2.spotify.com:4070"
1|librespo | [2022-12-15T21:02:52Z INFO librespot_core::session] Authenticated as "scidon" !
1|librespo | [2022-12-15T21:02:52Z INFO librespot_playback::mixer::softmixer] Mixing with softvol and volume control: Log(50.0)
1|librespo | [2022-12-15T21:02:52Z INFO librespot_playback::convert] Converting with ditherer: tpdf
1|librespo | [2022-12-15T21:02:52Z INFO librespot_playback::audio_backend::alsa] Using AlsaSink with format: S16
1|librespo | [2022-12-15T21:02:52Z INFO librespot_core::session] Country: "US"
1|librespo | [2022-12-15T21:08:35Z INFO librespot_playback::player] Loading <Comfortably Numb> with Spotify URI <spotify:track:5HNCy40Ni5BZJFw1TKzRsC>
1|librespo | [2022-12-15T21:08:38Z WARN librespot_playback::player] Player::play called from invalid state
1|librespo | [2022-12-15T21:08:38Z INFO librespot_playback::player] <Comfortably Numb> (382296 ms) loaded