MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. alverman
    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 6
    • Posts 28
    • Groups 0

    alverman

    @alverman

    0
    Reputation
    1.0k
    Profile views
    28
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    alverman Unfollow Follow

    Latest posts made by alverman

    • RE: Run module

      @dasbooter
      No :(

      posted in Requests
      A
      alverman
    • RE: Carousel and omxplayer moving

      Hi yams,
      From what I understand is that I do not just do a kill of omxplayer because the RTSPStream module reopens.
      I need to make a stop stream of the RTSPStream module.
      In fact I tried to make OMXPlayer kill from the MMM-OnScreenMenu module by modifying the shutdown entry to make a kill to omxplayer but after a while the stream reappears!
      So my purpose would be to stop the stream when they are on pages that do not display it (pages 1, 2, 4) and open it only on page 3

      Thanks, Alberto

      posted in Troubleshooting
      A
      alverman
    • RE: Carousel and omxplayer moving

      Goodmorning,
      I’m trying to insert a command to the MMM-RTSPStream module, which stops the rtsp flow from all the pages that do not contain the frame that displays the stream but I can not figure out how to do it.
      I have inserted this part of code in the MMM-Carousel.js file from row 131:
      Stream view is on page 3:

                  // Update the current index
                  if (goToIndex === -1) {                             // Go to a specific slide?
                      if (goDirection === 0) {
                          this.currentIndex += 1;                     // Normal Transition, Increment by 1
      		    if (this.currentIndex != 2) this.Notification("STOP_ALL_OMXSTREAMS", "")
                      } else {
                           console.log("Currently on slide " + this.currentIndex + " and going to slide " + (this.currentIndex + goDirection));
                          this.currentIndex += goDirection;           // Told to go a specific direction
      		   if (this.currentIndex != 2) this.sendNotification ("STOP_ALL_OMXSTREAMS", "")
                      }
                         if (this.currentIndex >= resetCurrentIndex) {   // Wrap-around back to beginning
                         this.currentIndex = 0;
                         this.sendNotification("STOP_ALL_OMXSTREAMS", "")
                      } else if (this.currentIndex < 0) {
                         this.currentIndex = resetCurrentIndex - 1;  // Went too far backwards, wrap-around to end
      		   this.sendNotification("STOP_ALL_OMXSTREAMS", "")
                      }
                  } else if (goToIndex >= 0 && goToIndex < resetCurrentIndex) {
                        this.currentIndex = goToIndex;                  // Go to a specific slide if in range
      		  if (this.currentIndex != 2) this.Notification("STOP_ALL_OMXSTREAMS", "")
                  }
      

      I entered this line where I think the page is being checked:

      this.sendNotification("STOP_ALL_OMXSTREAMS", "")
      

      I certainly miss something in sendnotification or/and in code placement

      If possible, would you give me a hand?

      Thanks, Alberto

      posted in Troubleshooting
      A
      alverman
    • Run module

      Good evening,
      do you know if there is a module running a command that runs an external program?
      I use the Carousel module and I would like to be able to insert a command in some slides that does something.

      Thank you, Alberto

      posted in Requests
      A
      alverman
    • RE: MM locked when include modules in config

      Solved !!

      Thanks

      posted in Utilities
      A
      alverman
    • Carousel and omxplayer moving

      Good evening,
      I use MMM-Carousel.
      My question is:
      you can move somehow omxplayer to scroll pages.
      At this time the player when it is open is fixed at the position where it opens.
      Do you think there are possibilities and / or solutions?

      Thank you, Alberto

      posted in Troubleshooting
      A
      alverman
    • RE: MMM-RTSPStream dosent work in my case

      Solved !!

      posted in Troubleshooting
      A
      alverman
    • RE: MMM-RTSPStream dosent work in my case

      Thanks barnosch,
      I think I’ve solved the problem: D
      I think because I’m working remotely and I can not see if the stream is shown or not but I trust.
      I practically lost a pass that eliminated the sound.
      So I think that everything is resolved.
      I see the stable connection from the remote console and then almost for sure that the module now works.
      I find it in issue.
      The command it solves is:
      git fetch - all
      git checkout nosound

      I’ll let you know as soon as I see it with my eyes
      :)

      posted in Troubleshooting
      A
      alverman
    • RE: MMM-RTSPStream dosent work in my case

      Sorry if I keep on this monologue but I’m going crazy !!
      I’ve tried MagicMirror with only the standard modules and the MMM-RSPSream module.
      Created the code to enter in config.js
      Enter the code in config.js
      Starting npm start I see the frame of rtsp stream but I do not see anything.
      If I hit the frame I see the play icon if I get it I see the pause icon as if the stream was played but I see nothing.

      I’m really tired of this thing.
      I know it might go but it does not go and I just miss this form to close the project.

      Really give me a hand please

      Thank you, Alberto

      posted in Troubleshooting
      A
      alverman
    • RE: MMM-RTSPStream dosent work in my case

      @alverman said in MMM-RTSPStream dosent work in my case:

      So I think I’ve solved the problem of why the console flow is interrupted!
      from console I have to give this command:
      omxplayer -n -1 --timeout 0 --avdict rtsp_transport: tcp “rtsp://10.0.0.60:554/h264/?ch=1&subtype=1& authbasic = admin:123456”

      So now how can I add the switches:
      -n -1 --timeout 0 --avdict rtsp_transport: tcp

      in config.js?
      Any help please?
      Thank you, Alberto

      posted in Troubleshooting
      A
      alverman