• 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
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

module unable to play mp3 file using omxplayer

Scheduled Pinned Locked Moved Solved Troubleshooting
7 Posts 5 Posters 337 Views 5 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.
  • P Offline
    plainbroke @myfingersarecold
    last edited by plainbroke Jan 16, 2025, 7:32 PM Jan 16, 2025, 7:31 PM

    @myfingersarecold
    @evroom
    Do you use MMM-MPlayer with MMM-Carousel by chance?
    When I put this in my config.js MMM-MPlayer runs out of turn over all the others and does not stop. Even when, I remove MMM-MPlayer from the MMM-Carousel list of modules. Any Idea what I did wrong? I remove mplayer and MMM-MPlayer to get it to stop.

    		{
    			module: "MMM-MPlayer",
    				disabled: false,
    				position: "top_left",
    				header: "MPlayer",
    			config: {
    			  useTwoWindows: false,
    			  layout: "row",
    			  monitorAspect: 0,
    			  rotate: -1,
    			  windowSize: { width: 1900, height: 980 },
    			  windowPosition: { x: 5, y: 225 },
    			  streamInterval: 30000,
    				  streams: {
    						window1: [
    								"rtsp://admin:admin@192.168.1.32:554/live",
    						],
    						window2: [
    								"rtsp://admin:admin@192.168.1.35:554/live",
    						],
    				}
    			}
    		},
    

    Slow learner. But trying anyways.

    S 1 Reply Last reply Jan 16, 2025, 7:34 PM Reply Quote 0
    • S Offline
      sdetweil @plainbroke
      last edited by Jan 16, 2025, 7:34 PM

      @plainbroke said in module unable to play mp3 file using omxplayer:

      runs out of turn over all the others and does not stop

      what does that mean?

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      P 1 Reply Last reply Jan 16, 2025, 7:53 PM Reply Quote 0
      • P Offline
        plainbroke @sdetweil
        last edited by plainbroke Jan 16, 2025, 7:55 PM Jan 16, 2025, 7:53 PM

        @sdetweil
        So, I run 20+ modules using MMM-Carousel, they all work well together.
        I added MMM-MPlayer and it took over, over rode carousel completely taking over MM. It would load about 10 seconds after pm2 restart mm.
        Then it just stayed up, full screen, looking like it was the only module running. I figured out that the other modules where being run behind MMM-MPlayer by making it only a 1/4 of the screen size.
        Does that make sense?

        Slow learner. But trying anyways.

        E 1 Reply Last reply Jan 16, 2025, 9:34 PM Reply Quote 0
        • E Offline
          evroom @plainbroke
          last edited by Jan 16, 2025, 9:34 PM

          @plainbroke
          Yes, that makes sense.
          Keyword: overlay.
          I will reply in the MPlayer issue you opened for this, to not hijack this topic.

          MagicMirror version: 2.30.0
          Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
          Raspbian GNU/Linux 12 (bookworm)

          Test environment:
          MagicMirror version: v2.30.0
          Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
          Raspbian GNU/Linux 12 (bookworm)

          1 Reply Last reply Reply Quote 0
          • H Offline
            hrjmsh @myfingersarecold
            last edited by hrjmsh Jan 23, 2025, 4:44 PM Jan 19, 2025, 6:34 PM

            @myfingersarecold
            Thank you for the suggestion. I have installed the MPlayer and your module. The mp3 file is now playing by replacing the omxplayer with either VLC or MPlayer in node.helper.js of the affected module.
            Thank you once again.

            1 Reply Last reply Reply Quote 1
            • H hrjmsh has marked this topic as solved on Jan 23, 2025, 4:45 PM
            • 1 / 1
            1 / 1
            • First post
              7/7
              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