• 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.0k 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.
  • R Offline
    raywo Module Developer
    last edited by Mar 20, 2018, 11:10 AM

    Here’s another module I created. It displays the song you are currently listening to on Spotify. It doesn’t matter whether you play the song on your desktop or on your smart phone. Also you don’t need any third party app to connect to Spotify. All you need is included in the module.

    You can find it on GitHub. A detailed description how to get it working is included.

    A song is playing and showCoverArt is set to false. A song is playing and showCoverArt is set to true.

    Feel free to tell me what you think.

    S D C N I 5 Replies Last reply Mar 20, 2018, 11:32 AM Reply Quote 8
    • S Offline
      schlachtkreuzer6 @raywo
      last edited by Mar 20, 2018, 11:32 AM

      @raywo wooooow! That thing looks aaaaaaaaawesome! Can’t wait to test it:D

      1 Reply Last reply Reply Quote 1
      • E Offline
        E3V3A
        last edited by Mar 20, 2018, 12:14 PM

        Wow look very cool.

        Also you don’t need any third party app to connect to Spotify.

        How does it work? Shazam kind of magic?

        "Everything I do (here) is for free – altruism is the way!"
        MMM-FlightsAbove, MMM-Tabulator, MMM-Assistant (co-maintainer)

        S 1 Reply Last reply Mar 20, 2018, 12:17 PM Reply Quote 0
        • S Offline
          schlachtkreuzer6 @E3V3A
          last edited by Mar 20, 2018, 12:17 PM

          @E3V3A description is on github ;)

          Step 2 – Create and authorise a Spotify app
          In order to be able to connect to the Spotify API you need to create an app in the Spotify developer area. Then you need to authorise the app to access your personal data. Et voilà!

          The module provides you with a special app which describes all the necessary steps and which guides you through the whole process. To use this app change into the authorization folder and start the app by typing node app.

          cd authorization
          node app
          When the app is running you can access it by opening localhost:8888 in your browser. Provided you are doing this directly on your Raspberry Pi. If you want to access the app remotely just type the ip address or the name of your Raspberry like so for instance: http://raspi:8888. Then you should see the authorisation app like below.

          …

          1 Reply Last reply Reply Quote 0
          • M Offline
            marcnlx
            last edited by Mar 22, 2018, 11:32 PM

            Awesome module! I use it in fullscreen_below which creates a nice effect!
            I did change the css a little (added margin-left and changed width to 90% for the album cover because this looks nicer with my custom.css), but this is really a great module.

            R 1 Reply Last reply Mar 25, 2018, 4:46 PM Reply Quote 1
            • R Offline
              raywo Module Developer @marcnlx
              last edited by Mar 25, 2018, 4:46 PM

              @marcnlx Awesome idea! Maybe you can add a screenshot.

              M 1 Reply Last reply Mar 26, 2018, 9:15 AM Reply Quote 1
              • B Offline
                BananaBro
                last edited by Mar 25, 2018, 6:24 PM

                Very cool module! Thanks for that.
                The Setup with your App is really easy and it seemed to work. After a restart your module loaded and showed my currently played song.
                But it won’t update. Progress bar wont run forwards. Next Song is not shown. Even after another restart the initial song is displayed.

                Do you have any Tips how to fix this? :)

                R 1 Reply Last reply Mar 25, 2018, 8:24 PM Reply Quote 0
                • R Offline
                  raywo Module Developer @BananaBro
                  last edited by Mar 25, 2018, 8:24 PM

                  @BananaBro sounds weird. Do you have a free or a premium account?

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    BananaBro
                    last edited by Mar 25, 2018, 8:37 PM

                    Premium Account. I just tried to create a new App in the Spotify developer dashboard with new Client ID and Secret and set up the Module once more.
                    For now its working…
                    Maybe it was just Spotify messing something up! I keep you updated if it will stop working for me again.
                    Thanks again for this nice module.

                    R 1 Reply Last reply Mar 25, 2018, 8:41 PM Reply Quote 0
                    • R Offline
                      raywo Module Developer @BananaBro
                      last edited by Mar 25, 2018, 8:41 PM

                      @BananaBro glad to hear that it is working now.

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