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

Scheduled Pinned Locked Moved Entertainment
242 Posts 50 Posters 177.6k Views 53 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.
  • S Away
    sdetweil @Abstr
    last edited by sdetweil Jan 18, 2021, 12:03 AM Jan 18, 2021, 12:02 AM

    @Abstr install the spotify connect app on your pc. it will.let u control spotify on the pi. install raspotify or librespot on the pi. spotify connect will.let u make sure spotify is working. i think.u can control the player volume from the connevt app

    https://www.spotify.com/us/connect/

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    1 Reply Last reply Reply Quote 0
    • A Offline
      Abstr @requiemmg
      last edited by Jan 18, 2021, 12:20 AM

      @requiemmg , @sdetweil Thanks for the quick reply. Volume is working fine, but switching between 2 different “Client Id’s” isnt working. The MagicMirror only shows the accountdefault: 0. This means first device is working fine, but it isnt possible to switch to another device.

      S 1 Reply Last reply Jan 18, 2021, 12:22 AM Reply Quote 0
      • S Away
        sdetweil @Abstr
        last edited by sdetweil Jan 18, 2021, 12:26 AM Jan 18, 2021, 12:22 AM

        @Abstr device or account.

        each system is one device. far as i know spotify bequires logoff/logon to switch
        accounts. even family is multiple users under one payment plan

        again verify how it works with the connect app. has nothing to do with mm

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        S A 2 Replies Last reply Jan 18, 2021, 12:26 AM Reply Quote 0
        • S Away
          sdetweil @sdetweil
          last edited by Jan 18, 2021, 12:26 AM

          @sdetweil verify w the connect app

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • A Offline
            Abstr @sdetweil
            last edited by Jan 18, 2021, 12:51 AM

            @sdetweil Sorry, you are right. But I mean, I can connect my phone (with account A) to the spotify module. It shows up on the MM and music plays with Raspotify.

            But switching to another phone (with account B ) isnt working. Music plays with Raspotify but doesnt show up on the MagicMirror.

            I’ll try the connect app

            S 1 Reply Last reply Jan 18, 2021, 12:55 AM Reply Quote 0
            • S Away
              sdetweil @Abstr
              last edited by Jan 18, 2021, 12:55 AM

              @Abstr raspotify plays in the background

              dont expect phone and other software to work the same. spotify doesnt care about not its platform

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              S A 2 Replies Last reply Jan 18, 2021, 12:57 AM Reply Quote 0
              • S Away
                sdetweil @sdetweil
                last edited by Jan 18, 2021, 12:57 AM

                @sdetweil the mm aps show the music that is playing SOMEWHERE.

                some modules will let u stop/start/move play somewhere. not all 100% functional all the time

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • A Offline
                  Abstr @sdetweil
                  last edited by Jan 18, 2021, 1:06 AM

                  @sdetweil ‘‘spotify doesnt care about not its platform’’, thats oke but my problem is switching between multiple spotify accounts.

                  https://github.com/skuethe/MMM-Spotify

                  S 1 Reply Last reply Jan 18, 2021, 1:24 AM Reply Quote 0
                  • S Away
                    sdetweil @Abstr
                    last edited by sdetweil Jan 18, 2021, 1:25 AM Jan 18, 2021, 1:24 AM

                    @Abstr ok doc said u had to authorize each account in the order u set them up in the config json file

                    did u get a request to allow for each account?

                    never seen one work like this

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    A 1 Reply Last reply Jan 18, 2021, 9:28 AM Reply Quote 0
                    • A Offline
                      Abstr @sdetweil
                      last edited by Jan 18, 2021, 9:28 AM

                      @sdetweil Yes, I got both both accounts allowed in the correct order. Username, ID’s and token work fine. I’ve setup two users in spotify.config.json like the sample below. The user which I put first in the spotify.config.json get to display the music in MagicMirror. The second user doesnt. No matter if I swap them.

                      [
                      {
                      “USERNAME”: “AN NAME TO IDENTIFY THIS ACCOUNT”,
                      “CLIENT_ID” : “PUT_YOUR_SPOTIFY_APP_CLIENT_ID”,
                      “CLIENT_SECRET” : “PUT_YOUR_SPOTIFY_APP_CLIENT_SECRET”,
                      “TOKEN” : “./username_token.json”
                      },
                      {
                      “USERNAME”: “ANOTHER NAME TO IDENTIFY THIS ACCOUNT”,
                      “CLIENT_ID” : “PUT_YOUR_SPOTIFY_APP_CLIENT_ID”,
                      “CLIENT_SECRET” : “PUT_YOUR_SPOTIFY_APP_CLIENT_SECRET”,
                      “TOKEN” : “./another_token.json”
                      }
                      ]

                      L 1 Reply Last reply Jan 19, 2021, 1:18 PM Reply Quote 0
                      • 1
                      • 2
                      • 20
                      • 21
                      • 22
                      • 23
                      • 24
                      • 25
                      • 22 / 25
                      22 / 25
                      • First post
                        218/242
                        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