CreateHookContainer doesn't use startnext cue point

Hello,

In a script, I create a HookContainer using some items in the playlist.
No problem: my opener and closer are presents at the beginning and the end : but their start next cue points are not used at all… whatever it’s the opener or the closer item…

Is there an option to use them when creating a hookcontainer ?

Here is my current code :

hookPlaylist := Factory.CreatePlaylist;

hookPlaylist.Add(HeavenReplay.GetItem(1));
hookPlaylist.Add(HeavenReplay.GetItem(2));

hookContainer := Factory.CreateHookContainer(hookPlaylist);
hookContainer.SetTitle('Next Music');
Playlist(1).Insert(Playlist(1).GetCount, hookContainer);

Additional information: I tried with a normal “container” with the opener added manually and 1 track after… and cue markers are well used by the container.

Regards,

Sylvain

Ok, so this issue is due to the same origin as the one I told in this other topic : Automatic Hook Container doesn't use cue points

Whatever it’s created by scripts or by clock template or manually, it will work only if you use MMD files (at the moment).

Maybe truth is elsewhere and maybe it’s a bug : I let Torben see what it’s about.
So, you can use MMD files if you want it to work correctly for now (reminder : result got with a 7.3.6 build 5650 version)