User Tools

Site Tools


config:remotecontrol:airlite

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
config:remotecontrol:airlite [2019/07/09 16:18] – external edit 127.0.0.1config:remotecontrol:airlite [2020/02/05 21:20] – [Scripting] Ergänzung tondose
Line 76: Line 76:
 Remotes are 0-based, so ''AirliteRemote(0)'' will return a reference to the first remote in the system. Remotes are 0-based, so ''AirliteRemote(0)'' will return a reference to the first remote in the system.
      
-At the time being, the ''IAirliteRemote'' interface offers two useful functions:+Up to mAirList 6.2, the ''IAirliteRemote'' interface offers two useful functions:
  
   procedure SetLED(iNumber: integer; iColor: TAirliteColor);   procedure SetLED(iNumber: integer; iColor: TAirliteColor);
Line 104: Line 104:
   * ''albsNormal''   * ''albsNormal''
   * ''albsFast''   * ''albsFast''
 +
 +Starting with mAirList 6.3, access to the following low level remote functions is possible through the ''IAirliteRemote'' interface:
 +
 +  function RemoteOn(iModule: TAirliteModuleType; iAction: TAirliteAction): integer;
 +  function RemoteCue(iCueType: TAirliteCueType; iAction: TAirliteAction): integer;
 +  function RemoteCueReset: integer;
 +  function RemoteAutoCueAnnouncer(iAction: TAirliteAction): integer;
 +  function RemoteAutoCueCRM(iAction: TAirliteAction): integer;
 +  function RemoteNonStop(iAction: TAirliteAction): integer;
 +  function RemoteComm(iModule: TAirliteModuleType; iAction: TAirliteAction): integer;
 +  function RemoteCough(iModule: TAirliteModuleType; iAction: TAirliteAction): integer;
 +  function RemoteVT(iModule: TAirliteModuleType; iAction: TAirliteAction): integer;
 +
 +Possible values for ''TAirliteModuleTypes'' are:
 +
 +  * ''almModule1''
 +  * ''almModule2''
 +  * ''almModule3''
 +  * ''almModule4''
 +  * ''almModule5''
 +  * ''almModule6''
 +  * ''almModule7''
 +  * ''almModule8''
 +  * ''almModuleAll''
 +
 +Possible values for ''TAirliteCueType'' are:
 +
 +  * ''actModule1''
 +  * ''actModule2''
 +  * ''actModule3''
 +  * ''actModule4''
 +  * ''actModule5''
 +  * ''actModule6''
 +  * ''actModule7''
 +  * ''actModule8''
 +  * ''actAux''
 +  * ''actNonStop''
 +  * ''actAir''
 +  * ''actAll''
 +
 +Possible values for ''TAirliteAction'' are:
 +
 +  * ''alaDeactivate''
 +  * ''alaActivate''
 +  * ''alaToggle''
 +
 +==== Example ====
 +
 +Switch on //Cue// on module No. 8 when Extra-PFL is launched:
 +
 +  procedure OnExtPFLOn(Item: IPlaylistItem; ExtPFLCount: integer);
 +  begin
 +    if ExtPFLCount = 1 then
 +      AirliteRemote(0).RemoteCue(actModule8, alaActivate);
 +  end;
 +
 +… and switch off when Extra-PFL is closed:
 +
 +  procedure OnExtPFLOff(Item: IPlaylistItem; ExtPFLCount: integer);
 +  begin
 +    if ExtPFLCount = 0 then
 +      AirliteRemote(0).RemoteCue(actModule8, alaDeactivate);
 +  end;
 + 
 +
 +
 +
config/remotecontrol/airlite.txt · Last modified: 2022/04/15 15:03 by tondose

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki