I'm somewhat new to Magic Mirror development and have been trying to set up the EXT-Librespot module for quite some time. I have reinstalled this module hundreds of times, both on the same setup and on different ones, in an attempt to get it running. I've also logged into Spotify multiple times and regenerated Spotify tokens, but I still can't get it to work.
Error Codes:
Here are the relevant logs from the PM2 log for the librespot process:
Magic@Smartmirror:~/MagicMirror/modules/EXT-Librespot $ pm2 log librespot
[TAILING] Tailing last 15 lines for [librespot] process (change the value with --lines option)
/home/Magic/.pm2/logs/librespot-error.log last 15 lines:
1|librespo | [2024-10-02T19:13:41Z INFO librespot_core::session] Connecting to AP "ap-gae2.spotify.com:4070"
1|librespo | [2024-10-02T19:13:42Z ERROR librespot] Connection failed: Login failed with reason: Bad credentials
1|librespo | [2024-10-02T19:13:42Z INFO librespot] librespot 0.4.2 22f8aed (Built on 2024-09-21, Build ID: sLZHAX3P, Profile: release)
1|librespo | [2024-10-02T19:13:42Z WARN librespot_core::apresolve] Ignoring blacklisted access point ap-gew4.spotify.com:80
1|librespo | [2024-10-02T19:13:42Z INFO librespot_core::session] Connecting to AP "ap-gae2.spotify.com:4070"
1|librespo | [2024-10-02T19:13:42Z ERROR librespot] Connection failed: Login failed with reason: Bad credentials
1|librespo | [2024-10-02T19:13:42Z INFO librespot] librespot 0.4.2 22f8aed (Built on 2024-09-21, Build ID: sLZHAX3P, Profile: release)
1|librespo | [2024-10-02T19:13:42Z WARN librespot_core::apresolve] Ignoring blacklisted access point ap-gue1.spotify.com:4070
1|librespo | [2024-10-02T19:13:42Z WARN librespot_core::apresolve] Ignoring blacklisted access point ap-gew4.spotify.com:80
1|librespo | [2024-10-02T19:13:42Z INFO librespot_core::session] Connecting to AP "ap-gae2.spotify.com:4070"
1|librespo | [2024-10-02T19:13:43Z INFO librespot_core::session] Authenticated as "314acs7naowb2icq5tlumzhnoouy" !
1|librespo | [2024-10-02T19:13:43Z INFO librespot_playback::mixer::softmixer] Mixing with softvol and volume control: Cubic(40.0)
1|librespo | [2024-10-02T19:13:43Z INFO librespot_playback::convert] Converting with ditherer: tpdf
1|librespo | [2024-10-02T19:13:43Z INFO librespot_playback::audio_backend::alsa] Using AlsaSink with format: S16
Despite multiple attempts, I keep encountering "Bad credentials" errors, preventing me from accessing my Spotify account.
Steps Taken:
Reinstalled the EXT-Librespot module multiple times.
Attempted to log in to Spotify repeatedly.
Regenerated Spotify tokens.
Verified my credentials and ensured they were entered correctly.
Request for Help:
I would greatly appreciate any guidance or suggestions on resolving these authentication issues. Are there specific steps or configurations I might be missing? Thank you for your assistance!
I'm somewhat new to Magic Mirror development and have been trying to set up the EXT-Librespot module for quite some time. I have reinstalled this module hundreds of times, both on the same setup and on different ones, in an attempt to get it running. I've also logged into Spotify multiple times and regenerated Spotify tokens, but I still can't get it to work.
Error Codes:
Here are the relevant logs from the PM2 log for the librespot process:
Magic@Smartmirror:~/MagicMirror/modules/EXT-Librespot $ pm2 log librespot [TAILING] Tailing last 15 lines for [librespot] process (change the value with --lines option) /home/Magic/.pm2/logs/librespot-error.log last 15 lines: 1|librespo | [2024-10-02T19:13:41Z INFO librespot_core::session] Connecting to AP "ap-gae2.spotify.com:4070" 1|librespo | [2024-10-02T19:13:42Z ERROR librespot] Connection failed: Login failed with reason: Bad credentials 1|librespo | [2024-10-02T19:13:42Z INFO librespot] librespot 0.4.2 22f8aed (Built on 2024-09-21, Build ID: sLZHAX3P, Profile: release) 1|librespo | [2024-10-02T19:13:42Z WARN librespot_core::apresolve] Ignoring blacklisted access point ap-gew4.spotify.com:80 1|librespo | [2024-10-02T19:13:42Z INFO librespot_core::session] Connecting to AP "ap-gae2.spotify.com:4070" 1|librespo | [2024-10-02T19:13:42Z ERROR librespot] Connection failed: Login failed with reason: Bad credentials 1|librespo | [2024-10-02T19:13:42Z INFO librespot] librespot 0.4.2 22f8aed (Built on 2024-09-21, Build ID: sLZHAX3P, Profile: release) 1|librespo | [2024-10-02T19:13:42Z WARN librespot_core::apresolve] Ignoring blacklisted access point ap-gue1.spotify.com:4070 1|librespo | [2024-10-02T19:13:42Z WARN librespot_core::apresolve] Ignoring blacklisted access point ap-gew4.spotify.com:80 1|librespo | [2024-10-02T19:13:42Z INFO librespot_core::session] Connecting to AP "ap-gae2.spotify.com:4070" 1|librespo | [2024-10-02T19:13:43Z INFO librespot_core::session] Authenticated as "314acs7naowb2icq5tlumzhnoouy" ! 1|librespo | [2024-10-02T19:13:43Z INFO librespot_playback::mixer::softmixer] Mixing with softvol and volume control: Cubic(40.0) 1|librespo | [2024-10-02T19:13:43Z INFO librespot_playback::convert] Converting with ditherer: tpdf 1|librespo | [2024-10-02T19:13:43Z INFO librespot_playback::audio_backend::alsa] Using AlsaSink with format: S16
Despite multiple attempts, I keep encountering "Bad credentials" errors, preventing me from accessing my Spotify account.
Steps Taken:
Request for Help:
I would greatly appreciate any guidance or suggestions on resolving these authentication issues. Are there specific steps or configurations I might be missing? Thank you for your assistance!