Switch Rules

You can adjust a special rule (i.e., command) to be executed in case of X-Pert Playout replacement. Press the  Setup switch rules button from the toolbar to open a Switch option dialog.




The rules can be related to a particular Master or all Masters. A rule can affect just one or all the Slaves.


The buttons, situated at the upper line above the grid, are used for creating  , removing  , editing  , and copying  the rules. The Master and Slave drop-down lists are intended for filtering purposes. They are useful for searching for a rule, concerning a particular X-Pert Playout. If [ALL] is selected, all currently available rules will be shown in the grid.



To create a new rule, click on the  button. Press the editing  button, or double-click on a rule to modify it. If you do so, the Create new switch option dialog opens.



At the header of this window, there are Master and Slave fields, where you have to enter the IP addresses for the Master and Slave X-Pert Playout, for which the rule will be valid.


In the Type field you have to select the switch option from a drop-down list:


Path change – each playlist contains paths, indicating where its local files are situated. For the playlist to be valid for the BackUp X-Pert Playout, you have to create a rule for path changing. For example, assume your X-Pert Playout Master is playing out from D:\Media, but the content for the BackUp machine is on D:\Master1\Media. Thus, after transferring the playlist, X-Pert Playout Slave will not be able to locate media files containing a different file path. For this case, create a rule for one particular X-Pert Playout and one BackUp. In this way, in case there is a switch between those X-Pert Playout machines, the BackUp has a valid playlist.


Logo change – For example, if there are two X-Pert Playout Masters, but only one Slave covering them, we assume the user has copied all the logos from the Masters to the Slave. However, this means that Logo Preset 1 on the first Master may correspond to another Preset number on the Slave machine. To avoid some confusion, swapping of the logo presets is user-definable. Thus, at the moment of the switch between Master and Slave, the logo Presets will be changed automatically.


Execute external command on master failure – In case of a switch between Master X-Pert Playout and Slave X-Pert Playout, a command like matrix switch, GPI trigger, etc., must be executed. You can define this external command here.



The list of possible commands depends on plug-ins, available for XBS. The plug-ins are enabled and disabled from the External Plug-ins set-up dialog.



Press the  button from the Execute external command on master failure toolbar to open a context menu with all of the enabled external plug-ins. The list of plug-ins is the same as in X-Pert Playout. There is an additional plug-in here – the UDP switcher plug-in. This plug-in was developed especially for the needs of the X-Pert Playout streaming BackUp.



Execute external command on master recovery – The same as above, but the external command will be executed upon Master recovery, instead of Master failure.


Playback position offset – This is intended to compensate for some delay, which may occur before the Slave could enter in playback state. Currently, it is advisable that you set a 0 value here. Otherwise, there is a risk that the Slave X-Pert Playout fails at startup playout.



IMPORTANT: Be aware that this offset only works per clip, NOT for the entire playlist. Also, if you enter negative values here, they will simply be ignored and no offset will be applied.



To understand how this option is supposed to work, please, read the following example:


Suppose that your Master X-Pert Playout fails for some reason. If the value here is zero, the Slave X-Pert Playout will continue the playback from the exact same point, at which the failure has occurred. However, by the time the Slave X-Pert Playout could reinstate the playback, some time will have passed for the Slave initialization, file buffering, etc. Thus, this option allows you to compensate for this gap by forwarding the playback with a fixed amount of time, set here but only within the playout time of the currently playing clip.



External command change – This rule will replace an exact, concrete external event, contained in the Master’s playlist with another command, predefined by the user.


For example, it is quite possible to have a tape-based playback, i.e., the Master X-Pert Playout to control a VTR. This involves Switcher events – one for switching to the VTR and another one for switching back to X-Pert Playout. If the Master machine fails and there needs to be a switch from the VTR to the Slave machine instead of the Master, the cross-points must be changed.



%replace time% - will be replaced with the actual switch time.

%master_ab% - will be replaced with a name of Master X-Pert Playout.

%slave_ab% - will be replaced by a name of Slave X-Pert Playout.


If  is pressed, a default alarming script will be set automatically.


Universal path change – This setting will take only the name of the media files, contained in the Master’s playlist, without their subdirectory paths, and will move the files to a location, specified by the user.


Save playlist – this option is used for saving the Master’s playlist to a predefined folder. In fact, this is one folder, which is a source location for a X-Pert Content Replicator module, working in Playlist mode. It is intended for moving the already saved (by XBS) playlist, along with the media files, contained in it, to the BackUp server (in case none of the media files are on it). In the meantime, the Slave X-Pert Playout uses reference paths, which indicate where each physical media file is. These references are generated by another X-Pert Content Replicator application, which is responsible for copying the files to the Master Server. They indicate the source, from which the files are moved (it is mostly the NAS storage). Once the files are locally copied to the Slave X-Pert Playout, they are not treated as network content anymore. Thus, the Slave X-Pert Playout continues the playback locally.


In the main Rule’s window, there is an additional field - the Condition field.



Here you have to specify a matrix status to be compared with the real matrix status at the moment of backup switchover. If the current matrix status matches the status, specified in the condition, then the Switch Rule will be executed. Else, the Switch Rule will not be executed.


Click on the  button from the Conditions toolbar to select the Universal Matrix Plugin checker to create a new condition.


Click on the  button from the Conditions toolbar to edit the selected condition.


Click on the  button to delete all the settings for the selected condition.


Click on the  button to check the selected condition’s state at the moment.