• 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
  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 Dec 20, 2023, 8:54 PM
Last Online Jan 12, 2024, 10:36 AM

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
    Dec 26, 2023, 3:30 PM

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
    Dec 26, 2023, 3:30 PM
  • 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
    Dec 26, 2023, 1:47 PM
  • 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
    Dec 26, 2023, 12:45 PM
  • 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
    Dec 25, 2023, 4:36 PM
  • 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
    Dec 25, 2023, 10:27 AM
  • 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
    Dec 25, 2023, 10:23 AM
  • 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
    Dec 23, 2023, 9:09 PM
  • RE: NBA module

    Hey

    Do you mean

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

    Hope it helps

    posted in Requests
    A
    alexmann
    Dec 23, 2023, 7:43 PM
  • 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
    Dec 23, 2023, 7:38 PM
  • 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
    Dec 20, 2023, 9:23 PM
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