• 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-SpotifyControl . Control your Spotify music player using Mk2 assistant.

Scheduled Pinned Locked Moved Entertainment
38 Posts 4 Posters 14.8k Views 9 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.
  • E Offline
    ejay-ibm Project Sponsor Module Developer @F17MC
    last edited by ejay-ibm Mar 15, 2019, 12:21 PM Mar 15, 2019, 12:19 PM

    @F17MC said in MMM-SpotifyControl . Control your Spotify music player using Mk2 assistant.:

    I say to magicmirror: “start music on spotify” make the change directly to the deviceID that I have in the config file and start the music?

    Yes That is correct .
    BUT
    in all the API call i’m using the device is optional .

    If you want to control only one device that is the current playing device you can comment line 216 of /core/SpotifyConnector.js

    That way you don’t pass the device ID to the api.
    that should work

    The only condition for this to work is you must have an active device.
    The constraint is that if you want to play a song on your mirror, then you have to select it manually as a device from the spotify app.

    hope this helps.

    Ejay

    1 Reply Last reply Reply Quote 0
    • C Offline
      Cr4z33 @ejay-ibm
      last edited by Cr4z33 Mar 15, 2019, 1:10 PM Mar 15, 2019, 1:09 PM

      @ejay-ibm said in MMM-SpotifyControl . Control your Spotify music player using Mk2 assistant.:

      @Cr4z33 I’m already working on it with @Sean ;)

      quick question : if you just say “micheal jackson smooth criminal”
      does it start playing youtube ?
      if yes then just try “micheal jackson smooth criminal spotify”
      and let me know

      If that doesn’t work I’ll ask you some patience so I can implement the spotify search function directly in my module and not from the assistant. We will just use a hook in the assisant .

      Ejay

      Look there might be some misunderstanding because I NEVER configured something in MagicMirror to be able to run YouTube. :smiling_face_with_open_mouth_cold_sweat:
      In fact the sentence ‘michael jackson smooth criminal’ brings me always to the voice GA reply ‘I am sorry, but I don’t know how to help you’.

      E 1 Reply Last reply Mar 15, 2019, 2:10 PM Reply Quote 0
      • E Offline
        ejay-ibm Project Sponsor Module Developer @Cr4z33
        last edited by Mar 15, 2019, 2:10 PM

        @Cr4z33
        Then That is maybe your issue . Youtube should work by default . nothing to configure .
        If your GA doesn’t bring you a youtube video when you say ‘michael jackson smooth criminal’ then I guess that explain why it doesn’t work as well for spotify .

        Anyway we are working with sean to rebuild this module completely and so we should get rid of this issue .

        Please be patient and wait for the update ;)

        Ejay

        C 1 Reply Last reply Mar 15, 2019, 2:12 PM Reply Quote 0
        • C Offline
          Cr4z33 @ejay-ibm
          last edited by Cr4z33 Mar 15, 2019, 2:12 PM Mar 15, 2019, 2:12 PM

          @ejay-ibm huh really?

          Can you then please link me where is it mentioned that MagicMirror or MMM-AssistantMk2 has embedded YouTube playing? :hushed_face:

          I have never seen that.

          E 1 Reply Last reply Mar 15, 2019, 2:13 PM Reply Quote 0
          • E Offline
            ejay-ibm Project Sponsor Module Developer @Cr4z33
            last edited by ejay-ibm Mar 15, 2019, 2:15 PM Mar 15, 2019, 2:13 PM

            @Cr4z33 it’s Mk2 assistant module that allow this, not core Magicmirror.
            you must have this set in your config file in the mk2 module

            youtubeAutoplay: true, //If set as true, found Youtube video will be played automatically.
                pauseOnYoutube:true, //If set as true, You cannot activate Assistant during youtube playing. Recommended for the performance (Because permanent hotword detecting might make performance lower)
            
                youtubePlayerVars: { // You can set youtube playerVars for your purpose, but should be careful.
                  "controls": 0,
                  "loop": 1,
                  "rel": 0,
                },
                youtubePlayQuality: "default", //small, medium, large, hd720, hd1080, highres or default
            
            

            ejay

            C 1 Reply Last reply Mar 15, 2019, 2:19 PM Reply Quote 0
            • C Offline
              Cr4z33 @ejay-ibm
              last edited by Mar 15, 2019, 2:19 PM

              @ejay-ibm oh now I understand.

              Sorry I forgot I disabled it when I configured that module because I don’t want YouTube. :smiling_face_with_open_mouth_cold_sweat:

              I will definitely wait then for the update of MMM-SpotifyControl. ;)

              1 Reply Last reply Reply Quote 0
              • E Offline
                ejay-ibm Project Sponsor Module Developer
                last edited by ejay-ibm Mar 20, 2019, 6:11 PM Mar 20, 2019, 6:11 PM

                @Cr4z33 @F17MC .
                This Module is now deprecated and replaced by
                https://forum.magicmirror.builders/topic/10091/mmm-spotify
                git here :
                https://github.com/eouia/MMM-Spotify

                Thanks to @sean for the hard work!

                Ejay

                C 1 Reply Last reply Mar 20, 2019, 7:41 PM Reply Quote 0
                • C Offline
                  Cr4z33 @ejay-ibm
                  last edited by Mar 20, 2019, 7:41 PM

                  @ejay-ibm thanks for letting me know. :D

                  I am definitely going to give it a try tomorrow morning.

                  1 Reply Last reply Reply Quote 0
                  • 1
                  • 2
                  • 3
                  • 4
                  • 4 / 4
                  4 / 4
                  • First post
                    35/38
                    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