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.
    • 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
            • P Offline
              pnobrega
              last edited by

              Great job man. Works great and instructions are flawless. Was very easy to install.
              Thanks for the work.

              A little off topic, but maybe someone can help or point in the right direction. I’m not able to play Spotify using the MM speaker. I’m using the Google AIY voice hat. Isn’t it possible?

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

                I’ve completed all the steps, and the module is stuck on a Spotify logo with “Loading…” in the middle of it. I authorized the app and everything and can’t seem to get the module to display any now playing info. After a minute or so it goes to a spotify logo and says “Spotify”.
                Any help is appreciated.

                1 Reply Last reply Reply Quote 0
                • sweupS Offline
                  sweup
                  last edited by

                  Thanks for module, working great!
                  Anyway to get cover art in black and white?

                  1 Reply Last reply Reply Quote 0
                  • Y Offline
                    yep_DD
                    last edited by

                    @raywo Your module is amazing. I am using raspotify on my mirror, which is account independent and I was just wondering if there is a chance of implementing spotify connect meta data (e.g. from using raspotify). Instead of using your account as input for the track info using the output from

                    systemctl raspotify status
                    

                    as the track id. And then use spotifys web api to get the song info?

                    https://developer.spotify.com/console/get-track/?id=1yVhDVRJt9o8DQDU3J6R4X&market=
                    

                    like this?

                    1 Reply Last reply Reply Quote 0
                    • ? Offline
                      A Former User
                      last edited by

                      It sounds like MMM-SpotifyConnectUI may be better suited for you. I haven’t tried it but it sounds like its exactly what your looking for… and exactly what I’m looking for.

                      I have been using MMM-Now PlayingOnSpotify for a while and its really great, however in my house we have a family account, so the module only displays whats playing from my account, not my wife’s, or our guests. My MM is a mirrorless display that is out at our pool, so it’s rare that I’m the only person controlling the music and by rare I mean almost never…lol).

                      1 Reply Last reply Reply Quote 0
                      • ? Offline
                        A Former User @murrayireland
                        last edited by

                        @murrayireland

                        This is exactly what the MMM-SpotifyConnectUI does. you need a premium account though.

                        Y 1 Reply Last reply Reply Quote 0
                        • Y Offline
                          yep_DD @Guest
                          last edited by yep_DD

                          @sharpy400 thanks, I will try immediately. I honestly tried finding a module like that, but that must one I must have overseen.

                          edit: nope, won’t work, seems spotify has changed the way they give out API keys none of the instructions will work. Spotify Connect Web seems to rely on libspotify which is obsolete.

                          1 Reply Last reply Reply Quote 0
                          • ? Offline
                            A Former User
                            last edited by

                            Ahhhh Crud. I had high hopes. Sorry about that Thx for checking it out, you saved me some headache

                            1 Reply Last reply Reply Quote 0
                            • N Offline
                              nobita @raywo
                              last edited by

                              @raywo ,How can play and hearing song from Magic Mirror directly (not only display spotify playing song)

                              Y 1 Reply Last reply Reply Quote 0
                              • Y Offline
                                yep_DD @nobita
                                last edited by yep_DD

                                @nobita just install raspotify https://github.com/dtcooper/raspotify

                                the easy way (but I recommend reading the docs):

                                curl -sL https://dtcooper.github.io/raspotify/install.sh | sh
                                
                                1 Reply Last reply Reply Quote 0
                                • Z Offline
                                  Zoran82
                                  last edited by

                                  Hi, would love to try this module but I keep failing installing it.
                                  First of all I have quite many messages after npm install. Newbie as I am I tried npm audit fix to fix vulnerabilities. Still had a few (not high) vulnerabilities.

                                  What happens is the nothing of this module comes up.

                                  Tried again by deleting the module folder and installing again.

                                  Druing npm install:
                                  npm notice created a lockfile as package-lock.json. You should commit this file.
                                  added 664 packages from 770 contributors and audited 4892 packages in 233.343s
                                  found 16 vulnerabilities (2 low, 7 moderate, 7 high)
                                  run npm audit fix to fix them, or npm audit for details
                                  pi@raspberrypi:~/MagicMirror/modules/MMM-NowPlayingOnSpotify $ npm WARN deprecat ed socks@1.1.10: If using 2.x branch, please upgrade to at least 2.1.6 to avoid a serious bug with socket data flow and an import issue introduced in 2.1.0

                                  I was playing with another module MMM-RTSPStream and I had to switch to wip develop branch. Is this my problem now?

                                  Z 1 Reply Last reply Reply Quote 0
                                  • Z Offline
                                    Zoran82 @Zoran82
                                    last edited by Zoran82

                                    @Zoran82 said in [MMM-NowPlayingOnSpotify] – Display the currently on Spotify playing song:

                                    Hi, would love to try this module but I keep failing installing it.
                                    First of all I have quite many messages after npm install. Newbie as I am I tried npm audit fix to fix vulnerabilities. Still had a few (not high) vulnerabilities.

                                    What happens is the nothing of this module comes up.

                                    Tried again by deleting the module folder and installing again.

                                    Druing npm install:
                                    npm notice created a lockfile as package-lock.json. You should commit this file.
                                    added 664 packages from 770 contributors and audited 4892 packages in 233.343s
                                    found 16 vulnerabilities (2 low, 7 moderate, 7 high)
                                    run npm audit fix to fix them, or npm audit for details
                                    pi@raspberrypi:~/MagicMirror/modules/MMM-NowPlayingOnSpotify $ npm WARN deprecat ed socks@1.1.10: If using 2.x branch, please upgrade to at least 2.1.6 to avoid a serious bug with socket data flow and an import issue introduced in 2.1.0

                                    I was playing with another module MMM-RTSPStream and I had to switch to wip develop branch. Is this my problem now?

                                    I made it work.

                                    I tried again and did a npm audit fix --force this time (without knowing what I actually do).
                                    I may have pressed ctrl + z first time, this time i pressed crtl + c (which means I didnt stop service. I think?).
                                    Now it’s working as it should.

                                    1 Reply Last reply Reply Quote 0
                                    • MondfischM Offline
                                      Mondfisch
                                      last edited by

                                      Works 100%!
                                      Great Work! Thanx for that!

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

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

                                          I just upgraded Spotify to a family account, how can I make it only recognize my music. We each have a unique log in but the module is based on account number. Is there a way to specify which log in?

                                          1 Reply Last reply Reply Quote 0
                                          • tidus5T Offline
                                            tidus5
                                            last edited by

                                            Indeed - having the same issue.
                                            i connected my spotify account to google home. And when you ask google home to play some music. it’s considered like an another account.

                                            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
                                            • 3 / 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