Insert DirectLive item

Hi,

I’m trying to insert a DirectLive item in Current Playlist using a script, but I can’t figure out witch object to use …

Can you give me some tips ? :pray:

Thanks

Chris

Why don’t you use the item “Live Feed” directly in the playlist?

Well, I need to dynamicly switch (no predictible) to external source without touching the gui …

  1. Create a playlist that contains only the Live Feed item, and save in .mlp format.
  2. Use this script to insert it behind the currently playing item:
begin
  CurrentPlaylist.Insert(CurrentPlaylist.GetNextIndex, Factory.CreatePlaylistFromFile('C:\somefilename.mlp', AllFileImportTasks, nil), true);
end.
1 Like

Hi,

Works like a charm. I used the ImportXML instead;

Thank you

1 Like