Read the statement by Michael Teeuw here.
MMM-YouTube
-
@juantata what version of MagicMirror are u running? we added a fix in 2.8 to allow autoplay
edit ~/MagicMirror/js/electron.js
make sure the line below is present // Keep a global reference of the window object, if you don't, the window will // be closed automatically when the JavaScript object is garbage collected. let mainWindow; function createWindow() { app.commandLine.appendSwitch("autoplay-policy", "no-user-gesture-required"); //< --- this lineif not, add it then stop and restart MagicMirror
-
-
@juantata great info… but then not the problem…
-
@juantata said in MMM-YouTube:
To call the youtube module I say:
Ok google + singer’s name + song title, and the result is thisI have a little confusion. Are you talking about MMM-AssistantMk2 or MMM-Youtube? MMM-Youtube is not activated by MMM-AssistantMk2 yet. (I will connect both on next updates, but I have not enough time to focus nowadays) So I can’t catch your point at this time.
-
This post is deleted! -
@Sean
How do you use the module? -
@juantata
Wrongly asked the question -
@Sean
How do you make the module work? -
@juantata you need some other module to send it a command (notification)
see the doc -
@sdetweil
MMM-TelegramBot?If this is, I thought it was optional.
-
@juantata there are all kinds of modules that do all kinds of things… see movement, send a notification, see a swipe of a hand, send a notification, hear words, see button press, act on a phrase…
depends on what you want to do…
-
@sdetweil
All I want is to say
for example:
“Ok Google YouTube Charlie Puth Mother” and put the video of the singer -
@sdetweil
If that were not possible, could you tell me, if it is not a problem, the configuration of MMM-TelegramBot? -
@juantata said in MMM-YouTube:
MMM-TelegramBot
see the readme https://github.com/eouia/MMM-TelegramBot
there are three pieces to your desired result
something to hear ‘Ok Google’ (the hotword, as the mic is listening ALL the time, so only want it to trigger after a wakeup/hotword), just like real devices, MMM-Hotword
something to decode your voice and return words and maybe act, MMM-AssistantMk2 does this for google…
and something to play from youtube… which it looks like MMM-Youtube does…I use MMM-Hotword and MMM-AssistantMk2 to answer questions and put mirror to sleep/wake up.
i don’t play videos or music on the mirrorbut they have to be configured together, which appears not to be completely done…
-
@sdetweil
The keyword, MMM-AssistantMk2 and MMM-Hotword work great. I pass the start of MM
-
@juantata
So, What you need is just playing video by your voice, you don’t need MMM-Youtube. Youtube playing feature is already implemented in MMM-AssistantMk2. Remove MMM-Youtube. -
@Sean Great module! Had it working on first try in a Mac with TelegramBot, I’m using the “fullscreen_below” and looks awesome.
I just can’t get to play a playlist from TelegramBot, I was wondering if you could give me an example of the TelegramBot /yt or /yc parameters if this can be done.
Thank you in advanced,
Rafael -
@rafaelcota
What kind of parameter did you use? Show me your trial example. -
@Sean I’m typing something like this:
/yt https://www.youtube.com/playlist?list=PL55713C70BA91BD6E
no luck.
/yt playlist playlist PL55713C70BA91BD6E
no luck
/yt type:playlist listType:playlis id:PL55713C70BA91BD6E
no luck
Thank you for your help.
-
@rafaelcota
Sorry,/ytdoesn’t support playlist at this moment, but I’ll provide a fix soon. (in a few hours)
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login


