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.3k 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.
    • L Offline
      luizcarlosnery @lavolp3
      last edited by

      @lavolp3 Thanks, but I managed to solve it by editing “Spotify.js” in play (param, cb) {
      this.doRequest (“/ v1 / me / player / play”, “PUT”, null, param, cb)
      }

      pause (cb) {
      this.doRequest (“/ v1 / me / player / pause”, “PUT”, null, null, cb)
      }
      I included the url commands for the remote control and solved the problem.

      lavolp3L 1 Reply Last reply Reply Quote 0
      • lavolp3L Offline
        lavolp3 Module Developer @luizcarlosnery
        last edited by

        @luizcarlosnery Hi @skuethe, first of all: great module.

        I have set style: "mini" in my config which works well. However I have made some adjustments to picture size and text size in custom.css.
        But I’m missing the scrolling title in this mode.

        Also, what happens to minibar mode.
        I understand you plan to remove that?

        I have also corrected one issue resulting in an error if you’re not showing the account name, will send a PR on github for that.

        How to troubleshoot modules
        MMM-soccer v2, MMM-AVStock

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          skuethe @lavolp3
          last edited by

          @lavolp3 Hey there. Thanks for the feedback.

          About the style: "mini" settings:

          • what adjustments did you do to the picture and text sizes? This is currently still an open topic on my side - so if it is some general improvement for the module feel free to also create a PR for that
          • I unfortunately don’t know what you exactly mean by “the scrolling title”. Could you elaborate?

          About the minibar mode:
          In my opinion this design breaks completely with the other two styles as it feels and looks completely different. In addition the implementation in the code is almost completely separated, which makes maintaining it an unnecessary effort.

          To be honest - I don’t even know if it is still working or if some of the changes in the past broke usage of it.
          I try to get feedback from people using it - if they want to keep it etc.

          About the account name issue:
          Great thanks - looking forward for your PR

          lavolp3L 2 Replies Last reply Reply Quote 0
          • lavolp3L Offline
            lavolp3 Module Developer @skuethe
            last edited by lavolp3

            @skuethe
            Module looks like this for me know

            d76d05f0-f325-4402-8631-aac257eaa68d-image.png

            width a width of 500.

            I unfortunately don’t know what you exactly mean by “the scrolling title”. Could you elaborate?

            You see it here. I’d need to see the rest of the title. It could scroll. That is already implemented in the minibar I think.

            Also, Volume is always at 100% for me. Played from the android app. API issue?

            How to troubleshoot modules
            MMM-soccer v2, MMM-AVStock

            lavolp3L 1 Reply Last reply Reply Quote 0
            • lavolp3L Offline
              lavolp3 Module Developer @lavolp3
              last edited by lavolp3

              @lavolp3 said in MMM-Spotify:

              Also, Volume is always at 100% for me. Played from the android app. API issue?

              Confirmed API issue. Spotify API returns volume 100%, which is not the case in the app itself. Unfortunately.
              Am I the only one having this issue?

              How to troubleshoot modules
              MMM-soccer v2, MMM-AVStock

              S 1 Reply Last reply Reply Quote 0
              • lavolp3L Offline
                lavolp3 Module Developer @skuethe
                last edited by lavolp3

                @skuethe said in MMM-Spotify:

                what adjustments did you do to the picture and text sizes? This is currently still an open topic on my side - so if it is some general improvement for the module feel free to also create a PR for that

                My suggestions , generally as well as for mini mode:

                • font sizes are hardcoded here, I would rather use the MM classes as reference from main.css. Meaning: giving the module and sub-elements a class “small”, “xsmall” by including the config option classes. I have done that already and works well.
                • adjustable cover size.
                • option to hide module when nothing is played
                • spotify label small and more dimmed (like in MMM-NowPlayingOnSpotify

                All of the above is not difficult to manage I guess.

                A problem with the module is in my point of view the coding. It’s difficult for me to adept to sean’s style, e.g. leaving semicola completely out, indenting only with 2 spaces. But tha can be managed of course

                Let me know what you like to see as PR

                How to troubleshoot modules
                MMM-soccer v2, MMM-AVStock

                1 Reply Last reply Reply Quote 0
                • S Offline
                  skuethe @lavolp3
                  last edited by

                  @lavolp3 said in MMM-Spotify:

                  @lavolp3 said in MMM-Spotify:

                  Also, Volume is always at 100% for me. Played from the android app. API issue?

                  Confirmed API issue. Spotify API returns volume 100%, which is not the case in the app itself. Unfortunately.
                  Am I the only one having this issue?

                  Interesting. I have no issues with volume display and even the volume control (via touch). Works fine on all the different devices - haven’t tried android though.

                  • font sizes are hardcoded here, I would rather use the MM classes as reference from main.css. Meaning: giving the module and sub-elements a class “small”, “xsmall” by including the config option classes. I have done that already and works well.
                  • adjustable cover size.
                  • option to hide module when nothing is played
                  • spotify label small and more dimmed (like in MMM-NowPlayingOnSpotify

                  Let me know what you like to see as PR

                  Feel free to submit a PR for all those topics if you see them as a valid improvement!

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    skuethe
                    last edited by

                    Just released a new version of the module, which improves usage for systems without UI (running in a container f.e.):
                    https://github.com/skuethe/MMM-Spotify/releases/tag/v2.1.0

                    As there are updated dependencies, be sure to execute

                    git pull && npm install
                    

                    inside the MMM-Spotify folder.

                    Again, if anybody is running into problems, please open issues in the github repo.

                    R 1 Reply Last reply Reply Quote 0
                    • R Offline
                      requiemmg @skuethe
                      last edited by requiemmg

                      @skuethe Thanks for maintaining this project. I understand that it is still not possible to display multiple accounts at the same time? (Family account, different devices; e.g. display “x is playing for user y on device z” or so?)

                      Another feature request: I’d like the module to be hidden when nothing is being played. I am just using this for status display, not for control of spotify. Possible to add in a coming version?

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        skuethe @requiemmg
                        last edited by

                        @requiemmg said in MMM-Spotify:

                        I understand that it is still not possible to display multiple accounts at the same time? (Family account, different devices; e.g. display “x is playing for user y on device z” or so?)

                        First time I am reading about this request :)
                        I am unsure how that could be solved - since UI is configured / optimized to display exactly one song. That would mean some massive design changes. In addition, it would need some looking into how to support querying multiple accounts at the same time / in different instances.
                        For me this is out of scope at the current point in time. You can, of course, create a new issue with an enhancement request and will see how things change in the future, or maybe somebody else wants to contribute code to that idea.

                        Another feature request: I’d like the module to be hidden when nothing is being played. I am just using this for status display, not for control of spotify. Possible to add in a coming version?

                        There already is a feature request open for that:
                        https://github.com/skuethe/MMM-Spotify/issues/176
                        However, I did not yet have time to work on it.

                        R 1 Reply Last reply Reply Quote 1
                        • R Offline
                          requiemmg @skuethe
                          last edited by

                          @skuethe Thanks. U was asking about Multi-user way back in this thread before you started maintenance. I’d think this might be great for visualization. But I think It’d need an additional multi-user view (and personally, I like to use the bar menu)

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

                            I think I’m doing something wrong, I don’t really understand it. Is there a step-by-step guide? OAuth worked fine for Google services, but not with this Spotify setup. My steps:

                            Run node first_auth.js as in the MMM-Spotify instructions → Terminal shows “[SPOTIFY] Initialized”.

                            Browser opens with Spotify login, I enter my account, Spotify asks for access. → Still no code in terminal.

                            After clicking accept, browser redirects to localhost:8888 with ?code=**** in the URL.
                            But then an error pops up immediately in the terminal, before I can do anything with the code. At which step am I supposed to use this code, and where should I put it?

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

                              @Sean @ejay-ibm great release, guys!
                              Would it be possible to swap the plain white Spotify logo for a darker version, like the one in MMM-NowPlayingOnSpotify? 😬

                              Also, is this a standalone Spotify module? If so, is a Spotify Premium account required?

                              One more thing: I noticed the module doesn’t switch to ‘standby’ view after stopping music until I restart MagicMirror.

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

                                Also, is this a standalone Spotify Premium Mod APK file? If so, does a Spotify Premium account need to be used?

                                One more thing: I noticed that the app doesn’t automatically go into “standby” mode after stopping music playback unless I restart the app.

                                S 2 Replies Last reply Reply Quote 0
                                • S Offline
                                  sdetweil @kinggiotai
                                  last edited by

                                  @kinggiotai did you read the readme
                                  IMG_2427.png IMG_2428.png

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  1 Reply Last reply Reply Quote 0
                                  • S Offline
                                    sdetweil @kinggiotai
                                    last edited by

                                    @kinggiotai also this is not apk. It’s JavaScript plugin into MagicMirror

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

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

                                      Also, is this a standalone Spotify Premium Mod APK file? If so, does a Spotify Premium account need to be used?

                                      One more thing: I noticed that the app doesn’t automatically go into “standby” mode after stopping music playback unless I restart the app.

                                      S 1 Reply Last reply Reply Quote 0
                                      • S Offline
                                        sdetweil @kinggiotai
                                        last edited by sdetweil

                                        @kinggiotai I answered your questions above

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

                                        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
                                        • 6
                                        • 12
                                        • 13
                                        • 4 / 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