@Cr4z33 Well i’m using it in french … so I don’t think so .
I need to think a bit why your payload is incorrect.
Read the statement by Michael Teeuw here.
Posts made by ejay-ibm
-
RE: MMM-SpotifyControl . Control your Spotify music player using Mk2 assistant.
-
RE: MMM-SpotifyControl . Control your Spotify music player using Mk2 assistant.
@Cr4z33 try to just say “Bob Marley Spotify” so there’s no language interaction.
-
RE: MMM-SpotifyControl . Control your Spotify music player using Mk2 assistant.
@Cr4z33
What Are you saying exactly ?
What is the result of this if you try to type in in your google search bar ?
did you simply try : “bob marley spotify” ?
what is your search result ? in google ? -
RE: MMM-SpotifyControl . Control your Spotify music player using Mk2 assistant.
@Cr4z33
don’t use your google home device it’s not comparable .
I have one as well at home and it’s working completely differently, otherwise, I would not have to write this module. So i’m refering to what interest us your Mk2 assistant on your mirror .ejay
-
RE: MMM-SpotifyControl . Control your Spotify music player using Mk2 assistant.
@Cr4z33
Ok I got your point Google assisant and sdk act differently .What happen when you say something to your assisant:
“Play bob marley on spotify”
It search like you would do in the google search bar
and return a result.
That is your payload for the play … spotify command.
Note that this command is the only one to not have a hook .So what it does is returning the first result from a google search .
if I type “bob marley spotify” in my search bar i’m getting :
Bob Marley & The Wailers on Spotify
https://open.spotify.com/artist/2QsynagSdAqZj3U9HgDzjDThat is what is expected from the payload , as we build later the api call from this url .
I would try first to google search for "an artist on spotify in italian’ and see what it return they say to your assisant in italian the same. Usually the assistant quickly display what it find from the search you should see an url like :
https://open.spotify.com/(artist, track or playlist)/with an Id here .regarding the syntax Quote or double quote doesn’t matter in js.
Both
transcriptionHook: { PREV_SONG: { pattern: "previous song", command: "PREV_SONG" }, or transcriptionHook: { PREV_SONG: { pattern: 'previous song', command: 'PREV_SONG' },
will work the same.
Hope this helps
Ejay
-
RE: I'm so bad at applying the reflective film! Any advice?
@boblazer
I tried this as well and failed the rendering was not good( at least to my taste )
I would recommend to go for a glass and apply the film on it.
My method:
Clean the glass with a window clearer product and use ( sorry for my english) a dedicated glass cleaner napkin to avoid dust at the maximum.
again to avoid any dust use a vacuum to have your glass 100% clean
Then with a sprayer, put inside some water and a drop of soap.
Spray on your glass and then apply the film starting at the bottom and evacuate the water while you progress developing the film.
you shouldn’t get any air bubble by doing this way .Note : do not cut the film on edge once it is done leave a few millimeters on each side and let it dry for a couple of days . Once dry you can cut the edge of the film to fit your glass.
Hope it helps .
Ejay
-
RE: MMM-SpotifyControl . Control your Spotify music player using Mk2 assistant.
@Cr4z33 from here :
https://developer.spotify.com/documentation/web-api/quick-start/
“To use the Web API, start by creating a Spotify user account (Premium or Free).”Note :
Spotify Free is supported by ads.
Every few tracks you play, you will be forced to be interrupted by one or two short adverts, which will also break your pleasure that you get from the music.
Some tracks are not be playable. You can use the desktop and web interfaces, but the mobile app will only let you listen on shuffle mode or pre-made playlists.with your free account : what does it do when you say “bob marley on spotify” ?
Ejay
-
RE: Advise for a voice assistant
@thedoorsfanatic
I think the Readme here : https://github.com/eouia/MMM-Hotword/
is pretty clear, that is what I followed and I have it working directly.
check out the Tip section to include hotword in the mk2 assistant and you should be good.
If you run into issue you can share your config file and I can have a look .Ejay
-
RE: Advise for a voice assistant
@THeStigh Indeed, using it on a Rasp 3 b+ fully up to date.
-
RE: MMM-SpotifyControl . Control your Spotify music player using Mk2 assistant.
Hi,
I do not think this is an issue with the speaker.
Could you please send the full logs from start to end ?
Are you using pm2 ? If yes please send me error and out log. ( delete them first before restarting your mirror )
just do pm2 show to know where they are .
As well while you reproduce check the developer console ( Ctrl + i ) on the mirror and send me the content .Just reproduce the case as follow : Start Mirror , request a song, make a new request to the assistant . Quit . and send me the logs. please add as well you config.js file . You can put all in a single zip file.
I’ll update the git. please post everything here.
Thank you
Ejay