Bugsounet Coding

    • Register
    • Login
    • Search
    This Forum is now reserved to registred users!

    Unsolved EXT-Raspotify Error 404 "No active device found"

    EXT-Raspotify
    5
    7
    80
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      kmallingham last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • K
        kmallingham last edited by

        [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’
        }

        L 1 Reply Last reply Reply Quote 0
        • L
          little2605 @kmallingham last edited by

          @kmallingham hey is your issue resolved?

          1 Reply Last reply Reply Quote 0
          • bugsounet
            bugsounet Main Coder last edited by

            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
            1 Reply Last reply Reply Quote 0
            • M
              mroyusa Donators last edited by

              you need one or the other not both.

              1 Reply Last reply Reply Quote 0
              • O
                oturan last edited by

                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=0

                not worked.

                Regards

                1 Reply Last reply Reply Quote 0
                • bugsounet
                  bugsounet Main Coder last edited by bugsounet

                  Hi,

                  username/password with premium account is available.

                  in your config, it’s email used for spotify not username 🙂

                  Note: You need EXT-Raspotify or EXT-Librespot not both

                  If you try EXT-Librespot don’t forget to uninstall EXT-Raspotify with npm run remove , otherwise you will have a conflict

                  Notes:

                  • to verify email and password 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

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Powered by NodeBB | @bugsounet ©2022