# How to Add Timeline Marker via Python?

I'd like to add a Timeline Marker via python script. How can I do it?

Using bpy.ops.clip.add_marker() requires me to have the context for command, so I'd prefer something like

marker = timelinemarker.new()


import bpy