Allow the client to access variables

Registered by Matthew Holder

Allow the client to access variables when displaying a layout. This means that the client could display (for example) the machine name

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

If the client could access variables, either defined by the client set up itself, or more usefully environment variables, then fixed layouts could be customised in some way.

Imagine, the client is displaying a generic layout, but then it can be customised by an environment variable on the PC that shows the location of the display, or the machine name or ...

This system would also allow for other things. Independent scripts could be written to run on the PC that write to an environment variable. In this way, the layout can be updated whenever the refresh period is hit and the environment is changed by the script. This could be a way to display the time from the local display.

In the server interface, this could be implemented in a normal text display with something like

[ENVIRONMENT VARIABLE NAME]

which the client then replaces with the value. Also, using this scheme, this text can easily be themed.

Matt

* Working on some test code to allow the Python client to access environment variables
* This code is written as a new media type plugin that is a copy of the textmedia plugin
* It would be better to either add this in to the text media item or inherit from the textmedia plugin

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.