Read the statement by Michael Teeuw here.
MMM-AssistantMk2
-
@wearable9083
For Resizing Video Player; add this into yourcss/custom.css
and adjust the values;#ASSISTANT_YOUTUBE { position:fixed; top:20px; left:20px; width:400px; height:300px; }
And you can stop playing video by hotword waking with option
pauseOnYoutube:false
. -
@sean
Thank you very much for your kind answer.
But, ;(
Detects hotword during video playback and stops video, but then fails to perform any of the following commands… -
@wearable9083 If you failed, just try again. I think it might be caused by some lack of resource performance but that might not be the fatal problem. Or, Did you mean AssistantMk2 not working after youtube playing?
-
@sean
After assistant-mk2 has detected hotword, no voice command has been recognized. (during video playback)
.
.
[Voice commands are well recognized when the video is played through without stop.] -
@wearable9083
Only after closing video, you can order to assistant.
If command be allowed during video playing, Assistant will be activated by sounds of video. So during playing, Assistant is disabled. -
@sean
Thank you so much. ♥♥
I’ll make the most of the information you’ve given me. Thank you. :)
Have a nice day! -
@Sean at last got MMM-AssistantMk2 up and running with MMM-Hotword.I have only one little problem,when i ask something i lose the first word of the answer.It is like hdmi sound channel is down and needs 1 sec to wake so i cant hear the first word of the answer.I add to /boot/config.txt the line “force_hdmi_open=1” but didnt help.At my standalone raspberry google assistant installation i had the same problem and this line solved it,but not here…
-
@costascontis
Sorry, I have no idea about it. Maybe my module would close HDMI when it doesn’t be needed. (Standalone version could open HDMI continuously by force, because there is no need to close for other’s occupation) -
@sean it is very annoying not to listen the first word or missing the half of it,do you have an idea to keep hdmi on all the time?
edit: if i use the .asoundrc file of my other gassistant i have no delay but the voice is choppy.pcm.dsnooper { type dsnoop ipc_key 816357492 ipc_key_add_uid 0 ipc_perm 0666 slave { pcm "hw:1,0" channels 1 } } pcm.!default { type asym playback.pcm { type plug slave.pcm "hw:0,1" } capture.pcm { type plug slave.pcm "dsnooper" } }
if i use the default .asoundrc the voice is clear but with a start delay
pcm.!default { type hw card 0 } ctl.!default { type hw card 0 }
with the first .asoundrc delayless file all other sounds at the Rpi are playback just fine ,only the MMM-AssistantMk2 voice is grainy and choppy… : (
-
@costascontis
But in that case, Other modules cannot use speaker-out. I rather recommend to use other speaker instead HDMI.