There are the following commands:
create sequence editor
bpy.context.scene.sequence_editor_create()
add strip (name, filepath, channel, frame_start)
bpy.context.scene.sequence_editor.sequences.new_image("coolName", "path/db.png", 4, 1)
Until now I have created a sequence on channel 4, starting at frame 1 like in the following picture:
I want to control the starting frame of the slider and the ending frame of this strip. How can I achieve this using blender script?