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.
    • 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
                              • J Offline
                                juantata @raywo
                                last edited by

                                @raywo Hi. When I call localhost: 888 I get an error

                                0_1568151116704_a3fa977f-92ce-4686-b249-2a01df4681a8-image.png

                                1 Reply Last reply Reply Quote 0
                                • N Offline
                                  namnlp
                                  last edited by

                                  Hi @raywo , thanks for your Module.
                                  Can you give me any help.
                                  I installed the Module successful, my MM display the status of the song playing on my phone, but i can’t hear the sound from 3.5mm jack or from HDMI of the pi.
                                  I found that Spotify only allow 1 device play at the same time.
                                  Whether i need to upgrade to Premium account?
                                  Thank you.

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

                                    @Module-Developers is there an module that can show me whats playing on all my google home mini devices from all music carriers not just spotify.

                                    1 Reply Last reply Reply Quote 0
                                    • B Offline
                                      basquille
                                      last edited by

                                      Anyway to get 2 accounts running on it? The Callback URL is the same so that might be what’s stopping it working I’d say - but anyone get around it.

                                      1 Reply Last reply Reply Quote 0
                                      • Alex2020A Offline
                                        Alex2020
                                        last edited by

                                        Si può cambiare il colore del logo SPOTIFY quando è disconesso perchè rimane di un grigio troppo chiaro e non si vede il logo se ho uno sfondo con un afoto esempio,ed in caso qual è il comando sul css custom che devo fare?Grazie.

                                        1 Reply Last reply Reply Quote 0
                                        • W Offline
                                          WilliamSkinner
                                          last edited by

                                          Thanks You!

                                          1 Reply Last reply Reply Quote 0
                                          • H Offline
                                            headbug @namnlp
                                            last edited by

                                            @namnlp that is not possible, it is not the purpose of this module. It is only showing which song you play on spotify. If you want sound to your Pi you need to install a Spotify client (does not exist for ARM architecture, I think) or surf to the webplayer page: https://open.spotify.com/ but it still won’t play several devices at the same time, regardless of Premium or not.

                                            S 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