Remus Avram Posted September 7, 2016 Report Share Posted September 7, 2016 Hi all, We would like to launch applications through ftrack web interface (actions) using ftrack-connect. If only me launch ftrack-connect, everybody else can already use all the actions available. If others launch an application, then the application will launch on my computer in my session. If another user launch ftrack-connect and start an application, then the application will start on all computers which have ftrack-connect app running. Also, the application will show up in the Action UI as many times as the number of computers running ftrack-connect. I also checked this thread: Unfortunately, it worked if I launch the application through "Ftrack-Connect" UI, but not through Ftrack Web interface. Thanks for your support! Link to comment Share on other sites More sharing options...
Mattias Lagergren Posted September 8, 2016 Report Share Posted September 8, 2016 Hi Remus, It sounds like you should be listening only to a specific user when discovering and launching the events. I.e. the user logged into ftrack web interface = the user logged into Connect. In Connect Nuke integration we do it like this for discover and launch (legacy api): ftrack.EVENT_HUB.subscribe( 'topic=ftrack.action.discover and source.user.username={0}'.format( getpass.getuser() ), self.discover ) ftrack.EVENT_HUB.subscribe( 'topic=ftrack.action.launch and source.user.username={0} ' 'and data.actionIdentifier={1}'.format( getpass.getuser(), self.identifier ), self.launch ) Link to comment Share on other sites More sharing options...
Remus Avram Posted September 8, 2016 Author Report Share Posted September 8, 2016 Hi Mattias, thanks for your answer! It make sens. Works like that! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.