Jump to content

subscribe to events from certain project only


Fernando

Recommended Posts

Hello,

I am currently subscribing to update events using

session,event_hub.subscribe('topic=ftrack.update', handle_event)

and I would like to only subscribe to events coming from a certain project, instead of receiving all ftrack update events. Is this possible?
Is there somewhere where there is more information on the "topic" variable?

Cheers,
Fernando

Link to comment
Share on other sites

  • 4 weeks later...

Hi Fernando,

The documentation on handling ftrack events can be found here:

https://ftrack-python-api.readthedocs.io/en/stable/handling_events.html#subscribing-to-events
https://help.ftrack.com/en/articles/1040479-events

Currently, the subscription can't specify any filtering on record data. That needs to be handled by your callback.

Regards,
Patrick

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...