Unsolved EXT-Raspotify Error 404 "No active device found"
-
I got MM-GoogleAssistant running smoothly and am running into a little hiccup with the EXT-Raspotify plugin.
I downloaded both EXT-Raspotify as well as EXT-Spotify, got my Client ID and Client Secret ID, but when I try to play a song on Spotify, it gets stuck in a loop of trying to find a device, saying there’s no device to be found, then tries again.
How can I set my mirror as an Active Device for Spotify?
-
[03.08.2022 19:53.11.744] [LOG] [DETECTOR] Detected: jarvis from: Snowboy
[03.08.2022 19:53.16.829] [LOG] [SPOTIFY] No response from player !
[03.08.2022 19:53.16.860] [LOG] [SPOTIFY:PLAY] Error 404 {
error: {
status: 404,
message: ‘Player command failed: No active device found’,
reason: ‘NO_ACTIVE_DEVICE’
}
}
[03.08.2022 19:53.17.299] [LOG] [RASPOTIFY] Restart.
[03.08.2022 19:53.17.975] [LOG] [DETECTOR] Starts listening. 1 Models
[03.08.2022 19:53.23.069] [LOG] [SPOTIFY:PLAY] RETRY Error 404 null {
error: {
status: 404,
message: ‘Player command failed: No active device found’,
reason: ‘NO_ACTIVE_DEVICE’
} -
@kmallingham hey is your issue resolved?
-
This “error” means :
- Raspotify not installed
- email and/or password incorrect in config
- You don’t use an spotify Premium account
npm run setup
have not used after create your config
-
you need one or the other not both.
-
Hi guys,
I also have this same problem:
error: {
status: 404,
message: ‘Player command failed: No active device found’,
reason: ‘NO_ACTIVE_DEVICE’
}I tried raspotify, EXT-librespot. When I start spotify a song from my phone to magicmirror, everything works fine, it plays and album cover is displayed, However, When I call google assistant and say “play madonna on spotify” it tries to connect and failse with above error. username/password with premium account is available. I tried npm run setup command also…
I also tried different sound devices like:
iec958:CARD=Device,DEV=0
hdmi:CARD=vc4hdmi1,DEV=0
hw:CARD=Headphones,DEV=0not worked.
Regards
-
Hi,
username/password with premium account is available.
in your config, it’s email used for spotify not username
Note: You need
EXT-Raspotify
orEXT-Librespot
not bothIf you try
EXT-Librespot
don’t forget to uninstallEXT-Raspotify
withnpm run remove
, otherwise you will have a conflictNotes:
- to verify
email
andpassword
field just connect to Spotify website with it - verify if llaunched:
For EXT-Librespot
pi@raspberrypi:~ $ ps aux | grep librespot pi 4478 0.0 0.1 16612 2696 ? Ssl Mar15 0:02 /home/pi/MagicMirror/modules/EXT-Librespot/components/librespot/target/release/librespot --name Jarvis --username XXXX@XXX.XXX --password XXXX --initial-volume 100 --cache /home/pi/MagicMirror/modules/EXT-Librespot/components/librespot/cache --volume-range 50 pi 20529 0.0 0.0 4892 528 pts/0 S+ 10:37 0:00 grep --color=auto librespot
For EXT-Raspotify
~/MagicMirror$ ps aux | grep librespot raspoti+ 6596 0.0 0.1 152992 8388 ? Ssl 10:40 0:00 /usr/bin/librespot pi 6606 0.0 0.0 11488 2320 pts/1 S+ 10:41 0:00 grep --color=auto librespot
if you are more than 2 process , this mean that you have a config problem
- to verify