Creation of a Schedule

A tutorial about how to create a schedule that can be set to automatically trigger and how to apply an existing automatic render set

Caveat: You need to have Template Editor permissions. It may be sensible when naming new hooks, new templates or new template sets to add "TRAINING" as part of the name, to differentiate your work from 'live' production work. Do consider any 'Delete' actions carefully - is it your work you are deleting?


Creation of a Schedule


Requirement


  • A render set that generates all of the renders for a football match

  • A schedule that triggers these render sets during the time the match is in progress or when it is complete


Predecessor


If you have already created hooks that can be used as conditions by hooks that require conditions, you can skip to the heading 'Templates', if not, you will need to complete the following article:


Templates


Firstly, come up with a list of all the templates you want to be rendered automatically during matches. The templates could be built in a way no user input is required in order to generate each graphic, apart from looping through all the options in certain dropdown menus. For example, a 'Score Dog' football template cannot be automated because there is no way of knowing the kit each team is wearing, so these options need to be manually set by the Operator before rendering. You can, however, automate a Scoreline Lower Third football template because this is not reliant on what kit a team is wearing - all you need to do is loop through all of the different scorelines throughout the match that are given as selections from the dropdown menu.


Here are some template examples, but there could be more:

  • Scoreline Lower Third

  • Single Substitution

  • Single Card

  • Manager Name Super


You should make sure all of the templates you have chosen use the same data provider and schema and they are all included in the same template set.


Your Automated Render Set


You can complete the article: Automated Render Set or you could follow the brief steps below:


  1. TEMPLATE SET, select the template set all your templates belong to

  2. Select the correct subset from the 'Subsets' tab, i.e. the subset all the templates belong to, because they all use the same schema

  3. RENDER SET, create a new render set, selecting the appropriate schema

  4. Activate all the appropriate templates to be included in the 'Render Set' and set up their properties, for example:

    1. Single Card: Single Card Selector = 'All Items'

  5. Test out your configuration settings with the 'Analyse Graphic Permutations For Sample Data:' button


Conditions


Not only can you add conditions to your templates within the render set so they do not function until the condition is met. You can also use a 'List Transform' on your hook to add a 'Fixed Row', to which you can then set a condition. A good example of being able to do this is the 'Scorelines' graphic that has some fixed rows.


  1. Make adjustments to templates if the desired behaviour cannot be achieved, for example, the fixed rows used to force half-time and full-time scores into the dropdown on the 'Scoreline' template need to have conditions so the scores only get added to the dropdown once the period value of the match gets past the time of their usage


If you used the article for the 'Creation of an Automated Render Set', you will need to complete the steps below to be consistent with the above. If you have already set the required conditions to your hooks you can skip to the heading 'Creating a Schedule'.


  1. Select the main tab DATA

  2. Select the sub-tab SCHEMAS & HOOKS

  3. Below SCHEMAS:

    1. Data Provider: XMLTeam

    2. Target: Production

    3. Schema: soccer event-report

    4. Sample Data: Southampton v Leicester City

  4. Within WORKING SET, select the 'Scorelines' parent hook

    1. You may need to adjust the size of the pane to be able to see enough of the 'List Transforms' within HOOK PROPERTIES. Remember there is a scroll bar at the bottom of the HOOK PROPERTIES pane

  5. At the very right-hand end of the 'First-Half' fixed row (i.e. the one that has minutes-elapsed = 1002), below the column header 'Condition': click the button: 'Select Hook'

    1. From the new window, select the hook 'Progress' (it is a child hook of 'Schedule Condition Hooks')

  6. For the 'Second-Half' fixed row (i.e. minutes-elapsed = 1003), below 'Condition': click 'Select Hook'

    1. Select the hook 'Progress'

  7. Now to give your condition hooks some mathematical functions:

    1. For the 'First-Half' row (i.e. 1002), adjacent to 'Progress', set the following: >= 2 (Number)

    2. For the 'Second-Half' row (i.e. 1003), 'Progress': >= 3 (Number)


Creation of a Schedule


Data Subsets


Data Subsets are chosen when creating a Template. If the Template relies on Data the user needs to select, the selection can be made in the Templates pane of the Web Client. A Data Subset would be useful if, for example, the same Schema for a football team was used for teams in the World Cup, English Premier League, Scottish Premier League etc. - if the Template being created was for a World Cup specific graphic, you would want to limit the Data Documents available from this Data Selector to World Cup teams.


It may be worthwhile doing the below article if you have not already done so:


Creating a Schedule


  1. Below the main tab DATA and then the DATA PROVIDERS sub-tab, select the appropriate XML Data Provider your templates are using (e.g. XMLTeam)

  2. Below the SCHEDULES & SEARCHES and below the SCHEDULES sub-tab, click 'Add' to create a new schedule

    1. Rename: TRAINING Match

  3. Select the appropriate schema (e.g. soccer event-report) and data subset (e.g. EPL) that your render set uses

  4. Set up your 'End Condition' - i.e. what hook to evaluate and what value to test it gives to indicate the match has ended. For example, the 'Event Status' hook equaling 'post-event'

  5. Click 'Save'

  6. Click the 'Refresh Now' button to generate a list of all upcoming matches


Creation of a Schedule


  • Mark the schedule as 'Active'


  • NOTE - The 'Start Date' has not been set but it is populated. It default populates with the time and date of when you created the schedule. Also the 'End Date' is default set to 'No End Date' (with a Tick). You could UNTick and set an appropriate date if you wish.


    Configure a Render Set to be Triggered by the Schedule


    1. TEMPLATE SETS > RENDER SETS, you will now see the name of your schedule as a checkbox under 'Schedules' - tick this box to allow the render set to be triggered by your schedule

      1. Save