Jump to content

Andriy Babak

  • Content Count

  • Joined

  • Last visited

About Andriy Babak

  • Rank
  • Birthday 09/29/1974

Profile Information

  • Gender
  • Interests

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Can you please elaborate on what can go wrong when changing project schema with the API?
  2. I'd like to add that if you use location plugins (or some other non-application plugins), you'll need to register them for these sessions as well. And this is very inconvenient: the logging is doubled, you need to control which hook paths to include. I hope, some day the sessions will be thread-safe
  3. Hi Steve, Thank you, it was my stupid mistake. Now the messages are delivered fine and I've been able to launch an application using 'ftrack.action.launch'. Cheers, Andriy
  4. Hi, I need to send an application launch event to a running ftrack connect of current user. I tried many options but the events just go to nowhere. As I started to test the event system I came across the "send_message_to_user" code from the "ftrack-recipes" that looked like a good start. Unfortunately, this code shows exactly the same: the evnts are sent but never received. I've double checked that the session.api_user is the same and the connection is established to the same server. I tried to switch the 'synchronous' option but that didn't change anything. Here's my test code
  5. 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
  6. 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
  7. 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 yo
  8. 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
  9. Actually, I've been able to fix this by inspecting the "make_non_encoding_web_playable.py" 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.
  10. 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
  • Create New...