initial import
from rv import commands
from rv import extra_commands
Get all of the sources that are available at a specific frame
sources = commands.sourcesAtFrame(frame)
Get metadata info
print commands.sourceMediaInfo(sources[0])
print commands.sourceAttributes(“RVFileSource”)
Get file names
fileNames = commands.getStringProperty(“%s.media.movie” % sources[0], 0, 1000)
fileName = fileNames[0]
Get annotated frames
frames = extra_commands.findAnnotatedFrames()
Set Stack view to be default
commands.setViewNode(‘defaultStack’)