tokejepsen Posted November 2, 2015 Report Share Posted November 2, 2015 Is this the best way to subscribe to project specific events?import ftrack_apidef my_callback(event): '''Event callback printing all new or updated entities.''' if 'PROJECT_ID' in event['data']['parents']: print event# Subscribe to events with the update topic.session = ftrack_api.Session()session.event_hub.subscribe('topic=ftrack.update', my_callback)session.event_hub.wait()Or can you filter directly to the events in the "topic"? Link to comment Share on other sites More sharing options...
tokejepsen Posted November 3, 2015 Author Report Share Posted November 3, 2015 Got this from Mattias Currently you can Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.