Page 1 of 1

DragDrop Data

Posted: 24 Nov 2014, 13:00
by mofo7777
Hello.

Inside the director, a Template element can be drag&Drop inside the playlist.
DragDrop.jpg
Is it possible to get the data Inside a director plugin ?

In DragEnter, GetFormats() give me 5 values (FileDrop, FileNameW, FileName, AssetListDataFormat, DirectorDragDropDataContext). The type of these values are not defined in Ventuz.Director.Shared.

Thank you.

Re: DragDrop Data

Posted: 24 Nov 2014, 14:56
by mofo7777
Hello.

Now i can get value for FileDrop, FileNameW, FileName. Not for AssetListDataFormat and DirectorDragDropDataContext. I don't know if this two values would be usefull.

Re: DragDrop Data

Posted: 02 Dec 2014, 15:37
by mofo7777
Hello.

I think i can use data from FileDrop wich contains things like this : ventuz://pages/LineChart_20130805_185454.vpg or ventuz://templates/template\Linechart/Linechart/Linechart.

Also perhaps i can use this.plugin.Application.Show.Templates.GetTemplates() to retrieve data associated with the corresponding FileDrop (by name or .vpg file data perhaps).

For now i face a problem with channels, here is the configuration of the show :
Cluster.jpg
There is 3 channels but :

Code: Select all

this.plugin.Application.Show.Channels.Count
only returns 1 channel. Any idea ?

Re: DragDrop Data

Posted: 02 Dec 2014, 19:02
by mofo7777
Re.

Regarding channel count, problem solved. The Director needs to be configured to be able to use the 3 channels.