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

Video Playback Issue

Scheduled Pinned Locked Moved Hardware
13 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.
  • J Offline
    jimbydude
    last edited by Aug 21, 2020, 5:23 PM

    Thanks for the replies, looks like for out of box video niceness, need to wait until electron catches up.

    I don’t think the PI itself is struggling. As experiment I played in full screen on PI using Chrome, and at same time had full screen on two separate monitors connected to my local PC and they all played totally fine. So sounds like Electron is needing some TLC to catch up.

    I’ll mess with the OpenGL setting etc, and see how they compare.
    Cheers

    S 1 Reply Last reply Aug 21, 2020, 5:36 PM Reply Quote 0
    • S Offline
      sdetweil @jimbydude
      last edited by Aug 21, 2020, 5:36 PM

      @jimbydude and, you can use chrome as the browser instead of the built in one

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      J 1 Reply Last reply Aug 21, 2020, 5:40 PM Reply Quote 0
      • J Offline
        jimbydude @sdetweil
        last edited by Aug 21, 2020, 5:40 PM

        @sdetweil Do you mean MM can be configured to use Chrome by default, or you mean just starting Chrome with URL (on the PI) using pm2 etc?

        S 1 Reply Last reply Aug 21, 2020, 5:50 PM Reply Quote 0
        • S Offline
          sdetweil @jimbydude
          last edited by sdetweil Aug 22, 2020, 9:06 PM Aug 21, 2020, 5:50 PM

          @jimbydude as I mentioned above you can configure it if, you get one file that was removed in 2.11

          cd ~/MagicMirror
          curl -sl https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/run-start.sh >run-start.sh
          chmod +x run-start.sh
          

          edit package.json and replace the start stmt with this

          "start", "./run-start.sh",
          

          then edit config.js and set
          serverOnly:'local",

          this will launch the run-start.sh when u do npm start or pm2 start x
          the script will check the setting of the serverOnly parm and if set to ‘local’,
          will launch mm in server only and then launch chrome over it. from the outside you cannot tell the difference… (u can for video playback)

          from config.js

          // serverOnly:  true/false/"local" ,
          			     //  local for armv6l processors, default 
          			     //   starts serveronly and then starts chrome browser
          			     // false, default for all  NON-armv6l devices
          			     // true, force serveronly mode, be```cause you want to.. no UI on this device

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          J S 2 Replies Last reply Aug 21, 2020, 5:53 PM Reply Quote 2
          • J Offline
            jimbydude @sdetweil
            last edited by Aug 21, 2020, 5:53 PM

            @sdetweil very nice and thank you. I’ll try that out asap!

            Cheers for helping :)

            1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @sdetweil
              last edited by Aug 21, 2020, 5:55 PM

              i created this script to help users with older pi0 / armv6l devices get up and running, because there is no electron version anymore, without having to figure all this out…

              the project decided to support only pi3 and pi4.

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              J 1 Reply Last reply Aug 21, 2020, 5:57 PM Reply Quote 0
              • J Offline
                jimbydude @sdetweil
                last edited by Aug 21, 2020, 5:57 PM

                @sdetweil I’m actually running this on Pi 4, so looks like your script is still necessary for anyone looking to play video.

                S 1 Reply Last reply Aug 21, 2020, 6:04 PM Reply Quote 0
                • S Offline
                  sdetweil @jimbydude
                  last edited by sdetweil Aug 21, 2020, 6:04 PM Aug 21, 2020, 6:04 PM

                  @jimbydude i understand… however all the scripts were removed from the files distributed as part of the MM project… so i have to help users one at a time.
                  if you use the installation script from here, https://github.com/sdetweil/MagicMirror_scripts ,and u have one of the older devices I do this setup for you.

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    jimbydude
                    last edited by Aug 21, 2020, 9:47 PM

                    Just tried this out and works like a charm!

                    Rihanna now sounds and looks as smooth as intended.

                    Thanks for the quick and super helpful reply!!

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