MagicMirror² v2.14.0 is available! For more information about this release, check out this topic.

Spotify Play?

  • Hi,
    i have just installed both MMM-NowPlayingOnSpotify and the MMM-AssistantMk2 google assistant, but i dont know how to start the music?


  • How do i play the spotify?

  • @rasmus-rytter First you have to have a premium Spotify account to play outside authorized Spotify devices (google home device is a different story) and if you have Spotify Premium you need to install raspotify on your Raspberry Pi (if that is what you are using) and than you can sling music to it from your phone or ask google to play Spotify on your mirror.
    So 2 things:

    1. Spotify premium
    2. You dont play it on the Magic Mirror per say or form the module you play it form the outside of the mirror in if i am making any sense …the MMM-NowPlayingOnSpotify does exactly that …displays whats playing on your Spotify at that time whether in your phone, tablet or mirror but just displays the info and art that is it …it does not play the music.
      Raspotify is the one that does play the music

  • Thanks @richland007
    so i need raspotify to start the music though the mirror?

  • Moderator

    @rasmus-rytter said in Spotify Play?:

    Thanks @richland007
    so i need raspotify to start the music though the mirror?

    Yes, you need it.
    And still you need something else (smartphone, tablet, computer/laptop) to control the playback. All you do is connect the “control device” to the same network as your mirror, start spotify, look for other playback devices and select your mirror instead. Then - in theory - playback should run on your mirror.
    I used spotify-connect-web and MMM-SpotifyConnectUI, but I haven’t been playing around with my mirror installation for almost a year, so I am not sure if this still works. Biggest issue was getting the spotify appkey after registering as a developer. Looks like you don’t have to worry about this with the newer raspotify

  • Hey @yawns,
    Okay that makes sense. I have just wondered if i could play the music with my google assistant from MMM-AssistantMk2 but i guess not, Tanks 🙂

  • Hi @rasmus-rytter,

    if two or more people came to the same conclusion, its an indication that its not an to bad idea 🙂
    independent from this post i just had setup my mirror exactly the way @yawns and @richland007 described to you.

    I enhanced MMM-NowPlayingOnSpotify and MMM-AssistantMk2 to make them capable to control Spotify. It´s still in development but if you like you can have a look on my git forks.


    you need to redo your authorization (Step 2) because we require now also the authorization user-modify-playback-state and you should add “deviceName” into your config-file.

    Im looking forward to your feedback dear alpha-tester 😉

  • @mantha Hi! How can I install this feature?
    I want launch Spotify with my MagicMirror. I have installed NowPlayingOnSpotify, AssistantMK2 and Raspotify. All works fine.
    Now, I can do the next: If I said to AssistantMK2 “SmartMirror, play Spotify on Chromecast Audio”, it launch raspotify and select my ChromeCast Audio as output. Do you think that it is possible?

    Sorry for my English.

  • Project Sponsor Module Developer

    @mantha Thank you for working on this !

    I have installed you modules.

    Unfortunately I can’t make the player respond to my play / stop command .
    the player well respond when I select a song from my phone and send it to raspotify , the module is well updated with cover and paying status .

    But voice command just doesn’t work .

    Anything particular I should say ?
    Maybe your developement is just done 100% done yet.

    Thank you


  • @ejay-ibm
    the module is listening to an answer from Google assistant.
    It seems like the assistant is not aware of the preconfigured music provider and you need to point him in the right direction.

    “search for xxx on Spotify” works in my case. I’m almost sure that in the past also “play xxx from spotify” had worked, but now I got no more an link backs. Would be interesting how it works for you.

    FYI - I identified that the Device parameter does not work proper in the current github version. need to work on this…

Log in to reply