Git Product home page Git Product logo

schoolbell's Introduction

This is a rather simple application for managing schoolbell. Configuration file tells what soundfile to play and when. It also provides a couple of methods for overriding special cases like holidays and ability to run pre- and after- commands to modify volume levels etc.

It was written back in 2004 for a friend of mine who managed IT for a couple of schools and complained about the needless complexity and price of commercial schoolbell management software (yes, such things exist!). So in a couple of hours I hacked this together and it has been in production in several schools since then, more than 14 years so far :-)

usage

Just edit conf.py to match your needs and then start the application with:

python bell.py

You can start it automatically on bootup for example by placing it in the crontab:

@reboot cd /path/to/bell && python bell.py 1> /dev/null 2> /dev/null &

Ensure that the user you run this script under has sufficient privileges to play audio and change mixer settings.

You can edit conf.py while it's running and force reload by sending SIGHUP (for killall -HUP bell.py)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.