Skip to content

NowPlayingNotifier

Jerzy Jaśkiewicz edited this page Dec 22, 2019 · 1 revision

Description

The plugin is designed to show graphics (ticker) with current and/or two next title names using prepared Flash template. To accomplish this, plugin loads specified template just after a rundown item is started, and provides the template with relevant data. The plugin has no visual representation, it just works as background service.

Plugin files

The plugin consists of two files: TVPlay\Plugins\TAS.Server.NowPlayingNotifier.dll and its configuration TVPlay\Configuration\NowPlayingNotifier.xml.

Configuration

Whole plugin configuration is in the TVPlay\Configuration\NowPlayingNotifier.xml file. The plugin will load for a running engine with the same name as specified in EngineName attribute of NowPlayingNotifier in the file. It have following properties:

  • CommandOnPlay - command that will load relevant Flash animation. The command will be completed with xml data containing current and/or next rundown items info according to plugin configuration in <Data> element. Note that the command does not contain CasparCG channel number, and layer is denoted using TVPlay's constant, (CG1-CG5). The load process will translate it to relevant channel-layer, according to TVPlay configuration.
  • MediaCategory - the category that will trigger plugin command (other rundown item types will not load the command).
  • Data - set of data fields (key/value) that will be sent to template on loading. Keys are simple strings, values are taken from rundown, it may come be one of: CurrentItemName, CurrentItemDurationInSeconds, NextItemName, NextShowName (next item that's media is of 'Show' Category), NextNextItemName, NextNextShowName.

As Flash template can know current item length and the rest of data, its logic should decide if, what and when display ticker. And, of course, unload itself.