MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. alexmann
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    A
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 10
    • Groups 0

    alexmann

    @alexmann

    1
    Reputation
    1
    Profile views
    10
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    alexmann Unfollow Follow

    Best posts made by alexmann

    • RE: A model that play a video or mp3 file from local drive, based on a Google Assistant command ?

      Well, Finally worked, :)
      here is my recipe for others to try

      var recipe = {
          transcriptionHooks: {
              "imBackHome": {
                  pattern: "I am back home",
                  command: "playVideo"
              }
          },
      
          commands: {
              "playVideo": {
                  shellExec: {
                  exec: "vlc --play-and-exit -f /path_to_file/modules/recipe/video1.mp4",
                      // This command will play the video using VLC.
                  }
              }
          }
      };
      
      exports.recipe = recipe;
      
      

      If you want the vlc to just play the video without exiting, just remove " --play-and-exit".

      Happy mirroring,

      posted in Development
      A
      alexmann

    Latest posts made by alexmann

    • RE: A model that play a video or mp3 file from local drive, based on a Google Assistant command ?

      Well, Finally worked, :)
      here is my recipe for others to try

      var recipe = {
          transcriptionHooks: {
              "imBackHome": {
                  pattern: "I am back home",
                  command: "playVideo"
              }
          },
      
          commands: {
              "playVideo": {
                  shellExec: {
                  exec: "vlc --play-and-exit -f /path_to_file/modules/recipe/video1.mp4",
                      // This command will play the video using VLC.
                  }
              }
          }
      };
      
      exports.recipe = recipe;
      
      

      If you want the vlc to just play the video without exiting, just remove " --play-and-exit".

      Happy mirroring,

      posted in Development
      A
      alexmann
    • RE: A model that play a video or mp3 file from local drive, based on a Google Assistant command ?

      @sdetweil said in A model that play a video or mp3 file from local drive, based on a Google Assistant command ?:

      vlc -f file:///home/MagicMirror/video1.mp4

      Thank you, Sam,

      Actually , It worked, the command execute the mp4 file,

      posted in Development
      A
      alexmann
    • RE: A model that play a video or mp3 file from local drive, based on a Google Assistant command ?

      Ah, Now I uderstand , acutally yes, It open the vlc have a look

      
      r:~/MagicMirror$ vlc
      VLC media player 3.0.16 Vetinari (revision 3.0.13-8-g41878ff4f2)
      [0000555bf0104640] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
      [0000555bf01a52d0] main playlist: playlist is empty
      
      
      
      posted in Development
      A
      alexmann
    • RE: A model that play a video or mp3 file from local drive, based on a Google Assistant command ?

      @sdetweil Not sure, I understand your question, the vlc doesnt work, I use ubuntu for my mirror
      I just removed the username

      posted in Development
      A
      alexmann
    • RE: A model that play a video or mp3 file from local drive, based on a Google Assistant command ?

      @sdetweil Thank you so much for your answer,

      Actually, I tried, many times, but nothing worked,

      Please have a look

      var recipe = {
          transcriptionHooks: {
              "imBackHome": {
                  pattern: "I'm back home",
                  command: "playVideo"
              }
          },
      
          commands: {
              "playVideo": {
                  shellExec: {
                      exec: "vlc -f file:///home/MagicMirror/video1.mp4"
                      
                  }
              }
          }
      };
      
      exports.recipe = recipe;
      
      
      posted in Development
      A
      alexmann
    • RE: NBA module

      @1a2a3a I think there is no configuration to show the table in this model,

      You may try
      https://github.com/jclarke0000/MMM-MyScoreboard

      good luck

      posted in Requests
      A
      alexmann
    • RE: MMM-System Stats

      I think, It one of two things
      1- Ensure that the MMM-SystemStats module is correctly configured in your MagicMirror configuration file. The module might need specific parameters to display the available space correctly.

      2- Permission Issues: The module might not have the necessary permissions to access the system information about the disk space. This could be due to restrictions in the operating system.

      Good luck

      posted in Troubleshooting
      A
      alexmann
    • RE: NBA module

      Hey

      Do you mean

      https://github.com/jupadin/MMM-NBA

      Hope it helps

      posted in Requests
      A
      alexmann
    • RE: A model that play a video or mp3 file from local drive, based on a Google Assistant command ?

      Thank you Sam very much for your reply,

      Would you please explain about the recipe folder method, because I tried it many times, and nothing works,

      I want to say to GA by example, Jarvis, Good morning, and Jarvis respond with that small video.

      Very simple yet Can’t find a model or method to do it.

      Thank you very much

      Regards

      posted in Development
      A
      alexmann
    • A model that play a video or mp3 file from local drive, based on a Google Assistant command ?

      Hello
      I hope anyone can help me,
      I want a method, or a model So when I Say Jarvis play “the name of file” Google Assistant “Jarvis in my case will play the vdeio”.

      Please any hints?

      Thank you so much

      posted in Development
      A
      alexmann