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 229.8k 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.
    • C Offline
      ChanceTime
      last edited by

      hi @Bugsounet ! I’m working on my first smart mirror and was very happy to just get mmm-GoogleAssistant up and running! It’s able to do normal searches and that kind of thing, so I just tried to install MMM-Spotify.

      Unfortunately, MMM-GoogleAssistant doesn’t seem to be recognizing the commands, and I don’t see any changes on the screen when I try to use the commands for it (for example, “Michael Jackson on Spotify”).

      The code I used in the .config is below. Did I miss something?

      Thanks!!

      		{
      		  module: "MMM-GoogleAssistant",
      		  position: "fullscreen_above",
      		  config: {
      		    debug: false,
      		    assistantConfig: {
      		      lang: "en-US",
      		      projectId: "magic-mirror-79d8d", // Required to use gaction.
      		      modelId: "", // (OPTIONAL for gaction)
      		      instanceId: "", // (OPTIONAL for gaction)
      		      latitude: 45.255299,
      		      longitude: -75.729048,
      		    },
      		    responseConfig: {
      		      useScreenOutput: true,
      		      screenOutputCSS: "screen_output.css",
      		      screenOutputTimer: 5000,
      		      activateDelay: 250,
      		      useAudioOutput: true,
      		      useChime: true,
      		      newChime: false
      		    },	
      		    micConfig: { // put there configuration generated by auto-installer
      		      recorder: "arecord",
      		      device: "plughw:2",
      		    },
      		    customActionConfig: {
      		      autoMakeAction: false,
      		      autoUpdateAction: false, // in RPI, gaction CLI might have some trouble.(current version should be 2.2.4, but for linux-arm, Google haven't updated) so leave this as false in RPI. I don't know it is solved or not.
      		      actionLocale: "en-US", // At this moment, multi-languages are not supported, sorry. Someday I'll work.
      		    },
      		    snowboy: {
      		      audioGain: 2.0,
      		      Frontend: true,
      		      Model: "jarvis",
      		      Sensitivity: null
      		    },
      		    A2DServer: {
      		      useA2D: false,
      		      stopCommand: "stop"
      		    },
      		    recipes: [ "with-MMM-TelegramBot.js", "with-MMM-Spotify" ]
      		  }
      		},
      		{
      			module: "MMM-Spotify",
      			position: "bottom_left",
      			config: {
      				 style: "mini", // "default" or "mini" available
      				 control: "hidden", //"default", "hidden" available
      				 updateInterval: 1000,
      				 onStart: null, // disable onStart feature with `null`
      				 allowDevices: [], //If you want to limit devices to display info, use this.
      				 // allowDevices: ["RASPOTIFY", "My iPhoneX", "My Home speaker"],
      				},
      		},
      
      1 Reply Last reply Reply Quote 0
      • ? Offline
        A Former User
        last edited by A Former User

        natively, MMM-Spotify and MMM-GoogleAssistant can’t read directly music on Spotify.
        MMM-Spotify can display only what you are listening on a device
        and you can change music ONLY with a premium account with vocal request
        if you want listening music on your mirror you have to install Raspotify or librespot on your mirror (but needed again a premium spotify account)
        After, A2D is coded to read +/- native google response without Spotify recipe

        J 1 Reply Last reply Reply Quote 0
        • C Offline
          ChanceTime
          last edited by

          aaaah, okay, thanks so much!

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

            Does anyone know how I can adjust this module so that the album art is to the left and all the info is to the right of the album art? I basically am running this solo in magic mirror with a dedicated display to show what song is playing in my apartment but right now the album art and text doesn’t utilize all the real-estate of the screen since it’s centered and stacked.

            Can this be altered to have the album art to the left and all the text stacked to the right?

            1 Reply Last reply Reply Quote 0
            • D Offline
              dcimag
              last edited by

              Hi. I was wondering if someone could tell me what I need to edit in the MMM-Spotify module to make Spotify fully function and what I have to do to have it appear on my screen. I have all the details of the MMM-Spotify folder listed under my Music folder on my raspberry pi 4. I dont need to type out the coding. Again just asking what I need to edit of the coding. Already have all the code. Other than all the coding that is in the MMM-Spotify.js document. What do I need to puth for AUTH_DOMAIN: AUTH_PATH: AUTH PORT: SCOPE: and TOKEN.

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

                I really don’t understand, what do you want to do with this modules…
                MMM-Spotify works

                1 Reply Last reply Reply Quote 0
                • D Offline
                  dcimag
                  last edited by

                  I have the module MMM-Spotify. I just want to know what parts of the module do I have to edit to make the module work properly and what I need to edit to have it appear on the screen.

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

                    @dcimag : haaa ok… And do you ask to the developer why he take some time for doing a module and coding an none working module?

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

                      Here is what I did with this. I made it in full screen so that I have a dedicated display that shows what I’m playing on Spotify. Changed up the styling and also added a cleaner ‘not playing anything screen’. Pics attached. Was a blast to edit and looks and works great! Picture here.

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

                        Just installed this module, really great.
                        About multiple accounts: I have Spotify family account (=6 Accounts) and multiple devices. I have run through the auth process, went fine, works.
                        What I’d like: To show anything that is playing on any account or device.
                        What I get: Just a single account which is set in “accountDefault: 0”.
                        When I change it to 1, 2,3 - it works with the respective accounts.
                        When I delete it, it’s back to default account 0.

                        Do I have to call the module multiple times or is there a way to do this, @Bugsounet?

                        Z A 3 Replies Last reply Reply Quote 0
                        • 1
                        • 2
                        • 16
                        • 17
                        • 18
                        • 19
                        • 20
                        • 24
                        • 25
                        • 18 / 25
                        • 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