• 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.

MMM-iFrame-Ping - revisited

Scheduled Pinned Locked Moved Utilities
8 Posts 3 Posters 2.0k Views 3 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.
  • E Offline
    ebolisa
    last edited by Feb 16, 2021, 7:44 PM

    Hi,

    I’m streaming video/music from a web but, for some reason, the audio doesn’t go through on a P0 it does on a P4 using the same config, however,

    Youtube and audio tests pass on both pies.

    Is there any reason for that?
    TIA

    S 1 Reply Last reply Feb 16, 2021, 7:54 PM Reply Quote 0
    • S Offline
      sdetweil @ebolisa
      last edited by sdetweil Feb 16, 2021, 8:03 PM Feb 16, 2021, 7:54 PM

      @ebolisa on a pi0 you are running chromium-browser, on a pi4, u are using electron js browser

      i suspect u have to do some setup on chromium

      see the 4th post here
      https://www.raspberrypi.org/forums/viewtopic.php?t=291066

      add the parm to the invocation of chromium in ~/MagicMirror/run-start.sh

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      E 1 Reply Last reply Feb 16, 2021, 9:25 PM Reply Quote 0
      • E Offline
        ebolisa @sdetweil
        last edited by Feb 16, 2021, 9:25 PM

        @sdetweil you mean in line 78?

        chromium-browser -noerrdialogs -kiosk -start_maximized  --disable-features=AudioServiceSandbox --disable-infobars --app=...
        

        the other way I get an error:

        pi@magicmirror:~/MagicMirror $ chromium-browser --disable-features=AudioServiceSandbox
        [1974:1974:0216/221501.872136:ERROR:browser_main_loop.cc(1432)] Unable to open X display.
        
        S 1 Reply Last reply Feb 16, 2021, 10:07 PM Reply Quote 0
        • S Offline
          sdetweil @ebolisa
          last edited by Feb 16, 2021, 10:07 PM

          @ebolisa correct.

          the second way probably fails because u are on an ssh session, and need to define the DISPLAY to use

          export DISPLAY=:0

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          K E 2 Replies Last reply Feb 17, 2021, 8:06 AM Reply Quote 0
          • K Offline
            KamiSchami @sdetweil
            last edited by Feb 17, 2021, 8:06 AM

            I also stream YouTube videos but I don’t !!! want to hear any sound. Does the module regularly play no sound?

            Real programmers never work 9 to 5. If they are around at 9 AM, it's because they were up all night.

            S 1 Reply Last reply Feb 17, 2021, 1:37 PM Reply Quote 0
            • S Offline
              sdetweil @KamiSchami
              last edited by Feb 17, 2021, 1:37 PM

              @kamischami according to this,

              https://peter.sh/experiments/chromium-command-line-switches/

              the

              –mute-audio

              parm should mute any audio

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • E Offline
                ebolisa @sdetweil
                last edited by Feb 17, 2021, 1:40 PM

                @sdetweil making progress by tweaking a bit the line shown above to

                chromium-browser --autoplay-policy=no-user-gesture-required --noerrdialogs --incognito --kiosk -start_maximized  --disable-features=AudioServiceSandbox --disable-infobars --app=...
                

                However, streaming video on a P0 is not the best way to go so, I decided to just stream audio with this link http://stream-uk1.radioparadise.com/mp3-192. It’s much easer on buffering ;)

                S 1 Reply Last reply Feb 17, 2021, 1:43 PM Reply Quote 0
                • S Offline
                  sdetweil @ebolisa
                  last edited by Feb 17, 2021, 1:43 PM

                  @ebolisa pi 0 is tough to of a lot different things at once

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  1 / 1
                  • First post
                    1/8
                    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