Module Expr Str Import alias Import alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Expr Str Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Pass decorator_list FunctionDef arguments args defaults body Expr Str Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Str Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Str Pass decorator_list Assign NameStore NameLoad Assign NameStore NameLoad decorator_list
N/A N/A 
Used by Maya's EDL Import/Export feature.
Subclasses must return dictionaries with the appropriate data

Should log errors of the following types:
error = something we cannot recover from
 N/A logging N/A os Translator N/A object N/A __init__ N/A N/A self fileName N/A N/A N/A 
        self.fileName   = name of EDL file to be used for input or output
        self.logger             = logging interface to capture errors/warnings. Modules
                                          that use Translator should register their handlers
                                          with this logger.
         N/A N/A getClip N/A N/A self clip_elem N/A N/A N/A 
        Given a clip element (which is returned b getTrack), return a dictionary
        with the following information:
        id                      = id of the clip. Will be used for linking
        name            = name of the clip
        duration        = in frames
        enabled         = true/false
        start/end       = defines placement of clip in the sequence
        in/out          = define start/end frames of the clip in source media
        file            = file sub element. Use getFile method to read contents
         N/A N/A getFile N/A N/A self file_elem N/A N/A N/A 
        Given a file element (returned by getClip), return a dictionary with the 
        following information:
        
        id                      = id of the clip. Can be used to reference a file that's 
                                  already been defined somewhere else
        name            = name of file
        pathurl         = path to file (i.e. file:///)
         N/A N/A getSequence N/A N/A N/A N/A N/A 
        Read the sequence information from an EDL file.
        Assumes readFromFile has already been called
        
        Returns dictionary containing the following:
        
        name                    = name of the sequence
        duration                = duration in frames
        framerate               = in frames per second
        video_tracks    = list of video track sub elements. Use getTrack to
                                          read the contents
        audio_tracks    = list of audio track SubElements. use getTrack to
                                          read the contents
         N/A N/A getTimecode N/A N/A self timecode_elem N/A N/A N/A 
        Given a timecode sub element (which is returned by getSequence or getClip or getFile),
        return the following information:
        
        framerate       = in frames per second
        format          = type of timecode. ex: "smpte"
         N/A N/A getTrack N/A N/A self track_elem N/A N/A N/A 
        Given a track element (which is returned by getSequence), read the
        relevant track information.
        
        Returns dictionary containing the following:
        
        locked          = true/false
        enabled         = true/false
        width           = width in pixels (if specified)
        height          = height in pixels (if specified)
        
        clip_list       = list of clipitem sub elements that are a part of this track.
                                  To read data from the clips, use getClip
         N/A N/A readFromFile N/A N/A self N/A N/A N/A 
        Read the EDL file from disk into memory.
         N/A N/A writeToFile N/A N/A self N/A N/A N/A 
        Write the in-memory EDL to disk
         N/A N/A N/A __dict__ None N/A __weakref__ None N/A