Snippets

ftrack Action - Edit meta data on entity

Updated by Lucas Correia

File edit_meta_data_action.py Modified

  • Ignore whitespace
  • Hide word diff
         }
 
 
+def register(registry, **kw):
+    '''Register action. Called when used as an event plugin.'''
+    logger = logging.getLogger(
+        'ftrack.edit.meta.data'
+    )
+
+    # Validate that registry is an instance of ftrack.Registry. If not,
+    # assume that register is being called from a new or incompatible API and
+    # return without doing anything.
+    if not isinstance(registry, ftrack.Registry):
+        logger.debug(
+            'Not subscribing plugin as passed argument {0!r} is not an '
+            'ftrack.Registry instance.'.format(registry)
+        )
+        return
+
+
 def main(arguments=None):
     '''Set up logging and register action.'''
     if arguments is None:
Updated by Former user

File README.rst Modified

  • Ignore whitespace
  • Hide word diff
 ============
 
 * Project
-* Episode
-* Sequence
-* Shot
-* Task
+* Tasks (including encapsulating folders such as shots)
 * Version
 
 Running the action
Updated by Former user

File README.rst Modified

  • Ignore whitespace
  • Hide word diff
 Edit meta data on entity
 ************************
 
+Using this action it is possible to edit and update meta data from the web interface.
+
+Using the action
+================
+
+Navigate to a project in the web interface and select an entity in the spreadsheet and select Actions from the context menu.
+Click on `Edit metadata`.
+
+In the window you will be presented with all available metadata on the entity and the possiblity to edit it. Edit a value and
+click submit. Once the data is persisted the window will display again with the updated values.
+
+
+Available on
+============
+
+* Project
+* Episode
+* Sequence
+* Shot
+* Task
+* Version
+
 Running the action
 ==================
 
Updated by Former user

File edit_meta_data_action.py Modified

  • Ignore whitespace
  • Hide word diff
 # :coding: utf-8
 # :copyright: Copyright (c) 2015 ftrack
+
 import sys
 import argparse
 import logging
Updated by Former user

File README.rst Modified

  • Ignore whitespace
  • Hide word diff
 
 For more information, see the 
 `documentation on using actions <http://ftrack.rtd.ftrack.com/en/latest/using/actions.html>`_.
-
-Using the action
-================
-
-Navigate to a project in the web interface and select a few items
-in the spreadsheet and select `Actions` from the context menu. Click 
-on `Write notes` and add your text and optionally select a note
-category.
-
-Notes created are copies, and any replies will only show up on one of the notes.
  1. 1
  2. 2
  3. 3
HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.