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.
    • 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
                      • ? Offline
                        A Former User @rafaelcota
                        last edited by

                        @rafaelcota
                        What kind of parameter did you use? Show me your trial example.

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

                          @Sean I’m typing something like this:

                          /yt https://www.youtube.com/playlist?list=PL55713C70BA91BD6E

                          no luck.

                          /yt playlist playlist PL55713C70BA91BD6E

                          no luck

                          /yt type:playlist listType:playlis id:PL55713C70BA91BD6E

                          no luck

                          Thank you for your help.

                          ? 2 Replies Last reply Reply Quote 0
                          • ? Offline
                            A Former User @rafaelcota
                            last edited by

                            @rafaelcota
                            Sorry, /yt doesn’t support playlist at this moment, but I’ll provide a fix soon. (in a few hours)

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

                              @rafaelcota
                              updated. try again after update.
                              you can play playlist like this; /yl PL55713C70BA91BD6E

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

                                @Sean Thank you very much

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

                                  Hi @Sean,
                                  I did the git pull and then try it, but I can’t seem to make it do anything, even the /yt commands that already were working.

                                  All I can see is this message in the console:
                                  [TELBOT] [2019-11-04 12:26:04]Message is cominf from CHAT: Number

                                  And nothing happens in the mirror screen, not with /yt or /yl. If I do a /yc getVolume it gives me the right number, so I get the module is loaded.

                                  My config is:
                                  {
                                  disabled: false,
                                  module: “MMM-YouTube”,
                                  position: “fullscreen_below”,
                                  config: {
                                  verbose:true,
                                  },
                                  },

                                  Any ideas where I should look?
                                  Thanks in advanced

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

                                    @rafaelcota
                                    Well, with my test, there is no problem to execute at all.
                                    If you see [TELBOT] [2019-11-04 12:26:04]Message is cominf from CHAT: Number, your telegram messages are received properly.
                                    Check if you have a front-end error. (With npm start dev or Ctrl+i)
                                    Or you can check by removing all other modules from config except MMM-YouTube and MMM-TelegramBot.

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

                                      @Sean Thank you again,

                                      Just as data, could be useful or not, I can play just some videos; with only TelegramBot and MMM-YouTube modules loaded or with all I got, it doesn’t matter:

                                      PLAY OK
                                      /yt https://youtu.be/5KJiO8W9iyg

                                      DOESN’T PLAY (the mirror does nothing at all)
                                      /yt https://youtu.be/y83x7MgzWOA
                                      /yl PLDIoUOhQQPlXr63I_vwF9GD8sAKh77dWU

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

                                        @rafaelcota said in MMM-YouTube:

                                        DOESN’T PLAY (the mirror does nothing at all)
                                        /yt https://youtu.be/y83x7MgzWOA
                                        /yl PLDIoUOhQQPlXr63I_vwF9GD8sAKh77dWU

                                        Hmmm. with my test, it works well.
                                        With verbose:true option, in dev-console you can see what’s going on. Try and tell me what’s significantly suspicious?

                                        0_1572949498493_64e8740f-943e-4c7f-9ab4-cb1ec1d2b297-image.png

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

                                          @Sean The messages are now clear, “Not allowed By Owner”
                                          0_1572982417307_Screen Shot 2019-11-05 at 12.22.19 PM.jpg

                                          I guess there’s nothing I can do but finding videos that are allowed to be played outside YouTube.

                                          Thank’s again

                                          1 Reply Last reply Reply Quote 0
                                          • M Offline
                                            mosheva
                                            last edited by

                                            Hi,

                                            I’m wondering if it possible to run the module but to not display the video?
                                            I would like to have just the audio.

                                            Thanks.

                                            ? 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
                                            • 2 / 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