Issues with screen timeout timer and Youtube
-
Hi,
I’m having 2 issues with the new update.-
There is a small bug in the screen timeout timer displayed. I’ve set the time of 1 minute, and the screen times out after a minute, but the timer shows an extra 30 minutes.
-
YouTube videos don’t play. It only shows a black screen and then comes back to the home screen.
My config for GA module
{ module: "MMM-GoogleAssistant", position: "top_left", configDeepMerge: true, config: { assistantConfig: { latitude: 17.38405, longitude: 78.45636, }, micConfig: { device: "plughw:1" }, Extented: { useEXT: true, youtube: { useYoutube: true, useVLC: true, displayresponse: true, }, /*links: { useLinks: true, },*/ screen: { useScreen: true, delay: 1 * 60 * 1000, animateBody: false, turnOffDisplay: true, mode: 0, delayed: 0, displayCounter: true, displayBar: true, displayStyle: "Circle", detectorSleeping: false, governorSleeping: false }, touch: { useTouch: true, mode: 1, }, governor: { useGovernor: true, useCallback: true, sleeping: "ondemand", working: "performance" }, cast: { useCast: true }, volume: { useVolume: true } }, recipes: [], NPMCheck: {} } },
I ran the
npm run cvlc
script and this is the output> MMM-GoogleAssistant@3.0.2 cvlc /home/pi/MagicMirror/modules/MMM-GoogleAssistant > node installer/cvlc.js Try to start VLC... [CVLC] v1.0.4 initialized ! Test YouTube link: https://www.youtube.com/watch?v=25N1pdzvp4c Volume control 0% Volume control 50% Volume control 100% Test Fullscreen Test Back to Windows Test Pause Test Play Test Restart All Test Done! Video is now ended If You have some trouble with this sample script code: Are you sure that you use this script in a terminal in the RPI desktop ? In other case, you have solutions, 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
I’ve enabled the openGL driver with full KMS,
I’ve updated the RPI, I’ve changed the VLC output to OpenGL video output, yet it doesn’t work. -