plugorgau / bbb-render

Scripts to convert a BigBlueButton recording into a single video file
MIT License
64 stars 26 forks source link

IntervalTree doesn't like when start and end are the same. #13

Open aukondk opened 3 years ago

aukondk commented 3 years ago

I'm trying out a big batch of videos and found some that call t.addi(start, end, [(index, shape)]) where start and end are the same value.

ValueError: IntervalTree: Null Interval objects not allowed in IntervalTree: Interval(3045100000000, 3045100000000, [(30, <Element '{http://www.w3.org/2000/svg}g' at 0x7ff8042cff90>)])

I've tired to solve it on mine by just adding a "if start == end: continue" just before but I'm not sure if that's a good fix. Some of these take a very long time to process.