MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-YouTube

    Scheduled Pinned Locked Moved Entertainment
    64 Posts 15 Posters 33.2k Views 16 Watching
    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.
    • J Offline
      juantata @Guest
      last edited by

      @Sean 0_1568323644518_b5dce66e-3a89-4021-a95e-74ae66c09030-image.png

      ? 1 Reply Last reply Reply Quote 0
      • ? Offline
        A Former User @juantata
        last edited by

        @juantata Go to MMM-YouTube directory then do the command git pull, but the update was not so important so you can ignore it.

        J 1 Reply Last reply Reply Quote 0
        • J Offline
          juantata @Guest
          last edited by

          @Sean Hi. I’m sorry to give you the can so much.
          To call the youtube module I say:
          Ok google + singer’s name + song title, and the result is this

          0_1568660540508_f0ad5dc5-0492-4ad8-9f50-988e73586702-image.png

          The result is the same with any video I request.

          S ? 2 Replies Last reply Reply Quote 0
          • S Do not disturb
            sdetweil @juantata
            last edited by

            @juantata what version of MagicMirror are u running? we added a fix in 2.8 to allow autoplay

            edit ~/MagicMirror/js/electron.js

            make sure the line below is present
            // Keep a global reference of the window object, if you don't, the window will
            // be closed automatically when the JavaScript object is garbage collected.
            let mainWindow;
            
            function createWindow() {
            	
            	app.commandLine.appendSwitch("autoplay-policy", "no-user-gesture-required"); //< --- this line
            

            if not, add it then stop and restart MagicMirror

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            J 1 Reply Last reply Reply Quote 0
            • J Offline
              juantata @sdetweil
              last edited by

              @sdetweil
              0_1568662348642_92f02c4b-d4f7-404b-8267-fc0d410279a5-image.png

              the video finds him

              0_1568662458953_1bf326a2-2459-4596-a32d-e9b4c457aaad-image.png

              The electron.js file

              0_1568663047038_e741b381-4257-4dfb-bb13-b02e4ea79745-image.png

              S 1 Reply Last reply Reply Quote 0
              • S Do not disturb
                sdetweil @juantata
                last edited by

                @juantata great info… but then not the problem…

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • ? Offline
                  A Former User @juantata
                  last edited by

                  @juantata said in MMM-YouTube:

                  To call the youtube module I say:
                  Ok google + singer’s name + song title, and the result is this

                  I have a little confusion. Are you talking about MMM-AssistantMk2 or MMM-Youtube? MMM-Youtube is not activated by MMM-AssistantMk2 yet. (I will connect both on next updates, but I have not enough time to focus nowadays) So I can’t catch your point at this time.

                  J 3 Replies Last reply Reply Quote 0
                  • J Offline
                    juantata @Guest
                    last edited by

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      juantata @Guest
                      last edited by

                      @Sean
                      How do you use the module?

                      J 1 Reply Last reply Reply Quote 0
                      • J Offline
                        juantata @juantata
                        last edited by

                        @juantata
                        Wrongly asked the question

                        1 Reply Last reply Reply Quote 0
                        • J Offline
                          juantata @Guest
                          last edited by

                          @Sean
                          How do you make the module work?

                          S 1 Reply Last reply Reply Quote 0
                          • S Do not disturb
                            sdetweil @juantata
                            last edited by

                            @juantata you need some other module to send it a command (notification)
                            see the doc

                            https://github.com/eouia/MMM-YouTube

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            J 1 Reply Last reply Reply Quote 0
                            • J Offline
                              juantata @sdetweil
                              last edited by

                              @sdetweil
                              MMM-TelegramBot?

                              If this is, I thought it was optional.

                              S 1 Reply Last reply Reply Quote 0
                              • S Do not disturb
                                sdetweil @juantata
                                last edited by

                                @juantata there are all kinds of modules that do all kinds of things… see movement, send a notification, see a swipe of a hand, send a notification, hear words, see button press, act on a phrase…

                                depends on what you want to do…

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                J 2 Replies Last reply Reply Quote 0
                                • J Offline
                                  juantata @sdetweil
                                  last edited by

                                  @sdetweil
                                  All I want is to say
                                  for example:
                                  “Ok Google YouTube Charlie Puth Mother” and put the video of the singer

                                  1 Reply Last reply Reply Quote 0
                                  • J Offline
                                    juantata @sdetweil
                                    last edited by

                                    @sdetweil
                                    If that were not possible, could you tell me, if it is not a problem, the configuration of MMM-TelegramBot?

                                    S 1 Reply Last reply Reply Quote 0
                                    • S Do not disturb
                                      sdetweil @juantata
                                      last edited by

                                      @juantata said in MMM-YouTube:

                                      MMM-TelegramBot

                                      see the readme https://github.com/eouia/MMM-TelegramBot

                                      there are three pieces to your desired result

                                      something to hear ‘Ok Google’ (the hotword, as the mic is listening ALL the time, so only want it to trigger after a wakeup/hotword), just like real devices, MMM-Hotword
                                      something to decode your voice and return words and maybe act, MMM-AssistantMk2 does this for google…
                                      and something to play from youtube… which it looks like MMM-Youtube does…

                                      I use MMM-Hotword and MMM-AssistantMk2 to answer questions and put mirror to sleep/wake up.
                                      i don’t play videos or music on the mirror

                                      but they have to be configured together, which appears not to be completely done…

                                      Sam

                                      How to add modules

                                      learning how to use browser developers window for css changes

                                      J 1 Reply Last reply Reply Quote 0
                                      • J Offline
                                        juantata @sdetweil
                                        last edited by

                                        @sdetweil
                                        The keyword, MMM-AssistantMk2 and MMM-Hotword work great. I pass the start of MM

                                        0_1568672349762_1a46e4a0-b41d-4024-bb47-50cbb62bf3ab-image.png

                                        ? 1 Reply Last reply Reply Quote 0
                                        • ? Offline
                                          A Former User @juantata
                                          last edited by

                                          @juantata
                                          So, What you need is just playing video by your voice, you don’t need MMM-Youtube. Youtube playing feature is already implemented in MMM-AssistantMk2. Remove MMM-Youtube.

                                          1 Reply Last reply Reply Quote 0
                                          • rafaelcotaR Offline
                                            rafaelcota @Guest
                                            last edited by

                                            @Sean Great module! Had it working on first try in a Mac with TelegramBot, I’m using the “fullscreen_below” and looks awesome.

                                            I just can’t get to play a playlist from TelegramBot, I was wondering if you could give me an example of the TelegramBot /yt or /yc parameters if this can be done.
                                            Thank you in advanced,
                                            Rafael

                                            ? 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 1 / 4
                                            • First post
                                              Last post
                                            Enjoying MagicMirror? Please consider a donation!
                                            MagicMirror created by Michael Teeuw.
                                            Forum managed by Sam, technical setup by Karsten.
                                            This forum is using NodeBB as its core | Contributors
                                            Contact | Privacy Policy