Bugsounet_Coding();

    • Register
    • Login
    • Search

    Unsolved No response from the player, Spotify or Librespot,

    EXT-Spotify
    2
    17
    58
    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.
    • A
      axel33 Donators last edited by axel33

      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,

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

        can you try this:

        cd ~/MagicMirror/modules/EXT-Librespot/components
        ls
        

        give the result

        1 Reply Last reply Reply Quote 0
        • A
          axel33 Donators last edited by

          Thank you , There

          raspberrypi:~/MagicMirror/modules/EXT-Librespot/components $ ls
          keep librespot

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

            can you verify if librespot is running ? (when MagicMirror is started)

            ps aux | grep librespot
            

            if launched, all logs are available on pm2 app

            image.png

            you can read log with pm2 log <id>
            in my case pm2 log 1

            maybe you have an Authentification error

            1 Reply Last reply Reply Quote 0
            • A
              axel33 Donators last edited by axel33

              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,

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

                so try this:

                cd ~/MagicMirror/modules/EXT-Librespot/components/
                rm -rf librespot
                cd ..
                npm run setup
                
                1 Reply Last reply Reply Quote 0
                • bugsounet
                  bugsounet Main Coder last edited by bugsounet

                  when done you will see:

                  Finished release [optimized] target(s) in 2m 25s

                  when you launch MagicMirror, you can verify on Gateway app if librespot running
                  in system tab, you can see Process and Librespot must be checked

                  36f76360-3059-4d60-9c14-5336361ff117-image.png

                  1 Reply Last reply Reply Quote 0
                  • A
                    axel33 Donators last edited by

                    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

                    1 Reply Last reply Reply Quote 0
                    • A
                      axel33 Donators last edited by

                      What ever I do, I got the error, Librespot is not installed, even though its there,

                      1 Reply Last reply Reply Quote 0
                      • A
                        axel33 Donators last edited by

                        Hello again awesome man,
                        Any news for this issue, thanks alot

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

                          I wonder if your OS is 32bit with a x64 kernel

                          For determinate this i need to know 2 things:

                          1. can you try this:
                          uname -a
                          

                          Thanks to past the result

                          1. I have to down all log of Installing Rust... block in npm 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

                          1 Reply Last reply Reply Quote 0
                          • A
                            axel33 Donators last edited by

                            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

                            1 Reply Last reply Reply Quote 0
                            • A
                              axel33 Donators last edited by

                              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

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

                                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

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

                                  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
                                  

                                  image.png


                                  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
                                  

                                  image.png

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

                                    @2hdlockness : this looks like the bug we had with another application 😉

                                    1 Reply Last reply Reply Quote 0
                                    • A
                                      axel33 Donators last edited by

                                      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.

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