Read the statement by Michael Teeuw here.
MMM-SpotifyControl . Control your Spotify music player using Mk2 assistant.
-
@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 workThe 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
-
@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 knowIf 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’. -
@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
-
@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.
-
@Cr4z33 it’s Mk2 assistant module that allow this, not core Magicmirror.
you must have this set in your config file in the mk2 moduleyoutubeAutoplay: 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
-
@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. ;)
-
@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-SpotifyThanks to @sean for the hard work!
Ejay
-
@ejay-ibm thanks for letting me know. :D
I am definitely going to give it a try tomorrow morning.