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

    Posts

    Recent Best Controversial
    • RE: omxplayer overlay

      Can you try this config, just to know what works and what not ?

       {
          module: "MMM-RTSPStream",
          disabled: false,
          position: "middle_center",
          header: "Video",
          config: {
            autoStart: true,
            rotateStreams: false,
            moduleWidth: 900,
            moduleHeight: 364,
            localPlayer: 'omxplayer',
            remotePlayer: 'none',
            showSnapWhenPaused: false,
            remoteSnaps: false,
            stream1: {
              name: 'BigBuckBunny Test Stream',
              url: 'rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov',
              width: 480,
              height: 270
          },
      }
      

      Height and width are perhaps a bit odd; is what I use for my camera streams.

      I will look if streaming a local file is possible; never tried it.

      posted in Development
      evroomE
      evroom
    • RE: Modules not loading

      Looks nice.
      I like the

      // new module
      

      Try this:

      {
      		module: "compliments",
      		position: "lower_third"
      },
      

      And you have entered the module calendar twice, but that should not lead to an error.

      posted in Troubleshooting
      evroomE
      evroom
    • RE: omxplayer overlay

      I just tried MMM-RTSPStream and it loops the video without any extra options.
      You also could just try to add --loop after the URL of the video.
      When lucky it will be used as an omxplayer option.

      As omxplayer uses a fixed position, relative to the position of the module, it might need a bit extra fiddling.
      But with MMM-RTSPStream and the module options

      moduleWidth: 900,
      moduleHeight: 364,
      

      and the omxplayer options

      width: 480,
      height: 270
      

      you have the control over the overlay and overlapping that you need.
      And with the custom.css you have additional options and control.

      posted in Development
      evroomE
      evroom
    • RE: omxplayer overlay

      Hi,

      There is MMM-RTSPStream too.
      Meant to stream video for camera’s, but it works for every RTSP stream.
      You can specify height and width, but the position is determined by the module position.
      Overlaying other modules depends on the position of those modules, but there is nothing that can’t be done using the custom.css.
      And you cannot get away with trial and error.
      It took me a while to get it pixel perfect…

      posted in Development
      evroomE
      evroom
    • RE: Quick Syntax Error

      @smartsoldier

      I personally would not do a complete re-install, but I would re-install the modules according to their instructions.
      Those modules would be:

      MMM-DropboxWallpaper
      MMM-forecast-io
      MMM-DailyBibleVerse

      In that order.
      Btw, are all modules under the MagicMirror/modules directory ?
      You yourself proofed that most stuff works.
      @Sean proofed that your config is okay.

      Btw, a simple ‘trick’ to disable a module is to put

      disabled: true,

      under the module name

      and

      disabled: false,

      to enable it again.

      Disabled:

      module: 'MMM-DropboxWallpaper',
      disabled: true,
      

      Enabled:

      module: 'MMM-DropboxWallpaper',
      disabled: false,
      

      This gives you a faster way of excluding ‘wrong’ modules.
      Or simply to test a module, whilst leaving the config when the module is not needed.

      posted in Troubleshooting
      evroomE
      evroom
    • RE: Quick Syntax Error

      @smartsoldier Please edit the post with the config.js and remove your private api keys, like apiKey and dropboxAccessToken.

      posted in Troubleshooting
      evroomE
      evroom
    • RE: Quick Syntax Error

      Are you willing to share the syntax error with us?
      I thought you were referring to the “create config file” message at startup.

      posted in Troubleshooting
      evroomE
      evroom
    • RE: Quick Syntax Error

      I also do not get an error when copy/pasting your config lines.

      $ npm run config:check
      

      does not give an error.
      You should try it yourself; a very useful command.
      Perhaps the error does not apply to the MMM-DropboxWallpaper config ?

      posted in Troubleshooting
      evroomE
      evroom
    • RE: Quick Syntax Error

      I would try changing this:

      tokenLocationIQ : "secret",
      

      to this:

      tokenLocationIQ: "secret",
      
      posted in Troubleshooting
      evroomE
      evroom
    • 1
    • 2
    • 43
    • 44
    • 45
    • 46
    • 47
    • 48
    • 45 / 48