• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 61.1k Views 50 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 Jan 27, 2019, 3:37 PM

    @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 Jan 29, 2019, 8:18 PM

      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 Jan 29, 2019, 8:39 PM

        @murrayireland

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

        Y 1 Reply Last reply Jan 30, 2019, 6:14 AM Reply Quote 0
        • Y Offline
          yep_DD @Guest
          last edited by yep_DD Jan 30, 2019, 6:24 AM Jan 30, 2019, 6:14 AM

          @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 Jan 30, 2019, 6:45 PM

            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 Jan 31, 2019, 3:19 AM

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

              Y 1 Reply Last reply Feb 1, 2019, 10:16 AM Reply Quote 0
              • Y Offline
                yep_DD @nobita
                last edited by yep_DD Feb 1, 2019, 10:17 AM Feb 1, 2019, 10:16 AM

                @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 Mar 3, 2019, 8:11 PM

                  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 Mar 4, 2019, 8:28 AM Reply Quote 0
                  • Z Offline
                    Zoran82 @Zoran82
                    last edited by Zoran82 Mar 4, 2019, 8:30 AM Mar 4, 2019, 8:28 AM

                    @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
                    • M Offline
                      Mondfisch
                      last edited by Mar 24, 2019, 9:09 PM

                      Works 100%!
                      Great Work! Thanx for that!

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 8
                      • 5 / 8
                      • 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