Andriy Babak

  • Content Count

  • Joined

  • Last visited

About Andriy Babak

  • Rank
  • Birthday 09/29/1974

Profile Information

  • Gender
  • Interests
  1. Hi Steve, Thank you, this works! Is it documented somewhere? Are there any ways to see this actual data and its type? If this is a string, how does it look like? What if I want to search just for names of the links? For example, to find all the names equal to "Shots" but not to match "Other Shots". Thank you. Andriy
  2. Is it possible to query the server asynchronously with the ability to cancel the (possibly) long-running query before it's done? Say I initiate a search but then the user corrects the query string and I want to be able to cancel the running query and restart the new search immediately. Thank you. Andriy
  3. Hi, I'd like to get the AssetVersion objects which belong to some TypedContext. The same way as the web interface shows the versions belonging to some tasks of a shot. When printing out the AssetVersion members, I see there's a list of "link" items with all the path entities up to the root project in the form of {"id", "type", "name"}. This looked very promising so I've created a query: query = "select id from AssetVersion where link any (id is {})".format(entity_id) But this returns an error: I tried a million of other variations but none of them worked either. Can you suggest soemthing? Thanks. Andriy
  4. Yet another short question. I believe for this kind of plugin it makes sense to turn it into a separate script that runs on a dedicated server rather than using it as a plugin on client nodes? How do you usually deal with this situation? Thanks
  5. Actually, I've been able to fix this by inspecting the "" example. On more question though. When the "ftrack.location.component-added" event is fired up, the event['data'] contains either "component_id" and "location_id" (when the client uses the new ftrack connect) or "componentId" and "locationId" (when the client uses the old one). So I need to check both. Is it an expected behavior? Thanks.
  6. Hi, I am currently trying to automatically get web-playable movies when publishing the sequnces of frames. I'd like to discuss whether it's an optimal way of doing this and to ask some questions. I am registering for "ftrack.location.component-added" event, get the location and the component, check if a component's "system_type" is "sequence", ask the location to provide a file system path to frames, create a movie from these frames and fire up the "ftrack.connect.publish.make-web-playable" event providing the version id and the movie file path. The movie is generated fine, the event is published but nothing new is added to my version, the movie is not there. If I try to publish these frames together with this movie manually (by selecting the movie as web-playable in the ftrack connect), everything works as expected. Any suggestions? Thank you. Regards, Andriy