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-Spotify

    Scheduled Pinned Locked Moved Entertainment
    249 Posts 51 Posters 276.0k Views 54 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.
    • ejay-ibmE Offline
      ejay-ibm Project Sponsor Module Developer @Guest
      last edited by

      @Sean said in MMM-Spotify:

      spotify icon will be appeared when there is no possible playback or device. But not sure. I didn’t test about it.

      @Cr4z33

      Yes that is correct . When nothing is played and all players are disconnected the white spotify icon appear.
      We place that one here just to not have nothing.
      As Sean said this is customizable , you just need to change the png file under the resources directory .

      Enjoy you new module.

      Ejay

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

        @Sean @ejay-ibm alright thanks to both of you.

        1 Reply Last reply Reply Quote 0
        • K Offline
          kwaeksler
          last edited by

          Hello,

          i installed this module today. Works perfect, thanks for this great work :-) I just overwrited the css a little bit, hope this is ok for you!

          And now my question: is it possible to show this module only on my mirror when i play music on it? Because when i am not at home i think my music selection isnt very interessting for my girlfriend :-D

          Thank you
          Kwaeksler

          ? 2 Replies Last reply Reply Quote 0
          • ? Offline
            A Former User @kwaeksler
            last edited by

            @kwaeksler
            Frankly said, I didn’t test, but module would work only under same network. But I might be wrong. I hope there be who can explain it clearly. Or i’ll test it on monday by myself.

            ejay-ibmE 1 Reply Last reply Reply Quote 0
            • ejay-ibmE Offline
              ejay-ibm Project Sponsor Module Developer @Guest
              last edited by

              @Sean @kwaeksler
              Spotify is account linked, so actually, the module will display what is currently played on any devices linked to the same account ( same client ID/secret) even out of your network. I tested with a Spotify family , even different email are linked to the main account. So I can not think of a solution right now.

              Ejay

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

                @kwaeksler I think I can add device limitation to display or control. I’ll consider it on updates.

                K 1 Reply Last reply Reply Quote 0
                • K Offline
                  kwaeksler @Guest
                  last edited by

                  @Sean That sounds great :-) Thank you!

                  1 Reply Last reply Reply Quote 0
                  • ejay-ibmE Offline
                    ejay-ibm Project Sponsor Module Developer
                    last edited by

                    some more testing . With Spotify Familly. You can have 1 device set per email account .

                    ejay

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

                      updated

                      1.1.0 (2019-03-25)

                      • Added: touch(click) interface
                      • Device Limitation : Now you can allow or limit devices to display its playing on MM.
                      • Some CSS structure is changed.
                      • Now this module can emit SPOTIFY_* notifications for other module.

                      K 1 Reply Last reply Reply Quote 1
                      • thymonT Offline
                        thymon
                        last edited by

                        Need the same for DEEZER :disappointed_face: :loudly_crying_face:

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

                          @thymon said in MMM-Spotify:

                          Need the same for DEEZER :disappointed_face: :loudly_crying_face:

                          Never got it working, but here it is.

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

                            @Sean @ejay-ibm I’ve got a Spotify Premium account now so I was giving MMM-Spotify another shot, but I am stuck at instructions step #4.

                            I am logged in however I get INVALID_CLIENT: Invalid redirect URI in the webpage once I click the generated URL. :confused_face:

                            Any thoughts?

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

                              @Cr4z33
                              Your two values of “REDIRCT_URI” should be the same; Your spotify App setup and your spotify.config.json. Check again.

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

                                @Sean sorry where shoud I look for that? :smiling_face_with_open_mouth_cold_sweat:

                                In the generated link or?

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

                                  There’s more now I notice a following error message in the terminal

                                  [SPOTIFY_AUTH] Error: null { error: 'invalid_request',
                                    error_description: 'code must be supplied' }
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • ? Offline
                                    A Former User @Cr4z33
                                    last edited by A Former User

                                    @Cr4z33
                                    Go to https://developer.spotify.com/dashboard/applications (login)

                                    0_1553527417193_t1.png

                                    Then select your spotify app for this module. (You might have created one if you followed instruction)

                                    0_1553527430540_t2.png

                                    Then check your redirect_uri with your spotify.config.json.
                                    0_1553527504339_t3.png

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

                                      @Sean that was the solution. :D
                                      The redirect URI for some reason was empty.

                                      As soon as I added it manually re-running step #4 worked like a charm. :thumbs_up_medium_skin_tone:

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

                                        @Sean OK now a different issue.

                                        I added the MMM-AssistantMk2 needed lines, but when I say ie. Michael Jackson on Spotify nothing happens…

                                        Isn’t it supposed to play then straight on MagicMirror? :thinking_face:

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

                                          @Cr4z33
                                          If you didn’t make a proper command about it (with transciptionHook or gAction - I recommend gAction because spotify would be a reserved feature of real Google Assistant but not supported on this SDK level.), you can’t.

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

                                            @Sean well I followed your instructions so… :grimacing_face:

                                            gAction you say?
                                            Ouch that’s all new to me and I guess it will take a while then… OK… :confounded_face:

                                            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
                                            • 5
                                            • 12
                                            • 13
                                            • 1 / 13
                                            • 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