Hi,
I have a script that loads a 24hr playlist, placing it in the 00:00 - 01:00 hour of each day. It loads it in the GUI with the line :-
PlayList(0).Assign(SchedulePlayList); // where “SchedulePlayList” is an IPlayList variable.
This works, but with one problem. We require that all containers in the playlist start in the “Expanded” mode so we can see the actual content - but they don’t.
The GUI Playlist is set in the Config utility to “Expand Containers by Default”, which it does, but only if a Playlist is loaded via the mAirList GUI - by loading from a file, accessing the database in the Browser, or via the Windows clipboard. Any loading I’ve tried via the script starts with the containers “collapsed”, so the little arrow buttons need a click to show the content.
Apart from the Assign method, I’ve also tried AssignCopy, Append, InsertList, and LoadFromFile.
Curiously, if the collapsed Playlist is fully selected, “Cut” to the clipboard, then pasted back (i.e CTRL A/X/V) it does re-appeared expanded.
So - is there any way the Playlist can be made to “Expand” via the script?
Thanks,
Greg