Add image sequence

Hi,

I’m trying to add a image sequnce to the VSE and I’m using:

bpy.ops.sequencer.image_strip_add(

However I can’t figure out what the files=[] section is, is it to select the files you want in the strip and if so how do you use it?

Thanks
Tom

I couldn’t get that to work, I got the error message “CollectionProperty not defined”, however this worked:


file=[]
 
for i in os.listdir(path):
    frame={"name":i}
    file.append(frame)
    print(frame)

Thanks
Tom