I feel like I’m missing something obvious, yet again, but I can’t seem to get the cached status of a segment when going over a sequence.
def extract_segment_info(segment):
if segment.name != '':
name = segment.name
path = segment.file_path
duration = segment.source_duration.frame
''' Cached not working '''
cached = segment.cached
So clearly the attribute does not exist like it does when you’re looking into a clip where the attribute is set. I can’t quite seem to figure out how to get that value…there must be a way.
Any breadcrumbs one can offer? I find the hierarchy of things to be confusing and how the method of getting certain information changes depending on what something is or where you’re looking at it from.
Thanks.