Bugsounet Coding

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular

    Issues with screen timeout timer and Youtube

    Issues
    1
    1
    60
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      fazilsyed last edited by

      Hi,
      I’m having 2 issues with the new update.

      1. 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.
        https://drive.google.com/file/d/1RtGrZYiHcFm5gaGuYZw5SeeXQ7V92Ghr/view?usp=sharing

      2. 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.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Powered by NodeBB | @bugsounet ©2022