Youtube and Links not working
-
Youtube and links extended display are not working. Here is my config:
{ module: "MMM-GoogleAssistant", position: "top_left", configDeepMerge:true, config: { assistantConfig:{ lang:"en-US", lattitude:17.46350, longitude:78.33913 }, Extended:{ useExt: true, youtube: { useYoutube: true, youtubeCommand: 'youtube', displayResponse: true }, links: { useLinks: true, scrollActivate: true, }, cast:{ useCast: false, port: 8569 } } } },
I have set the address to localhost and also enabled webviewtag to true. When I say ‘Jarvis Youtube <search term>’ it does a generic google search and says here’s a youtube result, but does not play the video. Even when vlc is set to true it does not work. However npm run cvlc, shows all tests as success
-
Am i supposed to install some other module?
-
add
useVLC: true,
inExtented:youtube
However npm run cvlc, shows all tests as success
npm run vlc
says try this:-
1: enable OPEN GL accelerator with raspi-config and retry this script
-
2: try to make a full update of your RPI with this commands:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
and retry this script
-
3: Open VLC Program from the RPI Desktop
navigate to Tools > Preferency > Video
output > choose another output
close VLC Program and restart this script -
4: Choose another OPEN GL driver and retry solution #3
-
-
Everything works with npm run cvlc. All the commands were executed. But, it is not running from magic mirror
-
It doesn’t seem to be catching the youtube phrase as activation for youtube. Using any other phrase is not working either
-
So, when I use youtube iin my command its still just doing a google search. For example, when I searched youtube Linus, it showed me a wikipedia result.
-
Ok, sorry for this whole post, but I found the error. Unlike people would do normally, I, being an idiot, tried to type the whole config instead of copy pasting it. So, when I saw Extented I thought it was “Extended”, cause “Extented” is not a normal word. So, the whole thing did not work. If you meant the the word to be Extended you might consider correcting it in the next update or leave it as it is, doesn’t matter much. Thank you so much for the quick replies though…
-
yes it’s maybe the result of
Frenglish
translation … (a merge of French and English)So it’s too late for doing this… that will make some real trouble !
-
So it’s too late for doing this… that will make some real trouble !
Agreed
-
@bugsounet. When I say ‘Jarvis Youtube <search term>’ it says here’s a matching video, but does not play the video.
However npm run cvlc, shows all tests as success and i have set the address to localhost and enabled webviewtag to true.here is my config
{ module: "MMM-GoogleAssistant", position: "fullscreen_above", configDeepMerge: true, config: { debug: true, assistantConfig: { lang: "en-US", latitude: 37.5172, longitude: 127.0473, }, responseConfig: { useFullscreen: false, useResponseOutput: true, responseOutputCSS: "response_output.css", screenOutputTimer: 5000, activateDelay: 250, useAudioOutput: true, useChime: true, confirmationChime: true, useInformations: true }, micConfig: { recorder: "arecord", device: "default", }, Extented: { useEXT: false, youtube: { useYoutube: true, youtubeCommand: "youtube", displayResponse: true, useVLC: true, minVolume: 30, maxVolume: 100 }, links: { useLinks: true, scrollActivate: true, }, photos: {}, volume: {}, welcome: {}, screen: {}, touch: {}, pir: { usePir: true, gpio: 21, }, governor: {}, internet: {}, cast: {}, spotify: { useSpotify: false, visual: {}, player: {} }, }, recipes: [], NPMCheck: { useChecker: true, delay: 10 * 60 * 1000, useAlert: true }, }, },
-
activate
Extented display
, it actually disabledwhy do you copy/past :
responseConfig: {}
,micConfig: {}
,NPMCheck: {}
if you don’t modify it ? (it’s already defined in main core) -