Giter VIP home page Giter VIP logo

Comments (4)

mikldt avatar mikldt commented on August 15, 2024

Example: a screen in a cafeteria that is being used for a performance. A bright screen could be undesirable in the darkened room, so the screen owner might want to shut it down for the day (often it is undesirable to have the power button readily accessible).

It expires at midnight local time on the day it was set, so at most the override can last for one hour.

A more elegant implementation would be some sort of on/off "remote control" interface ... but I don't think the responsiveness one might expect from that sort of interface is forthcoming in our first pass at the polled player api.

from concerto-hardware.

mfrederickson avatar mfrederickson commented on August 15, 2024

That makes sense. So bandshell will have a background job to check and reset this? Does bandshell poll for its screen on/off functionality or does it read a configuration once when it starts?

from concerto-hardware.

augustf avatar augustf commented on August 15, 2024

The bandshell daemon itself will poll every so often, so the config can change during runtime.

from concerto-hardware.

mikldt avatar mikldt commented on August 15, 2024

Bandshell polls concerto-hardware for settings (currently every 5 minutes).
Note this is new in the repo, the image doesn't have this function yet.
Right now the only player setting is a list of rules governing on/off
behavior. Their format is laid out under "Player API" in this repo's wiki.

As a result of these rules, no background work required. The model just
records the current date in the database as the condition of a new "force
off" rule. So for the rest of the day, bandshell sees the matching date and
turns off the screen. After midnight, the date will no longer match, so
bandshell ignores that rule.

The expired but harmless rule will fall away next time someone edits the
player.
On Dec 20, 2013 11:25 PM, "Marvin Frederickson" [email protected]
wrote:

That makes sense. So bandshell will have a background job to check and
reset this? Does bandshell poll for its screen on/off functionality or does
it read a configuration once when it starts?


Reply to this email directly or view it on GitHubhttps://github.com//issues/12#issuecomment-31056523
.

from concerto-hardware.

Related Issues (20)

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.