raul1st2002 Posted September 22, 2016 Report Share Posted September 22, 2016 Hi, It would be great if connect has a function to reload actions without relaunching. Thank you! Link to comment Share on other sites More sharing options...
Mattias Lagergren Posted September 22, 2016 Report Share Posted September 22, 2016 4 hours ago, raul1st2002 said: It would be great if connect has a function to reload actions without relaunching. You mean searching the FTRACK_CONNECT_PLUGIN_PATH and FTRACK_EVENT_PLUGIN_PATH again an register any new actions? Or would you want it to call register on plugins that are already loaded? The later could lead to some difficulties since event listeners and other custom initialisation has already been done. Link to comment Share on other sites More sharing options...
tokejepsen Posted September 22, 2016 Report Share Posted September 22, 2016 4 hours ago, raul1st2002 said: It would be great if connect has a function to reload actions without relaunching. Is this to be able to debug actions quickly? I tend to make the actions runnable on its own so you can quickly debug a single action without having to worry about restarting ftrack-connect. https://github.com/tokejepsen/ftrack-hooks/blob/master/ftrack_connect_hooks/hook/djvview.py Link to comment Share on other sites More sharing options...
raul1st2002 Posted September 22, 2016 Author Report Share Posted September 22, 2016 Hi Mattias, I mean searching the paths and registering actions. It's helpful for debugging. Link to comment Share on other sites More sharing options...
raul1st2002 Posted September 22, 2016 Author Report Share Posted September 22, 2016 1 hour ago, tokejepsen said: Is this to be able to debug actions quickly? I tend to make the actions runnable on its own so you can quickly debug a single action without having to worry about restarting ftrack-connect. https://github.com/tokejepsen/ftrack-hooks/blob/master/ftrack_connect_hooks/hook/djvview.py Hi Toke, Thank you for sharing this! I've been already using this method. But before I release the action, I still want to make some tests with connect to ensure everything works properly for the artists. Link to comment Share on other sites More sharing options...
Remus Avram Posted September 22, 2016 Report Share Posted September 22, 2016 Hi, I was looking for this, too. For us it would be awesome if we could call register on plugins that are already loaded. Artists never reboot their computers, never relaunch ftrack-connect. We are updating our actions quite frequently, and it's getting annoying to notify the artists to relaunch ftrack-connect all the time. Also it would be nice to have it automatically, one per day ftrack-connect relaunches all the actions. In this case everything will go smooth. Link to comment Share on other sites More sharing options...
Martin Pengelly-Phillips Posted September 28, 2016 Report Share Posted September 28, 2016 Could be tricky to ensure a clean process space for already loaded libraries. Perhaps add an event listener to ftrack-connect that relaunches it when a special event received? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.