User Tools

Site Tools


macros:function:playbackgroups.addplaybackstogroup

Function

PlaybackGroups.AddPlaybacksToGroup

Void PlaybackGroups.AddPlaybacksToGroup(PlaybackGroupHandle playbackGroupHandle, IEnumerable<Handle> handles)
API https://api.avolites.com/15.0/api/PlaybackGroups.AddPlaybacksToGroup.html
description Adds the playbacks to the specified playback group.
namespace PlaybackGroups
parameter playbackGroupHandle ( Handle ) : The playback group handle.
handles ( IEnumerable ) : The playback handles to be added to the group.
return value Void

See Playback Groups - Create and Add for various ways to pass the IEnumerable of playback handles. As this function is in the namespace PlaybackGroups it assumes any passed handle to be in this namespace too. You need to use Playbacks.FilterByPlaybackHandle to make sure the playbacks are looked up in the correct namespace. Also the playback group handle when passed as user number requires extra casting like handle:“playbackGroupHandleUN=1”.

Example in

Playback Groups - Create and Add:

<step>PlaybackGroups.AddPlaybacksToGroup(handle:"playbackGroupHandleUN=1", "cueHandleUN=3")</step>
Also used in
Remarks
You could leave a comment if you were logged in.
macros/function/playbackgroups.addplaybackstogroup.txt · Last modified: 2021/06/13 10:11 by icke_siegen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki