Using python I am attempting to access the start frame of a piece of media immediately after adding it to a session with a piece of code like this:
file_source = rvc.addSourceVerbose(sources) source_start = rvc.sourceMediaInfo(file_source).get("startFrame")
If I run these two lines of code separately it works as excepted. If I run them together the start frame always returns
1. In fact, all of the metadata returned by
sourceMediaInfo appears to be set to its default values.
I assume that, when the lines are run together, some evaluation step is delayed so that the metadata is not yet populated when I access it. Is there some command I can use to force RV to do this evaluation? Or some other solution to this issue?