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 6.0k 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 @Guest
      last edited by

      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 Reply Quote 0
      • ? Offline
        A Former User @meusprojetoskali
        last edited by

        @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

          @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

            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

              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

                @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
                • L Offline
                  ludacriss57
                  last edited by

                  non problème pas résolu :(

                  les commande pour redémarrer le pi ou magic ne marche pas
                  idem pour les commandes YouTube…

                  je viens de tout réinstaller sur un pi4 2go et exactement le même problème.

                  le miroir répond a “Jarvis” et “miroir magique”

                  la commande “stop vidéo” je dois la dire directement ou après la commande “Jarvis” ?

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

                    en fait, j’ai mis default les patterns (ordre de recherche vocale pour activer les fonctions) en anglais

                    on va remettre tout en français si vous voulez ;)

                    nous allons commencer par configurer youtube

                    pour cela il faut editer le fichier
                    `~/MagicMirror/modules/MMM-AssistantMk2/recipes/with-MMM-Youtube.js

                    var recipe = {
                      transcriptionHooks: {
                        "STOP_YOUTUBE": {
                          pattern: "stop video",
                          command: "STOP_YOUTUBE"
                        }
                      }
                    

                    changez pattern: "stop video", en pattern: "stop vidéo",

                    un accent sur vidéo fait la différence :)
                    sauvegardez votre fichier
                    redemarrer MagicMirror

                    essayer maintenant dire pour arreter une video Jarvis stop vidéo
                    et la video s’arretera :)

                    1 Reply Last reply Reply Quote 0
                    • L Offline
                      ludacriss57
                      last edited by

                      alors j’ai pas compris ce que tu a marquer sur la premiere ligne de ton post lol

                      sinon pour le reste je viens de tester, et Jarvis me dis en gros qu’il ne peu rien faire pour moi

                      var recipe = {
                      transcriptionHooks: {
                      “STOP_YOUTUBE”: {
                      pattern: “stop vidéo”,
                      command: “STOP_YOUTUBE”

                      1 Reply Last reply Reply Quote 0
                      • L Offline
                        ludacriss57
                        last edited by

                        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: [“Reboot-Restart-Shutdown.js” , “with-MMM-Hotword.js”, “with-MMM-Youtube.js” ],
                        profiles: {
                        “default”: {
                        profileFile: “default.json”,
                        lang: “fr-FR”,

                        1 Reply Last reply Reply Quote 0
                        • M Offline
                          meusprojetoskali @ludacriss57
                          last edited by

                          @ludacriss57 At the end of the page
                          https://github.com/eouia/MMM-YouTube says the following:
                          KNOWN ISSUE: When you use stopVideo, it will not stop the video but replay current video. Use pauseVideo instead. I’ll fix this someday… Sorry.

                          1 Reply Last reply Reply Quote -1
                          • L Offline
                            ludacriss57
                            last edited by

                            I’m sorry but google still doesn’t respond to any commands :(

                            neither youtube nor reboot / restart …

                            I don’t understand

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

                              @ludacriss57
                              if you think this would be a kind of bug so you want to get a help from developers of this module, post the issue on github repository issue boards.

                              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 / 1
                              • 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