Read the statement by Michael Teeuw here.
Video Playback Issue
-
@jimbydude and, you can use chrome as the browser instead of the built in one
-
@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?
-
@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
-
@sdetweil very nice and thank you. I’ll try that out asap!
Cheers for helping :)
-
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.
-
@sdetweil I’m actually running this on Pi 4, so looks like your script is still necessary for anyone looking to play video.
-
@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. -
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!!