• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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, "STOP VIDEO, PAUSE VIDEO" COMMANDS Friend!

Scheduled Pinned Locked Moved Troubleshooting
17 Posts 7 Posters 4.1k Views 7 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.
  • M Offline
    meusprojetoskali
    last edited by Jan 28, 2020, 1:09 PM

    Re: MMM-AssistantMk2 (v3)
    Friend!
    First congratulations on the excellent work!
    Everything is working perfectly on my MagicMirror / raspberry PI4.
    But I can’t get the STOP VIDEO, PAUSE VIDEO commands to work …
    Could you explain in more detail how to make these commands work and also explain how to change the language for these commands (pt-BR)? Thanks!

    ? 1 Reply Last reply Jan 28, 2020, 1:55 PM Reply Quote 0
    • ? Offline
      A Former User @meusprojetoskali
      last edited by A Former User Jan 28, 2020, 1:55 PM Jan 28, 2020, 1:55 PM

      @meusprojetoskali
      If you are using this recipe;
      https://github.com/eouia/MMM-AssistantMk2/blob/master/recipes/with-MMM-Youtube.js
      Change this line for your prefer pattern as your language.

        transcriptionHooks: {
          "STOP_YOUTUBE": {
            pattern: "stop video",
            command: "STOP_YOUTUBE"
          }
        },
      

      Then save it as with-MMM-Youtube-PTBR.js(or any name you want), then in configuration, use that file instead with-MMM-Youtube.js

      1 Reply Last reply Reply Quote 0
      • L Offline
        ludacriss57
        last edited by Jan 31, 2020, 9:52 AM

        Hello,

        I have the same problem but I don’t think it comes from the language.

        in fact even saying “stop video”, nothing happens.

        similarly for Reboot- Restart-Shutdown, if I ask “reboot please” nothing happens.

        you have to start the assistant before or you have to say “stop video” or “reboot please” directly?

        otherwise I think I have a problem with the microphone in the google assistant. during config it marks me “configuarion not work” while it works on “hotword”.

        ? 1 Reply Last reply Jan 31, 2020, 12:17 PM Reply Quote 0
        • ? Offline
          A Former User @ludacriss57
          last edited by Jan 31, 2020, 12:17 PM

          @ludacriss57
          what log says?

          M 1 Reply Last reply Jan 31, 2020, 12:44 PM Reply Quote 0
          • M Offline
            meusprojetoskali @Guest
            last edited by Jan 31, 2020, 12:44 PM

            In my case the problem is not really the language, kept the default language (English), when I say “STOP VIDEO”, instead of stopping the video, he makes a new search on youtube for a video called “STOP VIDEO”.
            Any suggestion?
            Use the recipe: with-MMM-Youtube.js

            ? L 2 Replies Last reply Jan 31, 2020, 1:07 PM Reply Quote 0
            • ? Offline
              A Former User @meusprojetoskali
              last edited by Jan 31, 2020, 1:07 PM

              @meusprojetoskali
              See your recipe / transcriptionHook, whether stop video pattern is defined properly.

              1 Reply Last reply Reply Quote 0
              • L Offline
                ludacriss57 @meusprojetoskali
                last edited by Jan 31, 2020, 2:15 PM

                @meusprojetoskali

                that’s exactly it, it opens a video called “stop video”

                how will i see the logs? sorry i’m very bad at raspberry …

                1 Reply Last reply Reply Quote 0
                • L Offline
                  ludacriss57
                  last edited by Jan 31, 2020, 2:50 PM

                  at my place i have that

                  var recipe = {
                  transcriptionHooks: {
                  “STOP_YOUTUBE”: {
                  pattern: “stop video”,
                  command: “STOP_YOUTUBE”

                  1 Reply Last reply Reply Quote 0
                  • L Offline
                    ludacriss57
                    last edited by sdetweil Jan 31, 2020, 3:10 PM Jan 31, 2020, 2:52 PM

                    module: "MMM-AssistantMk2",
                    position: "top_center",
                    config: {
                      ui: "Classic",
                      assistantConfig: {
                      latitude: ****
                      longitude: ****
                      },
                    responseConfig: {
                        useScreenOutput: true,
                        useAudioOutput: true,
                        useChime: true,
                        timer: 5000,
                        myMagicWord: false
                      },
                     micConfig: { // put there configuration generated by auto-installer
                       recorder: "arecord",
                       device: "plughw:1",
                     },
                    recipes: [ "with-MMM-Hotword.js", "with-MMM-Youtube.js", "Reboot-Restart-Shutdown.js" ],
                    profiles: {
                        "default": {
                          profileFile: "default.json",
                          lang: "fr-FR",
                    
                    1 Reply Last reply Reply Quote 0
                    • ? Offline
                      A Former User
                      last edited by Feb 6, 2020, 9:44 PM

                      @ludacriss57 : votre souci est il résolu ? ou avez-vous besoin de mon aide en français ?

                      @bugsounet (MMM-AssistantMK2 développeur)

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        2/17
                        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