[Bf-python] Timeline.marks
Toni Alatalo
antont at kyperjokki.fi
Thu Oct 27 15:25:15 CEST 2005
On Wednesday 26 October 2005 15:23, Toni Alatalo wrote:
> marks = [(frame, name) for frame, name in tl.iteritems()
> if name[:len(prefix)] == prefix]
this is still flawed: there can be several markers at the same time. currently
the API returns only one per frame.
so perhaps it should return a dict where framenums are mapped to lists of
markers/names?
internally it is the other way around, that there is just a list of markers
which have framenums assigned, but perhaps this way is better for the api..?
~Toni
More information about the Bf-python
mailing list