francistheodorecatte / signage_script Goto Github PK
View Code? Open in Web Editor NEWcertified very bad™
certified very bad™
Script should check for matching video file, and if none is found, instead display the full screen logo instead until it finds a video to play.
Less stupid than the PID checking bullshit I'm doing now. Also easier to work with using cron.
should check if the value is zero, and skip trying to copy the file if that's the case.
Seems worse as of the latest commit 5929c47, where I added a random reboot (untested) to try and fix the problem. Now they go blank within minutes/hours.
Little bit of background:
Basically every couple of days or weeks, the Pi's display output will go blank. Not sure if this is an upstream issue or something my script causes. Will do some more investigation and get the random reboot script working properly.
This has been happening since this script was first rolled out en masse; when I had early revisions of the script (circa December 2016) running on a single testing Pi, it was perfectly stable for over a week without issues.
In any case, as of right now, commit c3731e2 is the most stable, but signs still go blank and require hard resetting every couple of days/weeks. You can get around this by manually setting the crontab script provided in this repository (until I fix the automatic creation of the crontab rule).
remote folders and signs are named Sign01-Sign99 or whatever
the script mangles that into Sign1-Sign99
What it says on the tin.
WHAT IT SAYS ON THE TIN
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.