Unsolved No response from the player, Spotify or Librespot,
-
Im facing this problem where when I give it the order to play a song, It shows me
No response from the player, Spotify or Librespot, any thoughts please?video to the problem .
https://drive.google.com/file/d/1S0iX2NU-pmjHCNx2U6vgk50qSm26MvKd/view?usp=share_link
I have Spotify premium,
-
can you try this:
cd ~/MagicMirror/modules/EXT-Librespot/components ls
give the result
-
Thank you , There
raspberrypi:~/MagicMirror/modules/EXT-Librespot/components $ ls
keep librespot -
can you verify if librespot is running ? (when MagicMirror is started)
ps aux | grep librespot
if launched, all logs are available on
pm2
appyou can read log with
pm2 log <id>
in my casepm2 log 1
maybe you have an Authentification error
-
This is the outcome of the first command,
mir 24856 0.0 0.0 3256 500 pts/0 S+ 12:29 0:00 grep --color=auto librespot
only librespot is red color, -
so try this:
cd ~/MagicMirror/modules/EXT-Librespot/components/ rm -rf librespot cd .. npm run setup
-
when done you will see:
Finished release [optimized] target(s) in 2m 25s
when you launch MagicMirror, you can verify on
Gateway
app iflibrespot
running
in system tab, you can seeProcess
andLibrespot
must be checked -
Actually, I did this before, I read it in your forum before, I write my issue, Now I did it again, and the results are :
Installing Librespot…
Open the fridge and take a beer…
It could takes ~30 minutes.
error: command failed: ‘cargo’: No such file or directory (os error 2)
Error detected !Press [Enter] to continue
-
What ever I do, I got the error, Librespot is not installed, even though its there,
-
Hello again awesome man,
Any news for this issue, thanks alot -
I wonder if your OS is 32bit with a x64 kernel
For determinate this i need to know 2 things:
- can you try this:
uname -a
Thanks to past the result
- I have to down all log of
Installing Rust...
block innpm run setup
We will do a clean setup, can you try this:
cd rm -rf .rustup/ rm -rf .cargo/ cd ~/MagicMirror/modules/EXT-Librespot/components rm -rf librespot cd .. npm run setup
I have to know ONLY this:
Installing Rust... info: downloading installer info: profile set to 'default' info: ... info: ... ... ... Rust is installed now. Great! To get started you may need to restart your current shell. This would reload your PATH environment variable to include Cargo's bin directory ($HOME/.cargo/bin). To configure your current shell, run: source "$HOME/.cargo/env" Done.
Thanks to past your content
-
You were right, It 64.
Linux raspberrypi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
-
stable-aarch64-unknown-linux-gnu installed - (error reading rustc version)
Rust is installed now. Great!
To get started you may need to restart your current shell.
This would reload your PATH environment variable to include
Cargo’s bin directory ($HOME/.cargo/bin).To configure your current shell, run:
source “$HOME/.cargo/env”
Done.Installing Librespot…
Open the fridge and take a beer…
It could takes ~30 minutes.
error: command failed: ‘cargo’: No such file or directory (os error 2)
Error detected !Press [Enter] to continue
user@raspberrypi:~/MagicMirror/modules/EXT-Librespot $
there the results, thank you so much
-
can you try to add this in
/boot/config.txt
sudo nano /boot/config.txt`
[all] arm_64bit=0
save the file and reboot
when done, do again step 1 and 2 and past the content
-
Note: just tested with X64 kernel
pi@raspberrypi:~/MagicMirror/modules/EXT-Librespot $ uname -a Linux raspberrypi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
Test with
arm_64bit=0
in/boot/config.txt
(32bits Kernel)pi@raspberrypi:~ $ uname -a Linux raspberrypi 6.1.21-v7l+ #1642 SMP Mon Apr 3 17:22:30 BST 2023 armv7l GNU/Linux
-
@2hdlockness : this looks like the bug we had with another application
-
Thank you for the response, I did exactly as you wrote, it took time, and finally no errors, yet Doesnt take the order, when I say Jarvis, Play Piano on Spotify, Nothing happen.