Project

General

Profile

ScheduleHandler Extender

Function


This component can be used to replace items when sending schedule via DDB. In this particular case, the above only applies to replacement of ID jingles.
You can add and configure processor or a sequence of processors from each connection in DDB. The processors can be configured for both received and sent schedules. The configuration routine for processors is identical in both cases.

Processing sent schedules


To configure processors of sent schedules you must:

  1. open DDB connection properties;
  2. open Send DB tab;
  3. select the schedule you wish to send and click on "Handlers".

Send_DB_tab.png

You can see all used processors in the "Handlers" column of the sent schedules list.

Processing received schedules


To configure processors of received schedules you must:

  1. open DDB connection properties;
  2. open Receive DB tab;
  3. select received schedule and click on Edit;
  4. find "Handlers" field in the "Schedules to receive" dialog box and click on "…".

Receive_DB_tab.png

Here is an example of selected received schedule properties:

Receive_schedule.png

You can see used processors of received schedules in the "Handlers" field.

The list of processors of received or sent schedules


The list contains processors configured to process the schedules. To use a processor to process a block you must check the box.
You can add, edit or delete processors using either toolbar or context menu.

The_list_of_processors_of_received_or_sent_schedules.png

Create/edit processor


Creating a processor


To create processor, click on "+" on the toolbar or in context menu.
Then, in the dialog box, select the needed type of processor and click OK.

After your processor has been created, you will see a dialog box with its properties.

Edit processor’s properties


Handler_properties_editor.png

There is a list of matched categories for replacement items.
For each replaced item with a specified type and category you must specify types and category for the replacement item. You can select types and categories for replaced and replacement items in a special dialog box during adding and/or editing of item replacement.
You can specify type and category for replaced items manually.

Choice_of_replacement_items.png

To select type and category of replaced or replacement items, click on "…" in respective field:

Select_category.png

Replacement items are only used from root category specified by the user. This means that all replacement items in subcategories will be ignored.
If no replacement item is found, choose one of these options to process replaced item:

  • leave replaced item in;
  • delete replaced item;

There is a possibility to specify the source of marking. You can get the latter from:

  • replaced item;
  • replacement item;
  • replaced item, if the difference in their duration does not exceed specified value. You must specify this value in editing field.

If more than one replacement items are found in specified category, the processor will select item with the most appropriate duration.
Only items with nonempty value in their jingle ID field are subject to replacement.

Processing routine


Schedule items are processed and replaced by blocks.
Processors are activated for each block in a sequence, replacing items according to settings. Each item replacement operation is logged.
Notifications about failed replacements are written in the error log.

Add picture from clipboard (Maximum size: 742 MB)