Project Path from Director Plugin

Q and A about functionality and how to solve a special task for your application.

Moderator: Support

Post Reply
User avatar
Robert
Posts: 295
Joined: 21 Jan 2012, 09:25
Location: Toulouse - France
Contact:

Project Path from Director Plugin

Post by Robert » 13 Feb 2019, 11:24

Hi,

Since Ventuz X it is not possible to get the ProjectPath anymore using IDirectorShow.

Do you have a sample code to get the project path using maybe the VMSConfig or something else ?

Regards,

Robert

User avatar
Robert
Posts: 295
Joined: 21 Jan 2012, 09:25
Location: Toulouse - France
Contact:

Re: Project Path from Director Plugin

Post by Robert » 14 Feb 2019, 11:20

Any ideas ?

User avatar
Karol
Posts: 568
Joined: 10 Jan 2012, 12:07

Re: Project Path from Director Plugin

Post by Karol » 15 Feb 2019, 10:19

Hi Robert,

We removed this property for a cleanup of our internal URI handling and forgot a replacement.
You need to work around this with the Remoting4 API. You could e.g. use Ventuz.Remoting4.MachineService.VMS2.Client which has the GetProjectsDetailed() method. The returned items contain the Project Guid and its path. Now you have to compare IProjectInfo.ID of your show with the array entries...

Best Regards
Karol

User avatar
Robert
Posts: 295
Joined: 21 Jan 2012, 09:25
Location: Toulouse - France
Contact:

Re: Project Path from Director Plugin

Post by Robert » 18 Feb 2019, 10:26

Hi Karol,

Thank you. I will do that.

Regards,

Rob

Post Reply