tokejepsen Posted July 3, 2015 Report Share Posted July 3, 2015 Have this action in production so, thought I would share with the community. https://gist.github.com/tokejepsen/77d02d8f2f09e27de08b Link to comment Share on other sites More sharing options...
tokejepsen Posted February 24, 2017 Author Report Share Posted February 24, 2017 I have recently updated the DJV View action to be more flexible in other pipelines; https://github.com/tokejepsen/ftrack-hooks/tree/master/djv_plugin You can now specify what files are available for the user to choose from. Link to comment Share on other sites More sharing options...
Rory Posted May 4, 2018 Report Share Posted May 4, 2018 Hi, I am trying to implement this plugin, but can't seem to get a list of files to pick from ? Should it show a list of components attached to the task ? Thanks, Rory Link to comment Share on other sites More sharing options...
Rory Posted May 4, 2018 Report Share Posted May 4, 2018 Got it to work - Thanks Link to comment Share on other sites More sharing options...
tokejepsen Posted May 4, 2018 Author Report Share Posted May 4, 2018 14 minutes ago, Rory said: Got it to work - Thanks Cool Let me know if you have any issues. Link to comment Share on other sites More sharing options...
Rory Posted May 4, 2018 Report Share Posted May 4, 2018 Thanks, I added ftrack.EVENT_HUB.subscribe( "topic=djvview.launch", modify_launch) to the register method or should it be in the launch method ? Link to comment Share on other sites More sharing options...
tokejepsen Posted May 4, 2018 Author Report Share Posted May 4, 2018 14 minutes ago, Rory said: Thanks, I added ftrack.EVENT_HUB.subscribe( "topic=djvview.launch", modify_launch) to the register method or should it be in the launch method ? Do you mean you added that to https://github.com/tokejepsen/ftrack-hooks/blob/master/djv_plugin/resource/hook/djvview.py ? Link to comment Share on other sites More sharing options...
Rory Posted May 4, 2018 Report Share Posted May 4, 2018 Yes - sorry and also added the modify_launch method from the readme. Link to comment Share on other sites More sharing options...
tokejepsen Posted May 4, 2018 Author Report Share Posted May 4, 2018 5 minutes ago, Rory said: Yes - sorry and also added the modify_launch method from the readme. Ahh, I see. Yeah, you can do that. You can also have a separate python script in the same folder as "djvview.py", which contains "modify_launch ". Which might make it easier to update "djvview.py" in the future. Or have a completely separate folder with "modify_launch " which is added to FTRACK_CONNECT_PLUGIN_PATH. This way is probably better if you are working with git. Link to comment Share on other sites More sharing options...
Rory Posted May 4, 2018 Report Share Posted May 4, 2018 Got it, Thanks - Works great! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.