MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    [MMM-NowPlayingOnSpotify] – Display the currently on Spotify playing song

    Scheduled Pinned Locked Moved Entertainment
    76 Posts 50 Posters 82.2k Views 51 Watching
    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.
    • schlachtkreuzer6S Offline
      schlachtkreuzer6
      last edited by schlachtkreuzer6

      Hi @raywo
      It stuck on step two… after I register the app to my account. Just saying: Wait for step 2 to complete. And doing nothing more.
      Hmm, any idea? Did I made a mistake?

      SOLUTION:
      Okay for anyone running into the same problem:
      You can get everything out of the link from your browser. Just copy and paste it in a text editor.

      Link looks like that:
      http::8888/#access_token=your access token&refresh_tokenyour refresh token&client_idyour client ID from spotify developer site&client_secretyour client secret from the develover site

      Copy the 4 elements in the module configuration:

      {
      module: "MMM-NowPlayingOnSpotify",
      position: "bottom_left",
      
         config: {
           showCoverArt : "true",
           clientID: "your client ID",
           clientSecret: "your client secret",
           accessToken: "your access token",
           refreshToken: "your refresh token",
            }
      },
      

      That’s it 😊

      R 1 Reply Last reply Reply Quote 0
      • R Offline
        raywo Module Developer @schlachtkreuzer6
        last edited by

        @schlachtkreuzer6 You need to enter both your secret ID and client secret in the input boxes and then click “Authorize my app!”. After that the message in Step 3 should disappear and show you exactly what you need to copy in your config.js.

        You need to make sure that you put the shown callback url in the app’s setting on Spotify.

        schlachtkreuzer6S 1 Reply Last reply Reply Quote 0
        • schlachtkreuzer6S Offline
          schlachtkreuzer6 @raywo
          last edited by

          @raywo I did that but it stops after the authorization.

          1 Reply Last reply Reply Quote 0
          • M Offline
            muffinimal
            last edited by

            Hey @raywo ,

            Thanks developing this module. It’s one of the first modules I tried to set up on my setup.

            Your instructions on how to configure very clear. Being new to MagicMirror I couldn’t get it to work fully, though. I finally figured out what I did wrong (I am still in the dark as to where I can find some useful logs): I installed your module to /home/pi instead of to the MagicMirror-folder.

            As I didn’t want to bother on finding out on how to uninstall, I simply moved the entire directory to the right place and the module seems to run fine now :D

            1 Reply Last reply Reply Quote 2
            • D Offline
              dherl0623
              last edited by

              Awesome module! I’d been using the MMM-Scrobbler, but this is a better module in my opinion. Your instructions are clear and easy to follow as well! I really like how instant it is as well. I currently just set this up while on break at work, so I can’t check it out at home yet, but watching from a VNC, it is incredibly responsive! Thanks again sir!

              1 Reply Last reply Reply Quote 1
              • P Offline
                PhilReis
                last edited by

                Hey, very nice module and easy to install! Thanks!!!

                I have a little question. I use a google assistent speaker… and when i say my google assistent “stop spotify” the song which is paused be show on my MM.
                Can I hide the current song if it is paused for more than X minutes?

                Thanks

                R 1 Reply Last reply Reply Quote 0
                • R Offline
                  raywo Module Developer @PhilReis
                  last edited by

                  @philreis This is unfortunately not possible. The waySpotify works is that no song is actually ever stopped but it is paused. That is why the API can’t differentiate between stopped or paused songs. The only way to force the display to show nothing is by quitting the Spotify client.

                  J 1 Reply Last reply Reply Quote 0
                  • M Offline
                    malicious_banjo
                    last edited by

                    Loving this module so far.

                    As a feature request, would you be able to add a Config option to hide the progress bar? I’m not updating every second, so it makes the bar look off when it’s not moving/updating.

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      Sun
                      last edited by

                      Thank you very much. So nice to see on the mirror.

                      1 Reply Last reply Reply Quote 0
                      • J Offline
                        jamie
                        last edited by

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • J Offline
                          jamie
                          last edited by

                          hey i followed all of the steps and pasted it in to my config but it dosent work :(

                          1 Reply Last reply Reply Quote 0
                          • J Offline
                            jamie
                            last edited by

                            `never mind i installed it on the wrong directory , great mod thx :)

                            1 Reply Last reply Reply Quote 0
                            • R Offline
                              Reece
                              last edited by Reece

                              This post is deleted!
                              R 1 Reply Last reply Reply Quote 0
                              • R Offline
                                Reece @Reece
                                last edited by

                                This post is deleted!
                                1 Reply Last reply Reply Quote 0
                                • D Offline
                                  dmwilsonkc @raywo
                                  last edited by

                                  @raywo Dude! I just found your module! This is freaking amazing! Followed your setup instructions and it works like magic! Awesome job man!

                                  T 1 Reply Last reply Reply Quote 0
                                  • T Offline
                                    teitlebot @dmwilsonkc
                                    last edited by

                                    @Module-Developers didnt install yet but is there a way to actually play the song from the MM speaker?

                                    1 Reply Last reply Reply Quote 0
                                    • M Offline
                                      murrayireland
                                      last edited by

                                      Just installed this and loving it so far! I’m trying to make a Pi media player, is there a way to make this work with tracks played through the Pi using Raspotify (or something similar) rather than always showing tracks tied to a specific account?

                                      ? 1 Reply Last reply Reply Quote 0
                                      • D Offline
                                        DrUnKeN_TiGeR
                                        last edited by

                                        All i can seem to get is a quick loading then it just says spotify. i dont get any other information, the module is up to date, and i have created the app on the spotify website. i have a terminal open and listening. and my localhost shows that it is complete and ready to use. please forgive my noobness anyone got any ideas? also i deleted and remade a new app already no go.

                                        1 Reply Last reply Reply Quote 0
                                        • Cr4z33C Offline
                                          Cr4z33 @raywo
                                          last edited by

                                          @raywo will you consider into doing the same kind of (beautiful) module for Deezer users too? :grimacing_face:

                                          1 Reply Last reply Reply Quote 0
                                          • M Offline
                                            moox02
                                            last edited by

                                            @raywo I’m having trouble authorizing the app. I entered the callback link, paste the Client ID and Client Secret. After I click “Authorize My App” and “Agree” on the next page, it takes me to this link https://accounts.spotify.com/authorize/accept and show error “Oops! Something went wrong, please try again or check out our help area.”

                                            Any idea?

                                            1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 2 / 4
                                            • First post
                                              Last post
                                            Enjoying MagicMirror? Please consider a donation!
                                            MagicMirror created by Michael Teeuw.
                                            Forum managed by Sam, technical setup by Karsten.
                                            This forum is using NodeBB as its core | Contributors
                                            Contact | Privacy Policy