Bugsounet Coding

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

    Youtube and Links not working

    Issues
    3
    12
    268
    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
      FlamingHammer last edited by FlamingHammer

      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

      1 Reply Last reply Reply Quote 0
      • F
        FlamingHammer last edited by

        Am i supposed to install some other module?

        1 Reply Last reply Reply Quote 0
        • bugsounet
          bugsounet Main Coder last edited by

          add useVLC: true, in Extented: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

          1 Reply Last reply Reply Quote 0
          • F
            FlamingHammer last edited by FlamingHammer

            Everything works with npm run cvlc. All the commands were executed. But, it is not running from magic mirror

            1 Reply Last reply Reply Quote 0
            • F
              FlamingHammer last edited by FlamingHammer

              It doesn’t seem to be catching the youtube phrase as activation for youtube. Using any other phrase is not working either

              1 Reply Last reply Reply Quote 0
              • F
                FlamingHammer last edited by

                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.

                1 Reply Last reply Reply Quote 0
                • F
                  FlamingHammer last edited by

                  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…

                  1 Reply Last reply Reply Quote 0
                  • bugsounet
                    bugsounet Main Coder last edited by bugsounet

                    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 ! 😞

                    F 1 Reply Last reply Reply Quote 0
                    • F
                      FlamingHammer @bugsounet last edited by

                      So it’s too late for doing this… that will make some real trouble ! 😞

                      Agreed

                      R 1 Reply Last reply Reply Quote 0
                      • R
                        robino @FlamingHammer last edited by

                        @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
                                                        },
                                                },
                                        },
                        
                        1 Reply Last reply Reply Quote 0
                        • bugsounet
                          bugsounet Main Coder last edited by bugsounet

                          activate Extented display, it actually disabled

                          why do you copy/past : responseConfig: {}, micConfig: {}, NPMCheck: {} if you don’t modify it ? (it’s already defined in main core)

                          R 1 Reply Last reply Reply Quote 0
                          • R
                            robino @bugsounet last edited by

                            @bugsounet

                            whoops lol I feel dumb…

                            Thank you so much! I was looking at the wrong place.

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