Titration module¶
Controlling cameras when working with schedule
To activate plugin add the following code to config:
CREATE_NET_WND_PLUGIN ManCamSystem_TitrationManagerPlugin ManCamSystem.dll Digispot.ManCamSystem.TitrationManager.TitrationManagerPlugin
SET_OBJ_BASE ManCamSystem_TitrationManagerPlugin DevicesList "MagicSoftCG:MagicSoftManagerDriverPlugin;МУК:CameraManagerPlugin;Emulator:DeviceEmulatorPlugin;Orad:OradDriverManagerPlugin"
SET_VIEW_TAB_OBJ VIEW_T1 ManCamSystem_TitrationManagerPlugin TitrationManagerPlugin
In module’s main window a list of actions defined for needed devices with ID identificator is shown.
To add or edit an action use the dialog box "Actions", that is opened by using buttons in the left part of toolbar.
An example of titles using MagicSoft:
An example of titles using Skylark:
As parameters it is required to specify the name of action, the device that the commands will be sent to, and ID of device that the action will be applied to.
Command desciptions
- on (switches titration element on);
- off (switches titration element off);
- SetLogic (changes camera control module logic);
- ChangeMode (toggles between camera control modes (manual/automatic));
- ChangeCamera (toggles between active cameras (works only if camera control module mode is set as manual));
- UpdateTitrationText (guest and host titration)
- StartElementWithDelayedStop (launches and automatically stops titration of element. Used for Skylark)
Each action consists of several parameters depending on the type of element (see titration server settings, for example Orad, MagicSoftCG). The identificator may take one of five values:
- CurrentTitle;
- CurrentArtist;
- NextTitle;
- NextArtist;
- Logic (used for SetLogic command);
- Mode (used for ChangeMode command);
- Camera (used for ChangeCamera command)
- ClipName (name of graphic element, used for Skylark)
- DelayDuration (graphic element display period, used for Skylark)
, while the value for each parameter may be any of the following four:
%C.Title% - current element's track title;
%C.Artist% - current element's artist name;
%N.Title% - next element's track title;
%N.Artist% - next element's artist name.
%Text% - used to receive titration text of camera control module. the macros %Text_0%, %Text_1%, etc, may also be used if you need to send several lines separately.
Applied Logic may assume one of the following values:
%C.Elem.[AttrName]% - where [AttrName] is current element's attribute name;
%N.Elem.[AttrName]% - where [AttrName] – is next element's attribute name;
%C.Block.[AttrName]% - where [AttrName] – is current block's attribute name;
%N.Block.[AttrName]% - where [AttrName] – is next block's attribute name.
Applied Logic may also assume clearly specified value.
The Mode variable may assume one of the following values:
auto - set switching between cameras in automatic mode;
manual - set switching between cameras in manual mode;
The Camera variable may assume values that correspond to camera names assigned by user, such as k1, k2, k3
Each action is executed in accordance with defined settings of element’s attribute, block’s attribute, element type and block type. The actions may also be united into a sequence of actions for each of the played elements. The settings are dne in the lower left part of the window, on the main form, where a sequence of actions is specified for each operation in the lower right part of the main form:
During processing of data a sequence that corresponds best to current conditions will be selected. Each attribute of a sequence has its own precissing priority:
- The element’s attribute has priority 1;
- The block’s attribute has priority 2;
- Element’s type has priority 3;
- Block’s type has priority 4.
The sequences may also be united in groups and performed in groups by priority. If there are several sequences with the highest priority in a group, they will be performed in parallel.
Sequences from different groups may also be perfomed in parallel if they correspond to set rules.
For a specific action to be perfomed under specific rule it should be moved by using Drag`n`Drop list of actions, found on the right side of the screen.
A sequence of elements is placed in an order suitable for execution. The order can be changed by using Drag`n`Drop.
The list contains the following columns:
- action - action name;
- performance time - time of performance for action at the beginning of element’s playback. The moment of time may be expressed in seconds or per cents (add % at the end of number) of the element’s length;
- moment count - count type can be selected: time count from element’s start of countdown until element’s end (for example, execute 5 seconds before the end of the element);
- early execution - whether or not the action should be performed if element’s playback has been stopped early.